Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 636
  • Last Modified:

window.onscroll event not captured with firefox 1.07 butt works fine in IE

I'm twiddling around with javascript code and have the following:

<script language="javascript" type="text/javascript">
window.onscroll = doOnScroll;
function doOnScroll() {
   alert("Scroll");
}
</script>

This code works fine in ie, but doesn't work at all in firefox. Is there a simple and clean workaround for this? This solution must be cross browser compatible... at least for ie and firefox.

Here's a website I found with the example...

http://www.dynamicwebsitesystems.com/ScrollTest.htm

Thanks in advance
0
jinduy
Asked:
jinduy
  • 3
  • 2
1 Solution
 
LakioCommented:
works in my FF :s
0
 
vladimir_kalashnikovCommented:
Also works correctly in mine.  Annoying, but functional.
0
 
LakioCommented:
hehe
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
jinduyAuthor Commented:
ok im confused why it doesnt work on my browser... what version FF are you using? thanks...
0
 
LakioCommented:
1.5.01
0
 
vladimir_kalashnikovCommented:
1.5.0.1
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now