Profile
Achievement
dnnsldr's Recent Snippets
- All /
« Prev 1 Next »
How does it work?
This code checks/unchecks all checkboxes within the same fieldset. Simple and semantic.
HTML Setup
Add checkboxes however you like, just make sure they are within the same fieldset.
<fieldset>
<!-->
<div><input>...
1
723
posted 12 years ago by dnnsldr
Here’s a handy bit of code that I use quite regularly, its particularly useful if your getting a response message from a form to notify the user that there data was sent, or comunicate an error and you want to fade the message out after a set time.
1
915
posted 12 years ago by dnnsldr
//This will grab taxonomies three levels deep (parent, child, grandchild) and display them
//in an accordion fashion. Parent is the header, then child with a checkbox, if checked, will
//display grandchild taxonomies.
//Uses jQuery Accordion (do...
0
782
posted 12 years ago by dnnsldr
//You cannot change the whole url without redirecting, what you can do instead is change the hash.
//The hash is the part of the url that goes after the # symbol.
//That was initially intended to direct you (locally) to sections of your HTML doc...
0
896
posted 12 years ago by dnnsldr
I needed away to redirect to a custom BP component upon login for users and this works great. Add this to your functions file. If you are the admin, it will redirect you to the wp-admin.
0
15075
posted 12 years ago by dnnsldr
This post will show you how to make your theme generate thumbnails automatically, based on your post’s first image. Uses timthumb to resize
0
813
posted 13 years ago by dnnsldr