AlexLibman
Aug 21st 2007, 5:58 pm
I have a JS function for tracking current mouse cursor position relative to document body, and the positions are used to display a hidden-by-default "tooltip" div right under cursor - show onmouseover (and/or onmousemove), hide onmouseout.
It works correctly in all situations I've tried so far except one: when using Firefox and hovering the mouse over a dropped-down <select size="1" ...> box. The tooltip appears to be offset to top-left for some reason. Adding additional HideToolTip() calls for other events (onchange, onblur, onfade) on the select object as well as on the option objects inside it (including onmouseover, onmousemove, etc) do not make the tooltip go away.
Please open this demo page with Firefox (and view source) to see what I mean: http://www.alexlibman.com/jstest.html
Thank you in advance. ;)
It works correctly in all situations I've tried so far except one: when using Firefox and hovering the mouse over a dropped-down <select size="1" ...> box. The tooltip appears to be offset to top-left for some reason. Adding additional HideToolTip() calls for other events (onchange, onblur, onfade) on the select object as well as on the option objects inside it (including onmouseover, onmousemove, etc) do not make the tooltip go away.
Please open this demo page with Firefox (and view source) to see what I mean: http://www.alexlibman.com/jstest.html
Thank you in advance. ;)