Welcome To Snipplr


Everyone's Recent JavaScript Snippets



1 ... 58 59 60 61 62 ... 67
Script takes links that are not on your domain and opens them in a new window. This code allows for XHTML strict validation and meets Accessibility criteria on opening new windows.
5 429 posted 14 years ago by skatan
Needs object detection to be completely unobtrusive
3 343 posted 14 years ago by skatan
Needs to include object detection to be completely unobtrusive
1 281 posted 14 years ago by skatan
A way to call a function before the window is unloaded/refreshed/etc. Used in the first E-shot Management System. Useful for auto-saving data/content before the window is closed or refreshed.
1 394 posted 14 years ago by andyhartleeds
Include JavaSript files.
0 271 posted 14 years ago by Diego
Really stop default action of a element.
1 349 posted 14 years ago by fael
Another image preloader.
6 478 posted 14 years ago by fael
a function that returns the absolute position in DOM tree. jQuery based
1 302 posted 14 years ago by fael
Create a simple object and add properties and a method. Note where the object is parsed (not from top to bottom).
2 315 posted 14 years ago by 1man
This utility function attaches listeners to a text field or text area. It supports default text for instructional copy. The original text in the field is used as the instructional/default text. When the box gets focus, it disappears and the user can...
0 338 posted 14 years ago by elli
0 978 posted 14 years ago by elugardo
0 291 posted 14 years ago by tjhanley
replace submit buttons with nice images and does also the rollover. Easy.
1 350 posted 14 years ago by valcartei
For forms with a default value onload you don't want your users to have to select the value, delete it and then insert their own input. This function focuses on a selected input, then it selects the default text so the user can easily type their o...
1 403 posted 14 years ago by 1man
時間帯によって、CSSを切り替える。
0 314 posted 14 years ago by fjm
0 290 posted 14 years ago by valcartei
0 290 posted 14 years ago by miziomon
basic wrapper for jQuery code
4 319 posted 14 years ago by sambody
Excellent Script for opening new windows from links while adhering to modern HTML/XHTML standards. Simple put rel="nofollow" in the anchor and link to the script within the HEAD. I prefer to remove the text that states the link opens in an externa...
1 527 posted 14 years ago by jonhenshaw
I use this snippet to organize my JavaScript files.
0 295 posted 14 years ago by rhlowe
1 ... 58 59 60 61 62 ... 67