Show image very slowly ... after page is completely loaded....
That is ,
fade in Effect for the image, but this image should show very slowly page load is completed....
Show image very slowly ... after page is completely loaded....
That is ,
fade in Effect for the image, but this image should show very slowly page load is completed....
Assuming you meant onload (all assets have downloaded) and not DOMReady (the page itself is ready to go):
$(window).load(function () {
$('img').fadeIn(10000); // 10 seconds
});
Code untested. Don't forget to set images to have an opacity of 0 in your CSS when you start.
alternative approach to @Matchu's, still need the css opacity set to 0
$(document).ready(function () {
$('img').show(10000); // 10 seconds
});
EDIT: this will also animate the hight and width, in addition to the opacity.