Javascript Tooltip / Posts /

IE and Chrome bug UREGENT

1
Hi Folks...

I need some urgent help. Somebody has implemented your JS tooltip into a site I am now bug fixing.

There seems to be something strange going on; tool tip works fine in FF but in IE and Chrome it renders in the wrong position.

My initial hunch is that it is either;

a css issue

or

possible a JavaScript load order.

Can anybody shed any light?

http://dev.kisdevelopment.co.uk/clearwater/

Roll over the dots on the map on the right hand side to see tooltip.

It is being used in a WordPress install....not sure exactly how it is being loaded.

Thanks in advance.


Ryan  11 years ago   viewed: 3895    

2 Answers

0
The root cause of your issue is that the this keyword within your tooltip.pop(this, ...) is referring to the whole <map name="Map" id="Map"> other than the dot element, and the tooltip gets lost in finding the size and position of the map element.

I think you can fix this issue by setting the script's option as:
var tooltipOptions=
{
    .......
    relativeTo: "mouse",

Milo   11 years ago
0
Thanks Milo...

That seems to have done the trick!! I love  simple solution! Saved me ripping out this script and using Jquery tooltip!
Ryan
  11 years ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: