HTML iFrames

HTML <iframe> scrolling attribuut

  • Het <iframe> scrolling attribuut specificeert of er schuifbalken worden getoond in een iframe.

Attribuut voorbeeld

naar boven 

Attribuut waarden

Waarde Beschrijving
autoEr wordt een schuifbalk getoond wanneer het vereist is.
yesEr wordt altijd een schuifbalk getoond.
noEr wordt nooit een schuifbalk getoond, ook niet wanneer het nodig is.

naar boven 

tip

Standaard wordt er een schuifbalk toegevoegd aan een iframe wanneer de inhoud te groot is voor de afmetingen van de iframe !

Opbouw

<iframe scrolling="auto / yes / no"></iframe>

Browser ondersteuning

Internet Explorer Firefox Chrome Opera Safari

  • Het <iframe> scrolling attribuut wordt ondersteunt in de bekende browsers.
  • De waarde "yes" werkt niet in Chrome of Safari !
naar boven naar boven naar src attribuut
naar boven naar het src attribuut