This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @name lazyImageLoader | |
| * @description A quick implementation of a lazy loading technique for images. | |
| * @returns object {"load": load} (see below) | |
| * | |
| * @param $imageList jquery selector List of images | |
| * @param options object Configuration options | |
| * - "queue_size" the size of the "queue" you'd like to load when loader.load() is called | |
| * - "data_attr" the name of the data-attribute on your image tag; ex: "<img data-src="http://placehold.it/10x10 />" | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; create new file | |
| ; installation: | |
| ; 1. you must be running autohotkey: http://www.autohotkey.com | |
| ; 2. double click on script to run | |
| ; [pro-tip] add this script to your startup folder to run when windows start | |
| ; [pro-top] you can add this script to another .ahk script file. | |
| ; hotkey is set to control + alt + n | |
| ; more on hotkeys: http://www.autohotkey.com/docs/Hotkeys.htm |
NewerOlder