English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Die scrolling-Eigenschaft legt fest, ob ein Scrollbalken im <frame> angezeigt wird. Standardmäßig wird ein Scrollbalken angezeigt, wenn der Inhalt größer ist als der <frame>.
Fenster A sollte immer einen Scrollbalken anzeigen:
<frameset cols="50%,50%"> <frame src="frame_a.htm" scrolling="yes"> <frame src="frame_b.htm"> </frameset>Test to see ‹/›
IEFirefoxOperaChromeSafari
Internet Explorer 8 And earlier versions, Firefox, Opera all support the scrolling attribute.
Note:Internet Explorer 9 And later versions no longer support the scrolling attribute.
HTML5 The <frame> tag is not supported.
The scrolling attribute specifies whether a scrollbar is displayed in <frame>.
By default, if the content is greater than <frame>, the scrollbar is displayed in <frame>.
<frame scrolling="auto|yes|no">
Value | Description |
---|---|
auto | Display scrollbars when needed (default). |
yes | Always display scrollbars (even if not necessary). |
no | Do not display scrollbars (even if necessary). |