View Full Version : "Cool DHTML Tooltip II" Bug

10-10-2006, 10:53 PM
1) Script Title:
Cool DHTML Tooltip II

2) Script URL (on DD):

3) Describe problem:
I am on a mac. I am troubleshooting on a clean page. In I.E., the tooltip hovers ABOVE the link, and takes up nearly the entire screen. What is odd is that it works correctly on the first onmouseover, but every time after that is glitched.

10-11-2006, 10:46 AM
Unfortunately I don't have access to a Mac right now. But just for reference, what version of Safari are you using?

10-11-2006, 05:13 PM
Well the problem I'm having is with I.E., Safari works fine. I am though, to answer your question, running version 2.0.4 of Safari.

Sorry about the Mac inconvenience.

10-14-2006, 07:30 AM
It stands to reason that the problem could well be something that happens while the tip is hidden here:

function hideddrivetip(){
if (ns6||ie){

Just as a test (I have no Mac to check on either) I would try changing that red line to:


Another good candidate in this script would be to change this:

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body


function ietruebody(){
return document.body

and later to:

function ietruebody(){
return document.documentElement

Just to see what happens.

10-14-2006, 08:21 AM
Wow John finds a way to be helpful even when working in the dark on this one! :D

10-14-2006, 08:23 AM
better change mad professor into super human robot

10-14-2006, 08:37 AM
Um thanks, I think. If any of that helped, those weren't solutions, at least not the last two. That thing with the width probably could be changed without hurting any other browsers but, if it does, a compensating change could probably be made to the function that shows the tip.

The ietruebody() function is required by PC versions of IE to get the offset correct. If IE Mac requires only one or the other response, it would need to be tested for that browser probably with ACK! browser detection (relatively harmless if the only target is IE Mac).

10-29-2006, 06:55 AM
If you get time, you can install Mac on a PC natively.

Url: http://www.profit42.com/index.php/2006/10/01/osx-1048-on-your-windows-computer/