I love interface. Imagebox creates a nice little slideshow from a group of links pointing to images. Check out the demo on eyecon [1].
I've made a modification to my own copy of imagebox.js. Originally, the anchor element's title attribute is used for plain caption text. I wanted to use HTML for the caption text, so my modification looks for a span.captionwithin the anchor. If it finds one, it sets the span's inner HTML as the caption text. If it doesn't find one, it falls back on the original behavior. See it in action [2]. My demo has captions with the strong, em, strike, br, and p elements within; the last one has no span.caption. What do you think, list? Is there a better way to do this? Does my modification break? [1] http://interface.eyecon.ro/demos/imagebox.html [2] http://mrgossett.com/jQuery/imagebox -- Tim is MrGossett
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
