tip compositions


Description

If defined, a message is displayed in the browser's message area (most of the time this is the status bar)

Shortcuts

There is a shortcut for the text of the tip

Diagram

diagram of <tip>


A tip

<diputree>
 <has>
  <l>
   <lt>look at my tip!</lt>
   <hastip>
    <tip>
     <hastext>
      <text>
       <s>Hi, I am the tip ...</s>
      </text>
     </hastext>
    </tip>
   </hastip>
  </l>
 </has>
</diputree>

Explanation

<diputree>
 <has>
  <l>
   <lt>look at my tip!</lt>

the hastip relation between the leaf and the tip

   <hastip>
    <tip>

the hastext relation between the tip and the text

     <hastext>
      <text>
       <s>Hi, I am the tip ...</s>
      </text>
     </hastext>
    </tip>
   </hastip>
  </l>
 </has>
</diputree>


A tip with an animated image background

<diputree>
 <has>
  <l>
   <lt>look at my tip!</lt>
   <hastip>
    <tip>
     <hastext>
      <text>
       <s>Hi, I am the tip ...</s>
      </text>
     </hastext>
     <hasbackground>
      <background>
       <hasimage>
        <uri>
         <s>../../images/bglabelani.gif</s>
        </uri>
       </hasimage>
      </background>
     </hasbackground>
    </tip>
   </hastip>
  </l>
 </has>
</diputree>

Explanation

<diputree>
 <has>
  <l>
   <lt>look at my tip!</lt>
   <hastip>
    <tip>
     <hastext>
      <text>
       <s>Hi, I am the tip ...</s>
      </text>
     </hastext>

the hasbackground relation between the tip and the background

     <hasbackground>
      <background>
       <hasimage>
        <uri>
         <s>../../images/bglabelani.gif</s>
        </uri>
       </hasimage>
      </background>
     </hasbackground>
    </tip>
   </hastip>
  </l>
 </has>
</diputree>


diputree documentation © 2000 dipu