I need to show a div (e.g. #mybox) in 10secs after page load, keep it visible for another 10 secs and then hide with a nice sliding in/out effects.
Thanks a lot for
Perhaps you can try something like this.
setTimeout(show_div, 10000); setTimeout(hide_div, 20000); funciton show_div(){ $('#mybox').show(); } funciton hide_div(){ $('#mybox').hide(); }