2
Contributors
7
Replies
47
Views
4 Months
Discussion Span
Last Post by SimonIoa
0

How do you want to show that 'foreground' which I assume you mean an overlay. On page load, on click or any other event?

0

On page load and to close on user request. An X tha it is. Thanks gentlemedia

0

Ok, now in that overlay i want to put a slider from top to bottom that has 4 slides - 4 divs. I didnt find anything online. Any link gentlemedia? You are a saver!

0

I want to add one last thing.

On this script i want the last slider to remain until the next one comes from the top?

 var delay = 3000,
        fade = 1000;
    var banners = $('.banner');
    var len = banners.length;
    var i = 0;
    setTimeout(cycle, delay);

 function cycle() {
    $(banners[i%len]).slideUp(fade, function() {
        $(banners[++i%len]).slideDown(fade, function() {
            setTimeout(cycle, delay);   
        });
    });
}

Edited by SimonIoa

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.