2009/9/24 Shane Riley <shanerileydoti...@gmail.com>: > > Weird double post. Found the issue. For some reason declaring the > variable worked. So I changed it to: > var top = (parseInt($(this).height()) / 2) - 6; >
That's because "top" is already defined as a synonym for the top-level window object, and IE gets upset if you try to overwrite it. I think you'd get the same "Not implemented" error if you tried to assign values to the global "self", "parent", and "window" properties too. Assuming you're not running in a frame or an iframe, "self", "top", "parent", and "window" all refer to the same object. In a frame or iframe, "self" and "window" will refer to the framed document's "window", and "top" will refer to the "window" object of the very topmost document, while "parent" will refer to the "window" object of the document containing the frame, which is not the same as "top" if you have nested frames/iframes. Regards, Nick. -- Nick Fitzsimons http://www.nickfitz.co.uk/