Welcome To Snipplr


Everyone's Recent JavaScript Snippets



1 ... 48 49 50 51 52 ... 65
In this example below I am moving the "recent blogs" module in "My Home" to the very top. I have placed this code in the footer of my Affiliate Center wrapped in script tags. For maximum efficiency: 1) Use the inspect tool in Firebug to find the...
0 1706 posted 17 years ago by krunkosaurus
This clean little script assumes you have a simple "A-name" style jump to some cool stuff at the bottom of the page that you want people to see. ID your link "browse" and your good. Certainly you could scroll to another ID on the page if you are so...
0 1632 posted 17 years ago by esquareda
This is a basic script that will redirect a non-member to the login page with a custom message. Place the code between script tags in your Affiliate Center header. To use: 1) replace loginPage variable with your *login URL. 2) replace accessMe...
0 1433 posted 17 years ago by krunkosaurus
Use the Ka.Util.getLocationParam utility method to get the mediaType GET parameter: --<br> For more tips and tricks checkout the <a href="http://www.kickdeveloper.com/resources">KickApps resources page</a>.
0 1806 posted 17 years ago by krunkosaurus
Using JSON-P with jQuery. Note the callback.
0 2083 posted 17 years ago by 1man
Because WKW is a german social community, wird auch deutsch Kommentiert: Sobald der Kalender-Bereich aufgerufen wird, gesellt sich oben in der Menüzeile ein neuer Punkt hinzu "Grab BDdays!". Ein klick darauf listet alle Buddies mitsamt Geburtstagen...
0 1479 posted 17 years ago by preasha
I came across this little snippet... and thought it was rather nice.
0 1753 posted 17 years ago by gembry
Función para usar con el evento onkeydown, que funciona igual en todos los navegadores. Onkeypress devuelve 0 para las teclas especiales en navegadores que no sean Internet Explorer.
0 2009 posted 17 years ago by kcmr
Always always always backup client side validation with server side validation! =D
2 2373 posted 17 years ago by charmcitycoder
Add class external to all target=_blank links
4 2209 posted 17 years ago by gfazioli
This is a very simple bookmarklet that will temporarily sort the *visible* messages in Gmail by subject. You'll have to run it again each time Gmail refreshes the list. [Sort Gmail Messages](javascript:(function(&#41;{function%20f(r&#41;{var%20t=r...
0 2271 posted 17 years ago by wizard04
Forces the redraw of the active document screen.
0 1612 posted 17 years ago by preasha
This takes a very readable date, such as "Fri, 4 Dec 2008 15:13:00 +0000", and outputs it as a relative date (such as "1 hour ago").
1 2081 posted 17 years ago by bjarkebech
0 1242 posted 17 years ago by IJajan
Split and manipulate URLs easily with this module. It has similar interface to Python's urlparse library. This is patched and modified version from Denis's orignal implementation.
1 2286 posted 17 years ago by miohtama
It is utterly annoying when DOM event handler exceptions fail silently with Firebug. This package fixes this common problem.
0 1757 posted 17 years ago by miohtama
How to create a custom “:checked” pseudo selector for use in MooTools. It is just a small snippet but I’ve found it incredibly useful.
0 2042 posted 17 years ago by ianmonge
by andrew weaver
2 1585 posted 17 years ago by melvitax
判断客户端的浏览器和操作系统的类型和版本号
0 1281 posted 17 years ago by mn232nm
strip non alphanumerical characters while typing
1 1590 posted 17 years ago by ginoplusio
a set of function useful to check data (functions name in italian but easy to translate).
0 3166 posted 17 years ago by ginoplusio
1 1829 posted 17 years ago by davebowker
Simply jQuery script for CSS drop-down menu
7 2357 posted 17 years ago by bcalloway
3 1849 posted 17 years ago by jamesming
1 ... 48 49 50 51 52 ... 65