Back Next Index Table of contents Home
Go to...
ProgressDone (8 of 9)To do.

Chapter 4. Synchronization - screen 8 of 9

The <par> tag

The <par> tag makes its children be executed in parallel.

<smil>
 <head>
  <layout>
   <root-layout width="300" height="200"
        background-color="white" />
   <region id="vim_icon" left="75" top="50"
        width="32" height="32" />
   <region id="soja_icon" left="150" top="50"
        width="100" height="30" />
  </layout>
 </head>
 <body>
  <par>
   <img src="vim32x32.gif" alt="The vim icon"
        region="vim_icon" dur="6s" />
   <img src="madewithsoja.gif" alt="Made with SOJA"
        region="soja_icon" dur="6s" />
  </par>
 </body>
</smil>
Source - See it running in SOJA

NB: adding a begin="1s" to the second <img> tag would make SOJA icon render one second after the beginning of the <par>.

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