No horizontal scrollbar for wide flash player
If I resize the browser window, or if I rotate my monitor to portrait mode, the flash animation is wider than the window. No horizontal scrollbar is available in Firefox. In order to view the right side of the animation I have to orient the monitor in landscape mode and maximize the browser window.
I assume this must be a problem with getting size information from the flash plugin. Is there a workaround?
Tüm Yanıtlar (9)
Are you making those changes while Firefox is running?
You may need to close and restart Firefox if that change is not detected.
Window sizes and positions are stored in the localstore.rdf file in the Firefox Profile Folder.
No, I have the problem all the time in portrait mode on this website. http://www.ssd.noaa.gov/goes/east/tatl/flash-rb.html
I read a knowledge base article about localstore.rdf. That's not my problem. The problem is that Firefox does not display a horizontal scrollbar for this site when the content is wider than the window.
My system set at 1280 x 760 resolution. There is no bottom/horizontal scroll bar on that site; they may have code on that page to not display a horizontal scroll bar. Height and width of display seems fixed by that site, so probably will not show in portrait mode, only landscape. The only way that I can see full radar is to close any sidebar that is open and use Full Screen Mode; press F11 to toggle Full Screen Mode on or off. See http://kb.mozillazine.org/Netbooks#Full_screen
If this reply solves your problem, please click "Solved It" next to this reply when signed-in to the forum.
SafeBrowser tarafından
Thanks, SafeBrowser. Most of the time I'm not that interested in the part of the picture over by Africa anyhow. :o)
I have never tried to code a browser like Firefox, though I have written a few Windows applications. Usually the presence of scrollbars is based on the size of the content displayed in the window. I assume that the absence of a horizontal scrollbar in Firefox probably means that the browser is getting bogus size info, either from the web site or from the embedded Flash player.
What I'm wondering is, is this a bug or a feature? Is it fixable?
Ah, I just ran an experiment. There is a (deprecated) java version of the same loop at http://www.ssd.noaa.gov/goes/east/tatl/loop-rb.html
With java you do get a scrollbar. So the problem may not be in Firefox, but in the way the Flash page is coded.
That page use overflow-x:hidden to hide the scroll bar:
body,th { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 90%; color: #000000; margin: 0px; padding: 0px; overflow:auto; overflow-x:hidden; }
javascript:void(document.body.style.setProperty('overflow','auto','important'));
Thanks, cor-el. No speakum webmonkey. Did not know that a web site can turn off my scrollbar. Can I override that behavior, like, manually? I mean, as far as I'm concerned, I'll be the judge of whether I need a scrollbar or not.
Maybe I can contact NOAA and ask them to change their coding practices.
You can add code to userContent.css
You can use the ChromEdit Plus or Stylish extension to have easier access to the customization files.
- ChromEdit Plus: http://webdesigns.ms11.net/chromeditp.html
@-moz-document domain(www.ssd.noaa.gov){ body { overflow-x:auto !important; } }
Trust the fine folks at Mozilla to provide a workaround. Cor-el, I'll read the documentation you've linked. Thanks again.
I'm also e-mailing the webmaster at ssd.noaa.gov. Who knows, maybe they'll fix it on their end.