Postload is a project mainly written in JavaScript, it's free.
Prioritize/schedule web page asset loading in Javascript.
$ git clone [email protected]:rflynn/postload.git
Author: Ryan Flynn [email protected]
Requirements: jQuery
Browser Compatibility:
Barebones Example:
<html>
<head>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="postload.js"></script>
</head>
<body>
<img postload-src="foo.jpg">
<script>
$(document).ready(function()
{
PostLoad.run();
});
</script>
</body>
</html>