Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
03-20-2012, 01:10 AM #1
- Join Date
- Nov 2011
- Thanked 0 Times in 0 Posts
iframe's scroll bar not responding to onmouseup
1) I have a webpage that contains an iframe. The iframe is scrollable.
2) I have the main body of the page responding to onmouseup clicks:
And I have the main body of the child page (displayed in the iframe) also responding to onmouseup clicks:
So clicks on both pages result in hideMenu() on the parent page being called.
Now when the scroll bars on the iframe become visible (due to large amounts of content), I click on the scroll bar, and the hideMenus() function does not respond. I guess the scroll bar is not recognized as part of either the parent page or the iframe's page. I tried adding
to the iframe but that didn't help.
How can I get mouse clicks on the iframe's scroll bar to result in hideMenu being called?
The website can be viewed here: http://www.shahspace.com/bow/home.html