Welcome To Snipplr


Everyone's Recent Snippets



1 ... 274 275 276 277 278 ... 553
Display a default value in a text field that disappears on focus and reappears on blur **if** the field is blank.
0 901 posted 15 years ago by prsjohnny
Little code snippet for automatically adding a custom field for a page or post when they are published.
0 1159 posted 15 years ago by baires
1 1289 posted 15 years ago by emmanuelbuah
Sometimes iframes are unavoidable, and in those cases you usually don't want it to be apparent there is one. This will find the height of the iframed contents and resize the iframe accordingly, making it appear to be part of the page. Almost positive...
2 1429 posted 15 years ago by StevenW721
0 1105 posted 15 years ago by trepmal
0 987 posted 15 years ago by javierav
0 1175 posted 15 years ago by viatropos
2 1258 posted 15 years ago by ChrisCantley
If you want to get all the TV from a specific document
1 1801 posted 15 years ago by thiswayup
Put the script in the app "Spark" (download from http://www.shadowlab.org/Software/spark.php) and give it a shortcut
0 1396 posted 15 years ago by Macgeeky
1 1079 posted 15 years ago by james0rion
0 926 posted 15 years ago by reynish
In the example .description is a label and so needs to be made a block level element. For <p> elements (etc) this is not needed. The key to all this is overflow:hidden.
0 1227 posted 15 years ago by Meander365
0 1078 posted 15 years ago by lolindirfaelivrin
The `localStorage.key` method is a great way to loop over localStorage items.
0 1060 posted 15 years ago by andrew8088
This is a fix to an old bug with the Foundry flip.py script
0 1915 posted 15 years ago by throb
0 1173 posted 15 years ago by throb
0 930 posted 15 years ago by neilmerton
1 ... 274 275 276 277 278 ... 553