Welcome To Snipplr


Everyone's Recent Snippets Tagged javascript



3 185 posted 13 years ago by soxiam
1 123 posted 13 years ago by clapfouine
Haven't had a chance to use this but it looks very promising.
14 285 posted 13 years ago by aznprncritic
A great script that will serve up stylesheets based on browser viewport size.
5 238 posted 13 years ago by aznprncritic
This is another script from the DOM scripting book. Not really relevant to anybody else. Useful for reminding myself about the DOM.
1 137 posted 13 years ago by 1man
when testing forms you don't always want to fill in dummydate this is a function i used to autofill and select values.
1 118 posted 13 years ago by assbach
This is a prototype based method for loading functions, this is an alternative to using window.onload = function();
1 119 posted 13 years ago by vanne
交互に背景色を変えるスクリプト. XHTML basic templateと合わせて参考にどうぞ. 本当はCSSクラスを振って, スタイルはCSSで付けたほうがいいけど取り急ぎ.
1 125 posted 13 years ago by masaya
IE6 and before doesn't support :hover in CSS (except for anchors). You can use this script to make hovers work in IE. Just add the following line to your stylesheet (this assumes the path of the file -- you may need to change it to reflect your paths...
7 382 posted 13 years ago by jonhenshaw
1 98 posted 13 years ago by pablazo
en verdad lo importante es que se abra un popup con window.open, y ponerle un nombre a ese popup ("nueva"); y después, en la otra funcion, poner en el target del formulario el nombre del popup (target="nueva")
2 130 posted 13 years ago by pablazo
Open some internet-page with some pictures on it. Then just paste this text into the address line and press "Enter". Works good only in IE, sometimes in Opera...
0 124 posted 13 years ago by Memphys
0 135 posted 14 years ago by whitetiger
0 141 posted 14 years ago by whitetiger
1 172 posted 14 years ago by whitetiger
2 169 posted 14 years ago by whitetiger
0 161 posted 14 years ago by whitetiger
0 108 posted 14 years ago by natalie
0 132 posted 14 years ago by natalie
This I will use for popping up the login and profile info
1 161 posted 14 years ago by iTony
0 116 posted 14 years ago by pablazo