Back Next Index Table of contents Home
Go to...
ProgressDone (16 of 17)To do.

Chapter 3. Layout - screen 16 of 17

Make your medium scroll within its area

And to conclude with the fit attribute, the last case is when the media is bigger than its region. You would like to scroll this area, as explain below.

What scroll does... ... ... and the result!

Set the fit attribute to "scroll" in your <region> tag.

<smil>
 <head>
  <layout>
   <root-layout width="147" height="116" background-color="yellow" />
   <region id="region_1" left="8" top="10" width="116" height="81"
           background-color="white" fit="scroll"/>
  </layout>
 </head>
 <body>
  <!-- this image is BIGGER than its region -->
  <img src="eurotango.gif" region="region_1" />
 </body>
</smil>
Source (vim HTML version)

The SMIL Tutorial is ©HELIO 1998-1999 all rights reserved
Comments about this page