PDA

View Full Version : Image w/ description tooltip bug?



srcoffee
09-28-2007, 02:34 AM
1) Script Title: Image w/ description tooltip

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/imagetooltip_dev.htm

3) Describe problem: Tooltip does not appear in IE7 when var tipFollowMouse= false;

Page at http://hanfordarc.com/sites.htm
The little red dot at the right is hyperlinked, as is the page heading for testing.

thanks in advance

ddadmin
09-28-2007, 07:18 AM
Confirmed. Inside the script, find the below line, and add to it the line in red:


if (!tipFollowMouse) {
standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body

I've also updated the script with the script.

srcoffee
09-28-2007, 06:08 PM
Hey, I really appreciate the quick fix.

Wanted to suggest though that you update the instructions for this script. Looking through the forum postings I see that many people are confused by the

/* IMPORTANT: Put script after tooltip div or
put tooltip div just before </BODY>. */

Which is understandable, since there is no tooltip div and since the example has the script inside the <head>.

granisonshines
10-13-2007, 12:02 AM
1) Script Title: Image w/ description tooltip

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ooltip_dev.htm

3) Describe problem: when i take out the .gif in this script none of the text will not show up

my code can be found here. www.granisonshines.com/40skillsthankyou.html

basically, the code has this in it ('duck2.gif','Motivates and inspires others to act; inspires trust and respect in others.')

i would like to it to read ('Motivates and inspires others to act; inspires trust and respect in others.')

Please advise!!