IE 8 – JavaScript onscroll event

IE Developer Center
http://msdn.microsoft.com/en-us/ie/default.aspx

Learn IE8
http://msdn.microsoft.com/en-us/ie/aa740473.aspx

HTML and DHTML Overviews and Tutorials
http://msdn.microsoft.com/en-us/library/ms537623.aspx and

Cascading Style Sheets (CSS)
http://msdn2.microsoft.com/en-us/ie/aa740476.aspx

Or you could post here instead:

MSDN IE Development Forums
http://social.msdn.microsoft.com/for…iedevelopment/

Marz wrote:
> I am trying to get a menu to move with a page when a user scrolls. But, I
> am
> getting this problem:
>
> I put an onscroll event in the <body> tag, but IE 8 does not recognize it.
> This is my code:
>
> <body onscroll="moveHurdleButtons()" >
>
> The function never gets called. I put a simple alert message in it as
> follows:
>
> function moveHurdleButtons( )
> {
> alert("I got here.")
> }
>
> This works in FireFox.

We will be happy to hear your thoughts

Leave a reply

TechEggs
Logo