animated hover icon example


XML document 

<diputree>
 <hasdefaulttemplate>
  <b>
   <hasicon>
    <icon>
     <when>
      <hovered/>
     </when>
     <hasimage>
      <uri>
       <s>../../../images/folder.gif</s>
      </uri>
     </hasimage>
    </icon>

   </hasicon>
  </b>
 </hasdefaulttemplate>
 <has>
  <b>
   <lt>a branch</lt>
  </b>
  <b>
   <lt>another branch</lt>
  </b>
  <l>
   <lt>a leaf</lt>
  </l>
 </has>
</diputree>

Explanation

    <icon>
     <when>
      <hovered/>
     </when>
     <hasimage>
      <uri>
       <s>../../images/folder.gif</s>
      </uri>
     </hasimage>
    </icon>

The <icon> which <hasimage> located at <uri> ../../images/folder.gif  should be displayed <when> <hovered/>.

Remarks

See also

<t->, <hasdefaulttemplate>


diputree documentation © 2000 dipu