I had a problem cloning position with prototype 1.4 and 1.6 in ie8
don't know exactly why it behaves like this.. but that's my solution:
hope it could be useful:

In 1.4  I changed this

if (Element.getStyle(target,'position') == 'absolute') {
      parent = Position.offsetParent(target);
      delta = Position.page(parent);

with this:

if (Element.getStyle(target,'position') == 'absolute') {
      parent = Position.offsetParent(target);
      delta =  (navigator.appVersion.indexOf('MSIE 8')>0)?Position.page

if (navigator.appVersion.indexOf('MSIE 8')>0){

the solution is identical for 1.6 but instead of Position.page(parent)
I used page.viewportOffset() as it was

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to