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 1161 posted 15 years ago by baires
1 1290 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 1432 posted 15 years ago by StevenW721
0 1105 posted 15 years ago by trepmal
0 988 posted 15 years ago by javierav
0 1178 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 1802 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 1398 posted 15 years ago by Macgeeky
1 1080 posted 15 years ago by james0rion
0 929 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 1229 posted 15 years ago by Meander365
0 1079 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 1920 posted 15 years ago by throb
0 1175 posted 15 years ago by throb
0 932 posted 15 years ago by neilmerton
1 ... 274 275 276 277 278 ... 553