Linking to Google’s jQuery Repository
jQuery Hosted on Google:
Here’s the code to link to Google’s jQuery repository. It grabs the latest jquery.
Update: jQuery source is now hosted on Google.
-
Google link to jQuery:
-
<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js"></script>
-
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
You can go here http://code.google.com/p/jqueryjs/downloads/list for the download list and right-click copy-link location.
Dean Edwards IE7 Script
Also added before that is the ie7.js script. The idea here is to speed up the load time if the user has already cached this file from another site using the same technique.
- <!–[if lt IE 7]>
- <script src=“http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js” type=“text/javascript”></script>
- <![endif]–>
Related posts: