Welcome To Snipplr


Everyone's Recent Snippets Tagged javascript



1 ... 20 21 22 23 24 ... 46
0 937 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 1137 posted 14 years ago by insanedreamer
JQ - detect users browser language using http headers via ajax jsonp ajaxhttpheaders
1 3400 posted 14 years ago by brandonjp
Great for use in site footers.
0 877 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 1312 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 1151 posted 14 years ago by rumremix
0 793 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 1294 posted 14 years ago by jonkemp
0 698 posted 14 years ago by silverskymedia
A light-weight solution for x-browser rounded corners solution, degrades gracefully back to square corners
0 935 posted 14 years ago by simon87ainley
1 899 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 1157 posted 14 years ago by stancox
Thanks to the original author.
1 919 posted 14 years ago by riddla
1 ... 20 21 22 23 24 ... 46