Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 120 121 122 123 124 ... 552
- 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 2815 posted 15 years ago by kennonb
0 1955 posted 15 years ago by klovera
-R = recursive
0 1610 posted 15 years ago by klovera
0 1703 posted 15 years ago by Wookkie
bind it to ctrl+enter and everything that GroovyConsole do jEdit will do too. Uses groovy installation.
0 1624 posted 15 years ago by guai
0 1333 posted 15 years ago by isodinner
2 2506 posted 15 years ago by blackthorne
Add code to theme functions.php file.
0 2342 posted 15 years ago by Huskie
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 2879 posted 15 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 1806 posted 15 years ago by officiallyWise
This is PURE CSS. Tested in IE7+, Chrome, Firefox, Safari and Opera
0 2846 posted 15 years ago by officiallyWise
If you need to zip a directory named folderName and ignore all .DS_Store files, then do the following:
0 2166 posted 15 years ago by beneberle
0 3969 posted 15 years ago by hmvrulz
0 3852 posted 15 years ago by hmvrulz
0 3812 posted 15 years ago by hmvrulz
0 1769 posted 15 years ago by thiagotargino
Restricts the characters that are entered into a textbox. Also limits the length of the value to 5.
0 2015 posted 15 years ago by Krummelz
Rewrites "www.site.com/xyz" to "index.php?who=xyz"
0 1772 posted 15 years ago by chopbust
0 2146 posted 15 years ago by iloveitaly
Share current page on Facebook wall or Twitter
1 2183 posted 15 years ago by pratheep
Usage: <?php>post_excerpt; if($textin == ""){ $textin = $post->post_content; } echo TruncateText($textin, 150); ?>
0 1688 posted 15 years ago by tcelestino
I made this because org.apache.commons.lang.StringUtils does not have this method. I used this because i was dealing with a legacy db where all fields were char. trailing spaces were a pita.
0 1795 posted 15 years ago by m3rol666
1 ... 120 121 122 123 124 ... 552