PDA

View Full Version : Image w/ description tooltip v2.0



lucky-luc
03-22-2012, 06:01 PM
I have use Image w/ description tooltip v2.0 (http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm) for my website and I love it, very well done.
I am a node in script coding, is there a way to make a 2 or 3 second wait before the image appear ?

ddadmin
03-22-2012, 08:41 PM
Sure, try the below modified .js file. To modify the delay before the tooltips show, change the number in red below (where 1000=1 sec delay):


this.showtimer = setTimeout(function(){ddimgtooltip.showbox($, $tooltip, e)}, 1000)

lucky-luc
03-22-2012, 09:01 PM
Thanks for the try, but the image does not show at all after I've change the .js file.

ddadmin
03-22-2012, 10:56 PM
Hmm it works for me. Did you wait a second after hovering over the anchor link for the tooltip to appear?

lucky-luc
03-22-2012, 11:00 PM
Hmm it works for me. Did you wait a second after hovering over the anchor link for the tooltip to appear?

More like 10 second, but I've tried it on a local server. I will try on my web server.

lucky-luc
03-22-2012, 11:20 PM
Sorry ddadmin, my mistake I've switch the .js file but forgot to add the tooltips inside it.
Thank it works fine.
On some thumbnail I have to jiggle the mouse to make them appears.
http://www.lucky-luc.com/photographie.html