Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged google



« Prev 1 Next »
This code snippet fetches the very latest minified version of jQuery from Google's CDN. If this is not available, we revert to a locally stored version (current version at time of publish was 1.7.1 - update this to suit going forward).
1 2401 posted 14 years ago by Huskie
To get the most recent version in the 1.x.x family.
0 2167 posted 15 years ago by Huskie
If you are struggling against some problems with google maps and tabs be aware that, in order to avoid problems, jQuery sets the width & height of every hidden element to Zero. To fix this problem all you have to do is trigger the resize event and...
1 2627 posted 15 years ago by Whiteagle
0 1660 posted 15 years ago by drifterz28
Instead of putting "1.4.2" or whatever in the src, if you just put "1", you'll get the most recent version. At least until they release v2.
1 1992 posted 16 years ago by matula
2 1928 posted 16 years ago by athanassiadis
This will automatically tag external links and prefix the URL with '/outgoing' for tracking in Google Analytics. The pageTracker is assumed to be added to the page elsewhere in the markup. By default it is applied to all links contained in the BODY t...
0 1898 posted 16 years ago by rgsmith007
Related Categories: jQuery, Tips We've all heard the best practices recommendation to load jQuery (or other JavaScript libraries) from a CDN, such as Google's for performance reasons. But what happens if, in the rare chance, Google's network is do...
2 2453 posted 16 years ago by stancox
If you are working on apps development to adapt on different sites that you don't have access to them, and need to load Jquery, but don't wanna load it twice this will help you !
3 2429 posted 16 years ago by crispunk
3 1883 posted 16 years ago by bitmanic
0 1736 posted 17 years ago by almazom
Detects all external/outgoing links, adds class, & adds target = _blank. When using a strict doctype, this method is valid when using target manipulation.
1 1830 posted 17 years ago by dsntos
1 1898 posted 17 years ago by kokikr
1 1947 posted 17 years ago by kokikr
3 1913 posted 17 years ago by dsntos
« Prev 1 Next »