[jQuery] Image loading
Posted: Tue Sep 29, 2009 12:39 pm
Hi all,
I have this code in jquery which loads the image from php file :
But the problem is that when I click the anchor first time, than the foto is loading from the top to bottom just like in the ordinary html page, and I want to hide the process of loading image from the user and show the image when the foto will load, can u tell me how can I achive it in jquery ?
I have this code in jquery which loads the image from php file :
Code: Select all
$('a[href="aktualnosci.php"]').click(function(){ $('#foto').load('gallery.php', {'dir':"glowna", 'kategory':"glowna", 'gallery':'no'}, function() { //$(this).hide().fadeIn(100); });});