Profile
Achievement
Rembrand's Recent Snippets
- All /
« Prev 1 Next »
For example, when you can't get the post author to shop up using the_author(); it usually means your working outside the loop while that function is meant to work inside the loop.
This is a way around it. (got it from the forums)
0
552
posted 14 years ago by Rembrand
Originally from Webdesignerwall (see src)
Hover thumbnails of images and see the big holder image being swapped.
0
779
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
670
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
613
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
1177
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
1081
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
976
posted 14 years ago by Rembrand