T
The Googler
Here is the site in question:
http://dev.unmeaningflattery.com/
Open it in Firefox (this problem does not occur in IE).
Click on one of the image thumbnails to see the larger image appear
(works by changing "display" property). Note how you can arrow up and
down the page or (if you have it) use your mouse scroll button to move
up and down the page.
Click the CLOSE button next to the larger image that appeared.
Once it disappears, see how you can't scroll anymore? If you click
again inside the browser window, you can scroll just fine.
Somewhat annoying.
I think what's happening is when you click the close button (you can
also click the larger image to close it as well), it's "display"
property is set to "none" and then because the last object with focus
is now no longer displayed, Firefox gets confused about its
context/position on the page and doesn't allow you to scroll up and
down until you click inside the window and reset the focus on a visible
part of the page.
Do you guys agree? Anyone have any thoughts on how I can fix this?
I've tried adding an additional last line in the function that toggles
the display value. That extra line sets the focus to just the window,
but it doesn't seem to fix the bug.
Thanks for any ideas you have that might allow me to fix this
admittedly minor but annoying bug.
-peter
http://dev.unmeaningflattery.com/
Open it in Firefox (this problem does not occur in IE).
Click on one of the image thumbnails to see the larger image appear
(works by changing "display" property). Note how you can arrow up and
down the page or (if you have it) use your mouse scroll button to move
up and down the page.
Click the CLOSE button next to the larger image that appeared.
Once it disappears, see how you can't scroll anymore? If you click
again inside the browser window, you can scroll just fine.
Somewhat annoying.
I think what's happening is when you click the close button (you can
also click the larger image to close it as well), it's "display"
property is set to "none" and then because the last object with focus
is now no longer displayed, Firefox gets confused about its
context/position on the page and doesn't allow you to scroll up and
down until you click inside the window and reset the focus on a visible
part of the page.
Do you guys agree? Anyone have any thoughts on how I can fix this?
I've tried adding an additional last line in the function that toggles
the display value. That extra line sets the focus to just the window,
but it doesn't seem to fix the bug.
Thanks for any ideas you have that might allow me to fix this
admittedly minor but annoying bug.
-peter