Welcome To Snipplr


Everyone's Recent Snippets Tagged page



A very basic XHTML 1.0 Transitional page template without too much indent.
0 3507 posted 15 years ago by HL
Example in 'jQuery enlightenment' Simple way to jump smoothly down the page without the use of a plugin.
3 1528 posted 15 years ago by 1man
1 3306 posted 15 years ago by secondfret
4 5776 posted 16 years ago by traeregan
Befindet sich die aktuell angezeigte Seite dabei unter den aufgelisteten Seiten, dann erhält dieser Listenpunkt die Klasse class="current_page_item":
0 1391 posted 16 years ago by gabbo
Ever needed to get the page your user is currently viewing? This can be done quickly in php all thanks to $_server.
3 1233 posted 16 years ago by scopefragger
There's no has\_children() function in WP 2.8.4, but get\_children() returns false if the post/page has no children, so it can serve the same purpose in a page template. Outside a page template you'd have to add a global declaration for the $post...
2 1587 posted 16 years ago by cyberhobo
lookup the google page rank of a website from python. Uses the same interface that the Google Toolbar uses to get the value.
0 1653 posted 16 years ago by halotis
0 1181 posted 16 years ago by sinecera
If you leave out the "paged" parameter, the same results are queried and shown on each pagination. Of course, you'll want to change the "3" to whichever category you'll want to exclude.
3 1694 posted 16 years ago by rocktronica
0 1081 posted 16 years ago by sinecera
0 1014 posted 16 years ago by sinecera
0 1105 posted 16 years ago by sinecera
Wordpress has a built in class that you can style to style the down nav state for the page you are on. Adjust div name accordingly.
1 1667 posted 16 years ago by kstetson
2 1455 posted 16 years ago by sfjalar
Just insert it into your .htaccess file to redirect all your 404 error pages to any address
2 1319 posted 16 years ago by caruso_g
If you're going to be using a common function throughout the Web site, you can include the function in your MasterPage and gain access to it from each aspx that inherits from this MasterPage; like so:
0 1780 posted 16 years ago by blackf0rk
If you need to get the HTML from a Web page to rip it, process it, and/or display it in the way you want, the following function will work for you.
0 1653 posted 16 years ago by blackf0rk
The basis to a spider.
5 1840 posted 16 years ago by Unreal
0 1233 posted 16 years ago by lister
3 2003 posted 16 years ago by jimmysessions
Sometime, you need unique classes on the leave join button of the groups page. Place this script in your AC footer. --<br> For more tips and tricks checkout the <a href="http://www.kickdeveloper.com/resources">KickApps resources page</a>.
0 1386 posted 16 years ago by krunkosaurus
Better way to echo a .current_page_item class on a list nav.
3 1407 posted 16 years ago by davebowker
Use the Ka.Util.getLocationParam utility method to get the mediaType GET parameter: --<br> For more tips and tricks checkout the <a href="http://www.kickdeveloper.com/resources">KickApps resources page</a>.
0 1152 posted 16 years ago by krunkosaurus
0 1405 posted 16 years ago by conspirator