Martin Honnen <ma*******@yahoo.de> wrote in message news:<41***********************@newsread4.arcor-online.net>...
Axel Schick wrote:
I encountered a strange behavior when trying to read the scrollTop
propery of the <body> element from inside an iFrame:
<body onmousemove = "window.status = document.body.scrollTop;">
allways reports "0" , even if i scroll down in the iframe.
Is this a known bug?
Whether body.scrollTop says anything about the scroll position depends
on the browser and with IE 6/Win even on the rendering mode so at least
tell us what browser you are trying with and give a URL perhaps.
Yes, that's true,sorry. We use IE6 for our ERP-System. I've set up a
Testpage in which i stripped the code to the bone, so i could
reproduce the behavior and guess what? It works... so i searched a bit
more and found that the page, where i want to implement the feature,
uses a HTC behaviour which alternates the properties of the body tag..
Sorry I could not give you an URL, because the Page runs in our
Intranet, but if i figure anything out, that causes the problem i will
post it...
Cheers, Axel