That doesn't make too much sense. The 'peekaboo' option is sort of a tease, it pops up and down regardless of whether or not the mouse is over the slideshow. More sensible choices for a linked description would be 'ondemand' or 'always'.
But if the displaymode pause setting is high enough, say 6000 or more, 'peekaboo' might not be too bad.
Whatever descreveal you use though, the way to link the description is with more or less ordinary HTML. Here in the imagearray, the description (if any) is always the forth item:
Code:
imagearray: [
["http://i26.tinypic.com/11l7ls0.jpg", "", "", "Nothing beats relaxing next to the pool when the weather is hot."],
["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to explore these caves!"],
["http://i30.tinypic.com/531q3n.jpg"],
["http://i31.tinypic.com/119w28m.jpg", "", "", "What a beautiful scene with everything changing colors."] //<--no trailing comma after very last image element!
],
Let's take a closer look at the first one:
Code:
"Nothing beats relaxing next to the pool when the weather is hot."
First thing to do is change the " marks to ' marks:
Code:
'Nothing beats relaxing next to the pool when the weather is hot.'
Now you can put an ordinary HTML link in there:
Code:
'Nothing beats <a href="http://www.relax.com/">relaxing</a> next to the pool when the weather is hot.'
Or link the entire thing:
Code:
'<a href="http://www.pool.com/">Nothing beats relaxing next to the pool when the weather is hot.</a>'
You can use a target attribute, anything really that an ordinary HTML link can have. The only difference is that if you have an ' mark anywhere inside, it must be escaped with a \ slash:
Code:
'There\'s nothing beats <a href="http://www.relax.com/" onclick="alert(\'Bye!\');">relaxing</a> next to the pool when the weather is hot.'
Bookmarks