Hey, be lazy! bLazy.JS is a lightweight pure JavaScript script for lazy loading and multi-serving images. It's working in all modern browsers including IE7+.
The changes let me now load script-tags dynamically, when a defined parent element is shown in the viewport. You can also omit the parent id, in that case the real parent is used to load the script.
Following example shows the usage with google-maps:
The changes let me now load script-tags dynamically, when a defined parent element is shown in the viewport. You can also omit the parent id, in that case the real parent is used to load the script.
Following example shows the usage with google-maps: