View Full Version : Help with Image w/desc tooltip

11-23-2010, 08:42 PM
Script Title: Image with Description Tooltip

Script URL (on DD): http://dynamicdrive.com/dynamicindex4/imagetooltip.htm

My problem seems to begin when I start with an imgtip tag of greater than 8, meaning I could only seem to create nine tooltips like so:

[code]tooltips[0]=["picture0", "text0", {background:"#000000", color:"white", border:"5px ridge darkblue"}]
tooltips[1]=["picture1", "text1", {background:"#000000", color:"white", border:"5px ridge darkblue"}]
tooltips[2]=["picture2", "text2", {background:"#000000", color:"white", border:"5px ridge darkblue"}]

and so on up to:
[code]tooltips[8]=["picture8", "text8", {background:"#000000", color:"white", border:"5px ridge darkblue"}]

If I tried to add a tooltip 9, 10, and 11 (I have 12 in total), either the image repeats for 9 through 11, or it does not show the window at all.

I'd be happy to post a link to the URL I am working on, for further info. Just let me know how to fix this odd problem. =)


Writers (with cats)

11-24-2010, 12:05 AM
Please post a link to the page on your site that contains the problematic script so we can check it out.

11-24-2010, 01:59 AM
No, I got it.

I think it must have been a coding error on my part; maybe missed a comma or something. =)

This is a terrific script, btw. When the site's up, I'll show you the results.