Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
- Basically, place the div at the top of the page (or wherever you want the link to jump to).
- Then place the link somewhere on the page.
- This will cause the scroll to shift to the top of the div container with that ID attribute.
0
778
posted 13 years ago by kennonb
bind it to ctrl+enter and everything that GroovyConsole do jEdit will do too.
Uses groovy installation.
0
627
posted 13 years ago by guai
Place this script on an anchor tag, and it will open in a new browser with a defined size. The browser will not have a toolbar, menu, status, etc.
1
816
posted 13 years ago by officiallyWise
In HTML forms, places this script in inputs to clear the value. If input box is blank, original value repopulates the input box.
0
717
posted 13 years ago by officiallyWise
This is PURE CSS. Tested in IE7+, Chrome, Firefox, Safari and Opera
0
787
posted 13 years ago by officiallyWise
If you need to zip a directory named folderName and ignore all .DS_Store files, then do the following:
0
826
posted 13 years ago by beneberle
Restricts the characters that are entered into a textbox. Also limits the length of the value to 5.
0
782
posted 13 years ago by Krummelz