Welcome To Snipplr


Everyone's Recent Snippets



1 ... 273 274 275 276 277 ... 554
Place into fucntions.php
0 876 posted 14 years ago by jamiebrwr
Place into fucntions.php
1 729 posted 14 years ago by jamiebrwr
Place into fucntions.php
0 882 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 755 posted 14 years ago by simonbouchard
Place into fucntions.php
1 789 posted 14 years ago by jamiebrwr
Place into fucntions.php
0 990 posted 14 years ago by jamiebrwr
0 804 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 863 posted 14 years ago by zartgesotten
Customize as needed using user roles.
0 1399 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 818 posted 14 years ago by Knarf
This is the PHP code to debug any variable ..
1 912 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 761 posted 14 years ago by kristarella
Needs to be used within the loop.
0 760 posted 14 years ago by kristarella
Coments, Coments, And More Coments,
0 1065 posted 14 years ago by enabled88
Useful to use with crontab for allowing schedule a process below of the minute scope.
0 842 posted 14 years ago by wnasich
0 994 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 1007 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 1313 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 8046 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 1402 posted 14 years ago by adrianparr
Originally from Webdesignerwall (see src) Hover thumbnails of images and see the big holder image being swapped.
0 943 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 834 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 758 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 1377 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 1287 posted 14 years ago by Rembrand
1 ... 273 274 275 276 277 ... 554