Welcome To Snipplr


Everyone's Recent Snippets



1 ... 273 274 275 276 277 ... 554
Place into fucntions.php
1 587 posted 14 years ago by jamiebrwr
Place into fucntions.php
0 715 posted 14 years ago by jamiebrwr
This custom loop will list all sub pages from a parent page including grand childrens. Example use: Car models listing
1 611 posted 14 years ago by simonbouchard
Place into fucntions.php
1 625 posted 14 years ago by jamiebrwr
Place into fucntions.php
0 810 posted 14 years ago by jamiebrwr
0 656 posted 14 years ago by gilesb
This is what I wanted:\r\nI had a structure like this:\r\n-Artist\r\n --Peter Miller\r\n ---Pictures\r\n ---Press\r\n ---Videos\r\n\r\nand wanted to have the sub-sub-Menu when located on the \"Peter Miller\"-Page. \r\nSo that on \"Peter...
0 674 posted 14 years ago by zartgesotten
Customize as needed using user roles.
0 1181 posted 14 years ago by vagrantradio
A simple wrapper class for MySql around PDO. Also an example on how to use this wrapper for SQLite.
1 677 posted 14 years ago by Knarf
This is the PHP code to debug any variable ..
1 746 posted 14 years ago by xkeshav
The code to call the normal Thesis Thumb is at http://snipplr.com/view/38971/thesis-thumbnail/\r\n\r\nTo test whether there is a thumbnail, and if not use another one, use this code in custom_functions.php.\r\n\r\nYou can change the class alignleft t...
0 623 posted 14 years ago by kristarella
Needs to be used within the loop.
0 629 posted 14 years ago by kristarella
Coments, Coments, And More Coments,
0 854 posted 14 years ago by enabled88
Useful to use with crontab for allowing schedule a process below of the minute scope.
0 670 posted 14 years ago by wnasich
0 812 posted 14 years ago by DesignByWilliam
requires that a pulldown \\\"program1\\\" in form \\\"freshmen\\\" be set to anything but the first value in the option list. \\r\\n\\r\\nrequires jquery validate: http://docs.jquery.com/Plugins/Validation
1 849 posted 14 years ago by dan_hoerr
Hijack (Ajack?) links within an element so instead of booting you to a fresh page it loads the information to a specified DIV. If you have any suggestions on how to make it better then let me know
5 1072 posted 14 years ago by reynish
I wrote this code for when I need to get files from other servers and put them on my own server. I wanted to simplify it as much as possible.
1 7727 posted 14 years ago by BrunoDeBarros
A handy little function to dynamically draw a black dot on the stage (or displayObject). This can be useful if you want to see where 0,0 is located.
2 1175 posted 14 years ago by adrianparr
Originally from Webdesignerwall (see src) Hover thumbnails of images and see the big holder image being swapped.
0 767 posted 14 years ago by Rembrand
Originally from http://www.pseudocoder.com Make an li (or div or whatever) clickable without having to wrap it in a link-tag. Like Matt, I like to add a .hover class to it in order to apply hover effects
0 662 posted 14 years ago by Rembrand
Get menu tabs to slide up/down when hovering over them. For some reason, it only starts working after you've hovered above a tab first. I should find out why that is.
0 603 posted 14 years ago by Rembrand
Show a form field if 1 value from a dropdown is chosen, hide is the other is chosen. Can be extended to include more fields and values. Could get messy if you start nesting more than 2 'if else' but it gets the job done.
0 1162 posted 14 years ago by Rembrand
Originally from http://www.electrictoolbox.com (see src)\r\nClear the default value of a form field when you click on it (when you want to type) and put it back if you leave without typing anything.
1 1063 posted 14 years ago by Rembrand
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 960 posted 14 years ago by Rembrand
1 ... 273 274 275 276 277 ... 554