jQuery Plugin To Set Image Load Order - imageloadPriority
File Size: | 4.94 KB |
---|---|
Views Total: | 1263 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |

imageloadPriority is a jQuery image loading plugin that allows you to customize the load priority of images within the document.
How to use it:
1. Load the jQuery imageloadPriority plugin after jQuery library and you're ready to go.
<script src="//code.jquery.com/jquery.min.js"></script> <script src="imageloaderPriority.js"></script>
2. Set the the load priority of images using CSS classes as these:
<img src="1.jpg" class="ilp-first"> <img src="2.jpg" class="ilp-second"> <img src="3.jpg" class="ilp-third">
This awesome jQuery plugin is developed by Schavras. For more Advanced Usages, please check the demo page or visit the official website.