I am developing an eshop .At products page based on category i putted some javascript based filtering. However a problem arises if a category has a lot of products. This lin
I wrote the following code for my own site. I used JQuery: 1. Name all classes, where U want lazy loading by the same name, say "async" 2. Copy the real image location from 'src' to 'alt' attribute 3. After finishing page loading my script will copy all 'alt' values into 'src' Look at example. This is full working sample html:
You can feel the speed in real site, where I used it http://virtual-doctor.net/