Welcome To Snipplr


Everyone's Recent Snippets



1 ... 520 521 522 523 524 ... 553
STICKER - A valid, easy to use CSS sticky footer by Ryan Fait This is the basic CSS you need along with the one extra empty div and the wrapper required to achieve the effect. I suggest that you leave the * { margin: 0; } code in while testing a...
8 2826 posted 18 years ago by daeliur
hoverで透明度
0 1186 posted 18 years ago by fjm
時間帯によって、CSSを切り替える。
0 1253 posted 18 years ago by fjm
The original code was meant to be used with register_globals=on. If you cannot or don't want to turn that on, then I have modified the code to work with register_globals=off.
4 1913 posted 18 years ago by Jaymoon
******************************************************************************** * * * Andreas writes groovy scripts! Jana corrects the mistakes! ;-) * *...
0 1713 posted 18 years ago by asteinhaus
a function to check the validity of the postcode according to UK rules
0 4373 posted 18 years ago by valcartei
echo validarFecha( '1-1-1998', 0 ) ? 'ok' : 'ko' ; #ok echo validarFecha( '1-1-1998' ) ? 'ok' : 'ko' ; #ko echo validarFecha( '1980/05/06' ) ? 'ok' : 'ko' ; #ok echo validarFecha( '1700-5-1' ) ? 'ok' : 'ko' ; #ok
0 1546 posted 18 years ago by nicolaspar
0 1235 posted 18 years ago by valcartei
echo ( browser_detection( 'number' ) .''. browser_detection( 'browser' ) .''. browser_detection( 'os' ) .''. browser_detection( 'os_number' ) ); Outputs (browser version, browser, os, os number): 1.5 moz nt 5.1 if ( ( browser_de...
2 2918 posted 18 years ago by llbbl
Shows reading a file bundled with a Sun SPOT application. The file, called winners.txt contains the following 2 lines: Walker Griffin ----------------------------------------------------------- The output would include: NameOfFile=/winners.txt...
0 1334 posted 18 years ago by javapda
0 1161 posted 18 years ago by miziomon
0 1222 posted 18 years ago by dima767
This code will show you how to write Mouse Events using AS3 and also some simple Drawing API as well.
3 2790 posted 18 years ago by mswallace
basic wrapper for jQuery code
4 1473 posted 18 years ago by sambody
Since there is no convenient way to clear the console in irb on windows, we can simple emulate the dos cls function
1 3108 posted 18 years ago by vanne
0 1501 posted 18 years ago by jccovey
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 2119 posted 18 years ago by jonhenshaw
Simple template of an standard xHTML Strict document.
1 1527 posted 18 years ago by wintondeshong
Got this out of the o'reilly ActionScript 3.0 Cookbook
2 2051 posted 18 years ago by mswallace
3 1745 posted 18 years ago by Hirmine
1 1501 posted 18 years ago by t0d0r
I use this snippet to organize my JavaScript files.
0 1765 posted 18 years ago by rhlowe
Flash 8 only I think.
0 1769 posted 18 years ago by Bonky
1 ... 520 521 522 523 524 ... 553