为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

No horizontal scrollbar for wide flash player

  • 9 个回答
  • 4 人有此问题
  • 14 次查看
  • 最后回复者为 bogon

more options

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?

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?

所有回复 (9)

more options

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.

more options

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.

more options

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于修改

more options

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?

more options

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.

more options

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'));
more options

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.

more options

You can add code to userContent.css

You can use the ChromEdit Plus or Stylish extension to have easier access to the customization files.


@-moz-document domain(www.ssd.noaa.gov){ body { overflow-x:auto !important; } }
more options

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.