I've been using prototype and CSS for about a month now and I am
confused as to why Element.positionedOffset doesn't always work
consistently between IE6/7 and FireFox 2. More than likely I am just
not understanding something. The demo of the code can be found here:
http://www.synaptik.com/downloads/prototype/bugs/positionedOffset.html.

The gist of what I am trying to do is get the offset of an image
within a scrolling div -- so I can pop a hover window next to it. The
image is contained within a DIV that floats left. When it doesn't
float left the result of positionedOffset().top is consistent among
the browsers, but when it does float left positionedOffset().top is
different (FF shows the position relative to the upper-left corner
plus scroll offset; IE shows the position relative to the upper-left
corner regardless of scroll offsets).

Any ideas on how to fix this or what could be going on would be
appreciated.

Thanks,

-Dan Watling

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to