M
mmurrell
I am developing some dhtml code that displays a balloon style help when
a user mouses over words. The balloon help is positioned correctly
until the tag (in this case) word-wraps. Is there any way in JS to
detect and get the correct coordinates? I have tried disabling
word-wrap on the span tag in css, but the offsetTop + offsetHeight
still points to the top of the word (the same place vertically it would
have been positioned before the word wrap.
Thank you for any help.
a user mouses over words. The balloon help is positioned correctly
until the tag (in this case) word-wraps. Is there any way in JS to
detect and get the correct coordinates? I have tried disabling
word-wrap on the span tag in css, but the offsetTop + offsetHeight
still points to the top of the word (the same place vertically it would
have been positioned before the word wrap.
Thank you for any help.