Welcome To Snipplr
Everyone's Recent JavaScript Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Fixes an issue if you have another login form on the page with a password field.
0
1952
posted 16 years ago by linusx
Returns window size as object.
winsize.x = window width;
winsize.y = window height;
1
2057
posted 16 years ago by djstaz0ne
The html attribute 'target="_blank"' for links is no longer valid code as of XHTML Strict 1.0. This code will run using mootools on domready to send all clicks to new windows when going to an external domain.
0
1973
posted 16 years ago by birnamdesigns
SimpleSelector is a small DOM selector object with support for the most used selectors. It's also the default selector for the jLim JavaScript framework.
Why use SimpleSelector?
- very small, less than 2kb minified
- easy to use with $$()
- no...
1
2087
posted 16 years ago by freelancephp
I needed to break down a long string today and insert line breaks so I wrote this little function. You can use it to split a long string into chunks of a defined length and get them as an array or join them by a defined character (e.g. <br />)....
0
1893
posted 16 years ago by chlab
adopted from:
http://www.alistapart.com/articles/makingcompactformsmoreaccessible/
0
1601
posted 16 years ago by cfleschhut
this snippet allows you to dynamically set the value of a SharePoint lookup field based on a URL parameter
0
2092
posted 16 years ago by digiteyes
Just a blank example where you replace the xxxxx figure with your tracking code
1
1459
posted 16 years ago by wanderlusts
Documentación en: http://eric.garside.name/docs.html?p=epiclock
0
1256
posted 16 years ago by arantxaortega