I have a jQuery image slider on the header section of my website that displays images periodically in an automated sliding motion. Now the problem is when you load the page for the 1st time(nothing is cached), it loads all the images in the slider at once and it aligns the images one on top of the other on the webpage(one div on top of another), so you see all the images at once the moment the page loads. It doesn’t look very professional. Is there maybe a onpageload() function of sorts that can prevent all the images from showing at once or that can load them first in the background before showing them? This is especially a problem with lower internet speeds…My website: http://v4m.mobi
Thank you!
Give your images a style of
display:noneorvisibility:hiddenand then change their styles back todisplay:[block/inline/etc]orvisibility:visibleon$(window).load().