Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6983823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:28:11+00:00 2026-05-27T18:28:11+00:00

If anyone knows the slider on the mac app store then this is what

  • 0

If anyone knows the slider on the mac app store then this is what I have recreated. Three problems though.

  • There seams to be an animation delay between the slider on the right and that on the main fader
  • The insertAfter function is doing nothing
  • The slider is not on an infinite loop

I have set up a fiddle for testing if anyone can solve it. http://jsfiddle.net/Z5uER/2/

$(document).ready(function(){

    $('.sismain a').css('opacity', 0);

    var slideqnt = $('.sismain a').length;
    var slidecur = 0;
    var slidelay = 0;
    var slidemove = 0;
        $('.sismain a').each(function(){
            $(this).delay(slidelay).animate({opacity: 1,  leaveTransforms:true}, {duration:2000, queue:true});
            slidemove -=167;
            $('.siscolin').delay(slidelay - 2000).animate({top: slidemove,  leaveTransforms:true}, {duration:2000, queue:true});
            slidelay += 6000;
            $('.siscolin a:first').insertAfter('.siscolin a:last');
            $(this).delay(slidelay).animate({opacity: 0,  leaveTransforms:true}, {duration:2000, queue:true});
        });
});
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:28:12+00:00Added an answer on May 27, 2026 at 6:28 pm

    I created a similar functionality. Maybe I’m going to write a plugin for this.

    Be sure to set all the dimensions of your div’s to the right values (and also the absolute positioning within the script):

    HTML

    <div class="slider">
        <div class="slides">
            <div><img src="http://dummyimage.com/180x90/000/fff" /></div>
            <div><img src="http://dummyimage.com/180x90/f00/fff" /></div>
            <div><img src="http://dummyimage.com/180x90/0f0/fff" /></div>
            <div><img src="http://dummyimage.com/180x90/00f/fff" /></div>
            <div><img src="http://dummyimage.com/180x90/f0f/fff" /></div>
        </div>
        <div class="thumbs">
            <div><img src="http://dummyimage.com/60x30/000/fff" /></div>
            <div><img src="http://dummyimage.com/60x30/f00/fff" /></div>
            <div><img src="http://dummyimage.com/60x30/0f0/fff" /></div>
            <div><img src="http://dummyimage.com/60x30/00f/fff" /></div>
            <div><img src="http://dummyimage.com/60x30/f0f/fff" /></div>
        </div>
    </div>
    <a id="pause" href="#">pause</a>
    

    CSS

    body {
        margin: 20px;
    }
    .slider {
        position: relative;
        width: 240px;
        height: 90px;
        overflow: hidden;
    }
    .slides div {
        position: absolute;
        top: 0;
        left: 0;
        width: 180px;
        height: 90px;
        z-index: 1;
        display: none;
    }
    .slides div.first-child {
        z-index: 2;
    }
    .thumbs {
        position: absolute;
        width: 60px;
        height: 90px;
        right: 0;
        top: 0;
    }
    .thumbs div {
        width: 60px;
        height: 30px;
        background-color: #f00;
        position: absolute;
        top: 0;
        right: 0;
    }
    #pause {
        background-color: #888;
        color: #fff;
        font-weight: bold;
        text-decoration: none;
        font-family: Arial;
        border: 1px solid #000;
        padding: 10px;
        margin-top: 20px;
        display: inline-block;
    }
    

    JavaScript

    var intval = "";
    var numberOfSlides = $('.slides > div').length;
    var counter = 0;
    var thumbs = $('.thumbs div').toArray();
    
    $('.slides div:eq(0)').addClass('first-child');
    
    $(thumbs).each(function(i,el){
        $(this).css({top: 90-(i*30+30) + 'px'});
    });
    
    var doShit = function() {
        if(counter == 0) {
            $('.slides div').eq((numberOfSlides-1)).fadeOut('fast');
        }
        else {
            $('.slides div').eq((counter-1)).fadeOut('fast');
        }
    
        $(thumbs).each(function(i,el){
            $(this).animate({top: '+=30'}, 1000, function(){
                if(i==0) {
                    $(this).css({'top': '-60px'});
                                thumbs.push(thumbs.shift());
                }
            });
        });
    
        $('.slides div').eq(counter).fadeIn('fast');
    
        if(counter < (numberOfSlides-1)) {
            counter++;
        }
        else {
            counter=0;
        }
    };
    
    var start_Int = function() {
        if(intval==""){
            intval=window.setInterval(function() { doShit(); },2000);
        } else {
            stop_Int();
        }
    };
    
    var stop_Int = function() {
        if(intval!="") {
            window.clearInterval(intval);
            intval="";
        }
    };
    
    start_Int();
    

    Fiddle: http://jsfiddle.net/dirkpennings/kf3v8/1/

    I hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Anyone knows a good way to use http live streaming tools on non-Mac platforms?
Anyone knows of some good Unicode tutorials with examples in C? I have to
i've been stuck in this loop for a while. Basically i have a slider
Does anyone know of a jquery slider that looks and functions like this one?
Hello can anyone help? I am using this full page slider.. http://www.musca.se/full-window-width-jquery-tools-content-slider-demo/ However i
Does anyone know if there is a slider bar in gwt? I only found
Anyone knows why my sql query doesn't work after using a try catch function?
Anyone knows the equivalent of a label control in an android device? Text box
Anyone knows how to perform such query in Postgresql? SELECT * FROM tabA WHERE
Anyone knows a simple JavaScript library implementing the UNZIP algorithm? No disk-file access, only

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.