![]() |
|
||||||||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||
|
|
#1 |
|
WLC Lover
Join Date: Mar 2012
Posts: 53
|
Hi,
well I am using lazyload here http://bloghutsbeta.blogspot.com/201...ting-2_04.html the lazyload is used as a combination with the quicksand jquery. And as quicksand requires a callback so a callback function for lazyload is also added to the quicksand (as if you click buttons like Bicycle, Motorcycle etc, then quicksand requires callback function) here is the callback function: Code:
$("img").lazyload({
effect : "fadeIn"
});
});
*Please don't tell me to use other jquery instead of lazyload or quicksand as that is not an option for me* |
|
|
|
|
|
#2 |
|
Banned
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
|
Actually I'd tell you not to use any of them.
|
|
|
|
|
|
#3 |
|
WLC Lover
Join Date: Mar 2012
Posts: 53
|
|
|
|
|
|
|
#4 |
|
Banned
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
|
Because the image loading has been handled in the browser context by javascript, the browser image handler may not "know" about them in the cache.
Instantiated javascript objects are (or should be) destroyed after use to prevent the "heap" from using memory that has been released and dragging down the browser, once they are destroyed, anything that was referenced by the object is also lost, so the images and their "local" location is lost to the browser context. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
Linear Mode |
|
|