Welcome To Snipplr


Everyone's Recent Snippets



1 ... 381 382 383 384 385 ... 553
2 1538 posted 16 years ago by PeteW
2 1617 posted 16 years ago by PeteW
2 2089 posted 16 years ago by PeteW
Nice clean, and semantically correct breadcrumb XHTML accompanied by the CSS. Create a transparent GIF of the symbol '>' and save it in /img/gt.gif. This will be used for older browsers that don't support the :after pseudo element.
4 1745 posted 16 years ago by PeteW
Ever wanted to give your cliant an idear on how much disk space they have remaining? The following script will tell your user how much disk space has been used and how much is remaining. In this example $diskspace refers the amount of diskspace you...
1 1661 posted 16 years ago by scopefragger
<p>Cross-browser compatible especially for IE6/7 and makes use of CSS sprites for faster downloading. Download file <a href="http://johnimbong.com/blog/wp-content/uploads/2009/09/curves.zip">curves.zip (75 bytes)</a> which contains the CSS sprite nee...
1 1410 posted 16 years ago by enchance
1 1809 posted 16 years ago by enchance
0 1607 posted 16 years ago by enchance
0 2891 posted 16 years ago by enchance
<form> <input>
0 2883 posted 16 years ago by hotdiggity
Variable/Parameter Discussion : msg = Do you want to display a message box if you have the current version? (true/false) currentversion = The version of the program txtdocumentaddress = The text document web address containing the most updated ve...
2 1907 posted 16 years ago by brandonio21
A nice example of a function that returns another function.
0 3659 posted 16 years ago by narkisr
Groovy has the as keyword which enables the implementation of a Java interface by using the as keyword, its quite easy to mimic this in JRuby.
0 1859 posted 16 years ago by narkisr
convert a string to it's hex representation and back
0 1306 posted 16 years ago by dygor
1 1351 posted 16 years ago by mcarneiro
I notice a lot of addClass/removeClass.. thought maybe I'd post an example on how to simplify that....
0 1815 posted 16 years ago by quickredfox
In Internet Explorer 6 (IE6) there is a bug to make div absolute positioned over select. The select will show over the div. One solution is to place a empty iframe behind the div with same size. The source below is a div as container to positione...
0 1778 posted 16 years ago by Arogarth
1 1563 posted 16 years ago by craig0990
I am forever forgetting this. Have to look up the 101 vs 103 in books online every time. Also forget which way around is US/NZ format. :-)
1 2086 posted 16 years ago by rengber
This code allows you to retrieve the 11-character ID string from a YouTube video URL.
7 4257 posted 16 years ago by Moridin
1 ... 381 382 383 384 385 ... 553