Differences between revisions 4 and 5
Revision 4 as of 2005-04-08 12:19:11
Size: 528
Editor: dyn-176115
Comment:
Revision 5 as of 2005-04-15 11:47:07
Size: 1531
Editor: dyn176184
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Example 2 ==
This will load a image on the top left corner. When the mouse is pressed on the picture, it will show Google About in Chinese. When the mouse is released, it will show the Dutch version.

{{{#!VimColor type=smil
<itml>
  <head>
    <layout>
      <actor id="topleft" top="0" left="0" width="250" height="100"
      fit="fill" address="localhost:7086"/>
      <actor id="bottomright" top="60" left="250" width="512" height="384"
      fit="fill" address="localhost:7086"/>
    </layout>
  </head>
  <body>
  <par>
      <action id="icon" src="http://www.google.com/logos/da_vinci.gif" actor="topleft" />
      <action id="showgoogle" src="http://www.google.com/intl/zh-CN/about.html"
            begin='icon.mousedown'
            actor="bottomright" />
      <action id="showgoogledut" src="http://www.google.nl/intl/nl/about.html"
            begin='icon.mouseup'
            actor="bottomright"/>
  </par>
  </body>
</itml>
}}}

== Example 1 ==

Example 2

This will load a image on the top left corner. When the mouse is pressed on the picture, it will show Google About in Chinese. When the mouse is released, it will show the Dutch version.

<itml>
  <head>
    <layout>
      <actor id="topleft" top="0" left="0" width="250" height="100" 
      fit="fill" address="localhost:7086"/>
      <actor id="bottomright" top="60" left="250" width="512" height="384" 
      fit="fill" address="localhost:7086"/>      
    </layout>
  </head>
  <body>
  <par>
      <action id="icon" src="http://www.google.com/logos/da_vinci.gif" actor="topleft" />
      <action id="showgoogle" src="http://www.google.com/intl/zh-CN/about.html" 
            begin='icon.mousedown'
            actor="bottomright" />
      <action id="showgoogledut" src="http://www.google.nl/intl/nl/about.html" 
            begin='icon.mouseup'
            actor="bottomright"/>
  </par>
  </body>
</itml>

Example 1

<itml>
  <head>
    <layout>
      <actor id="rutger" top="0" left="0" width="1024" height="768" 
      fit="fill" address="localhost:7086"/>
    </layout>
  </head>
  <body>
  <par>
      <action id="coldid" src="file:/cold.tmp" 
             actor="rutger" dur="5000s">
        <anchor onevent="coldid.warmest" href="#showgoogle" />
      </action>
  </par>
  <action id="showgoogle" src="http://www.google.com/intl/zh-CN/about.html" 
       actor="rutger" />
  </body>
</itml>

JunHu: Dc222Home/WorkShops/ItmlExample (last edited 2008-10-03 20:20:19 by localhost)