Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
I tried a menu bar with html5 and css3. Please give me some advice for more advance.
1
952
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
563
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
744
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
874
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
918
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
818
posted 14 years ago by Meander365
The `localStorage.key` method is a great way to loop over localStorage items.
0
688
posted 14 years ago by andrew8088