If your html element is nested inside another (<div>, <Iframe>, ...) the x,y will be reported
differently between the different browsers. I think I.E. gives the absolute x,y and Netscape/
Mozilla/Firefox is relative to the parent element, so you need to use _javascript_ to add up
successive parent offsets.


From: Yixing Ma [mailto:[EMAIL PROTECTED]
Sent: Monday, March 06, 2006 11:11 AM
To: MyFaces Discussion
Subject: myfaces popup coodination (x,y) difference in IE and (Netscape,Mozilla, firefox)

What should I set to displayAtDistanceX and displayAtDistanceY? The location of the popup in IE and (Netscape,Mozilla, firefox) is different.

Did anyone have the same problem?

 

Thanks for help,

Yixing Ma

Reply via email to