
commercializzazione
AppleByte Tags
apples world apple template apple webdevelopers apple webmaster Apple Website Developer apple wordpress Apple Workplace Beyond Apple CSS CSS Templates design Design and Web Arts desktop entertainment flash games chitchat geek Harry Potter health html inspiration iTouch Joomla jquery miracle motivation movie music outreach philippine photos PSD Template techky web arts Wordpress Templates
Apple Website Developer
Load Function of Jquery
Comments Off | Print This Article | Email This Article
I have encountered a bug on ie8, a css navigation to fadein once the flash was loaded. I have used the geturl function, the css navigation second level wasnt properly working.
Then, I google the on load function and other possibilities to load the navigation. Jquery have already load function that very useful. The load method is the simplest way to fetch data from the server.
Example 1: Load once the flash element was loaded or the whole html loaded.
$(document).ready(function(){
$(window).load( function () {
$(‘#myLoad’).fadeTo(0, 1);
})
.end();
});
Example 2: As preloader
$(document).ready(function(){
$(window).load( function () {
$(“#preloader”).fadeOut(2000); THE PRELOADER
$(“#image_container”).fadeIn(3000); THE IMAGES
});
})
.end();
});
Popularity: 12% [?]






