My site works fine in FF and Safari. When tested with IE8, I get some
error.  It says "ghost" and "ghostPosition" are undefined.  Why is my
code incompatible with IE8 if my DOM reading and writing are purely
done with Prototype?


if($$('#lineup .ghost').length === 0)
        new Element('li', {'class' : 'ghost'})

var ghost = $$('#lineup .ghost')[0];
var ghostPosition = ghost.cumulativeOffset();

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to