Hello i want a script that shows various text content in the foreground and closes witn an X and shows the original page. Any suggestions?

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

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

Thanks thats exactly what i wanted.

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!

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);   
        });
    });
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.