Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Originally form http://www.electrictoolbox.com\r\nComes in handy if you want to display a message in the field (\\\"type your password\\\") but mask the password itself.
1
1148
posted 14 years ago by Rembrand
I tried a menu bar with html5 and css3. Please give me some advice for more advance.
1
1159
posted 14 years ago by jamepaul
Display a default value in a text field that disappears on focus and reappears on blur **if** the field is blank.
0
722
posted 14 years ago by prsjohnny
Little code snippet for automatically adding a custom field for a page or post when they are published.
0
924
posted 14 years ago by baires
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
1089
posted 14 years ago by StevenW721
Put the script in the app "Spark" (download from http://www.shadowlab.org/Software/spark.php) and give it a shortcut
0
1125
posted 14 years ago by Macgeeky
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
990
posted 14 years ago by Meander365
The `localStorage.key` method is a great way to loop over localStorage items.
0
827
posted 14 years ago by andrew8088