Return to Snippet

Revision: 43444
at March 24, 2011 00:49 by lawlesscreation


Updated Code
<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script>window.jQuery || document.write("<script src='jquery/1.3.2/jquery.min.js'>\x3C/script>")</script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.7.3/jquery-ui.min.js"></script>
<script>window.jQuery.ui || document.write("<script src='jqueryui/1.7.3/jquery-ui.min.js'>\x3C/script>")</script>

Revision: 43443
at March 24, 2011 00:46 by lawlesscreation


Initial Code
<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script>window.jQuery || document.write("<script src='core/javascript/jquery/1.3.2/jquery.min.js'>\x3C/script>")</script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.7.3/jquery-ui.min.js"></script>
<script>window.jQuery.ui || document.write("<script src='plugins/jqueryui/1.7.3/jquery-ui.min.js'>\x3C/script>")</script>

Initial URL
http://html5boilerplate.com

Initial Description
This is mostly taken from the HTML5 Boilerplate project so kudos go there.

Dont forget to update the local URL paths.

Initial Title
Google CDN jQuery local version fallback

Initial Tags
javascript, jquery

Initial Language
HTML