Using the ALT-attribute method:
How do I use it?
// all of these options are... optional
// speed of the mouseover effect
// speed of the mouseout effect
// how long to delay the hiding of the caption after mouseout (ms)
// 'fade', 'slide', 'always-on'
// text/html to be placed at the beginning of every caption
// opacity of the caption on mouse over
// the name of the CSS class to apply to the caption box
// position of the caption (top or bottom)
// caption span % of the image
Note: Also, you need to copy-and-paste the necessary items out of the sample stylesheet into your own website’s stylesheet. When you open it up, you’ll see what needs to be copied right away.
One side-effect of the captions is that the captified images become wrapped in divs that float left. If you have text clinging to their right side, clear the float by adding this line right after the image:
If you don’t want to take that route, just take out this block from the stylesheet, and that’ll do the trick too 🙂