Welcome To Snipplr


Everyone's Recent Snippets Tagged c



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 963 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 1241 posted 15 years ago by baires
1 1373 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 1517 posted 15 years ago by StevenW721
0 1175 posted 15 years ago by trepmal
0 1037 posted 15 years ago by javierav
0 1265 posted 15 years ago by viatropos
2 1342 posted 15 years ago by ChrisCantley
If you want to get all the TV from a specific document
1 1902 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 1483 posted 15 years ago by Macgeeky
1 1139 posted 15 years ago by james0rion
0 991 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 1309 posted 15 years ago by Meander365
0 1147 posted 15 years ago by lolindirfaelivrin
The `localStorage.key` method is a great way to loop over localStorage items.
0 1129 posted 15 years ago by andrew8088
This is a fix to an old bug with the Foundry flip.py script
0 2024 posted 15 years ago by throb
0 1240 posted 15 years ago by throb
0 986 posted 15 years ago by neilmerton
1 ... 274 275 276 277 278 ... 553