PDA

View Full Version : Tooltip to the the Conveyor Belt slideshow



Hav'n Fun
07-20-2005, 03:53 AM
How about adding a tooltip to the the Conveyor Belt slideshow script to make it a way cool slideshow.

Anyone up for it? :) (it's beyond my skills)

DD Script: Conveyor Belt slideshow script
http://www.dynamicdrive.com/dynamicindex14/leftrightslide.htm

jscheuer1
07-20-2005, 12:15 PM
A simple tool tip can easily be added using the image tag's title attribute, from the demo:

leftrightslide[0]='<a href="http://"><img title="Tool Tip Text Goes Here" src="dynamicbook1.gif" border=1></a>'

Hav'n Fun
07-21-2005, 03:48 AM
I thought that to add a tooltip it would have to be added to the existing javascript since a tooltip is a javascript generated item but I give your idea a shot with no luck getting it to work. :(

Any one up to the challenge?

jscheuer1
07-21-2005, 04:15 AM
My idea works. If you cannot get it to, try working from a fresh demo of the script. Paste in my code (unmodified), from my last post in place of the existing leftrightslide[0] item.

Hav'n Fun
07-24-2005, 10:01 PM
Still don't know how you just use a Title attribute to create a tooltip on an image since it doesn't work for plan images. But I created a new page using slideshow code and your title=" " attribute and it still does not work. Here's the test page to check the code:

http://www.jimlorenz.com/test/tooltip_test.htm

Do you have a page where you can make a tooltip without javascript??

I still believe that someone needs to take the challenge to add tooltip code into the slideshow javascript. Anyone?

Hav'n Fun
07-25-2005, 01:23 AM
Ok, I just tried it on a couple of other computers and it works (same version of IE), but doesn't show on this one.

Thanks for your help :)