Welcome To Snipplr


Everyone's Recent Snippets Tagged google



1 2 3 4 5 ... 8
Basic Google Maps initialize code
0 500 posted 11 years ago by marzsman
Center the map on an array of latlng values
0 552 posted 11 years ago by marzsman
0 414 posted 11 years ago by psteinweber
<p>usage: <br> <code>&lt;a href="" onclick="recordOutboundLink(link, category, action, opt_label, opt_value);return false;"&gt; <br> &lt;form id="uniqueID" onsubmit="trackFormSubmit(form, category, action, opt_label, opt_value);return false;"&gt;</...
0 785 posted 11 years ago by freezy
IE9 renders google fonts nicer when combining two fonts into the same URL call in the style sheet.
2 485 posted 11 years ago by jamigibbs
I needed a simple function to shorten a link with goo.gl and wrote this, thought it may help someone. Note: you still need an API key from goo.gl
1 1128 posted 11 years ago by lasavior
**Use this line to anonymize IP adresses in Google Analytics:** _gaq.push(['_gat._anonymizeIp']);
0 365 posted 11 years ago by JonasDoebertin
Google Analytics is a very popular tool for tracking your website’s user behaviour, and visits. This is simply an optimised version of Google’s asynchronous tracking snippet. To learn what has been optimised, and why it is faster than Google’s...
0 395 posted 11 years ago by paul66
1 396 posted 11 years ago by hamsterbacke82
Example of using http://code.google.com/p/gapi-google-analytics-php-interface/ to graph google analytics data.
1 453 posted 11 years ago by dtbaker
0 393 posted 11 years ago by iamjpg
Proper way of loading libs such as jQuery from Google's CDN. Place these JavaScripts at the bottom for fast page loading. To target different versions, you can be more specific if you want; eg. /1.4/ or even /1.4.4/. (NOTE: you may either use http...
0 670 posted 11 years ago by hced
This makes use of http://www.minimalcomps.com, https://github.com/mikechambers/as3corelib and http://alivepdf.bytearray.org
2 858 posted 11 years ago by adrianparr
Very usefull translation adapter for simple interfaces where creating translation files is just a bit to much.
1 365 posted 11 years ago by RonXS
With this customizable code you can add google weather showing current temps, conditions, and forecast for any location to your website. User prompts are included to allow the user to change the default location easily then hit the "go" button. Auto...
0 397 posted 12 years ago by stevethomas2011
How to determine a static map image for google Maps as fallback for visitors without JS. The image can later be replaced via JS with the google Maps IFrame.
0 518 posted 12 years ago by ichnoweb
0 348 posted 12 years ago by initiationone
0 420 posted 12 years ago by rc2789
This code was re-purposed from Pamela Fox's MapIconMaker v1.1 to work with Google Maps API v3.
1 462 posted 12 years ago by sandrews_06
if window.jQuery is undefined, there must have been a problem downloading the script from the CDN. In that case, proceed to the right side of the && operator, and insert a script linking to a local version of jQuery.
1 371 posted 12 years ago by Deej
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 440 posted 12 years ago by matula
Be sure to call the exact version desired or the script is only cached for one hour! http://encosia.com/2009/10/11/do-you-know-about-this-undocumented-google-cdn-feature/
1 487 posted 12 years ago by housecor
Used to make a Google Pie Chart, with optional labels and size from an array, using the array keys as the labels and the values for the data.
0 407 posted 12 years ago by alexstone
1 2 3 4 5 ... 8