Last active

Embed URL


SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Non-blocking JavaScript Downloads, with jQuery

View gist:4102
1 2 3 4 5 6 7 8
<script src="scripts/jquery.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
var js = ["scripts/jquery.dimensions.js", "scripts/shadedborder.js", "scripts/jqmodal.js", "scripts/main.js"];
var $head = $("head");
for (var i = 0; i < js.length; i++) {
$head.append("<script src=\"" + js[i] + "\" type=\"text/javascript\"></scr" + "ipt>");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.