I have an iframe that needs to catch the onscroll event from the parent window. The domains between the iframe and the parent are the same. I have gotten code to work in FF and IE7, but IE6 does not work, and I don't know why. In FF: parent.window.document.onscroll = function(e) {...} works
I've tried many things through trial and error, such as: window.parent.window window.parent.window.document window.parent.window.frames[0] window.parent.window.document.getElementById('..')
Nothing seems to work in IE6 for the onscroll event. Does anybody have any ideas or suggestions?
Thanks.