Welcome To Snipplr


Everyone's Recent Snippets Tagged javascript



1 ... 20 21 22 23 24 ... 46
0 891 posted 14 years ago by rumremix
Put this in application layout for global use. Have a hidden div called 'loadicon' with a loading icon (or whatever) in it, which is shown/hidden on ajax calls.
0 1085 posted 14 years ago by insanedreamer
JQ - detect users browser language using http headers via ajax jsonp ajaxhttpheaders
1 3329 posted 14 years ago by brandonjp
Great for use in site footers.
0 837 posted 14 years ago by batfan
This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery. If needing to perform this process more than once on a page, make sure namedListItem variable is unique for each case (...
0 1258 posted 14 years ago by rumremix
This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery.
0 1115 posted 14 years ago by rumremix
0 753 posted 14 years ago by genseric
HTML5 geolocation using the new HTML5 geolocation API, JavaScript and Google Maps. HTML5 geolocation detection is included. This will work in almost every modern browser except IE, but if your browser does not support it, it will tell you so. It will...
3 1233 posted 14 years ago by jonkemp
0 663 posted 14 years ago by silverskymedia
A light-weight solution for x-browser rounded corners solution, degrades gracefully back to square corners
0 909 posted 14 years ago by simon87ainley
1 862 posted 14 years ago by iroybot
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 1111 posted 14 years ago by stancox
Thanks to the original author.
1 878 posted 14 years ago by riddla
1 ... 20 21 22 23 24 ... 46