<?xml version = "1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.2//EN"
    "http://www.wapforum.org/DTD/wml12.dtd"> 

<!-- Fig. 26.XX : tipTest.wml -->
<!-- client side WAP document -->

<wml>
   <card id="index" title="Tip Test">      
      <onevent type = "onenterforward">
         <go href="/advjhtp1/tiptest" />
      </onevent>
   </card>

   <card id = "card2" title = "Tip Test">
      <do type="accept" label="OK">
         <go href="#card3"/>
      </do>

      <p>
         <img src = "$image" height = "55" width = "55"
            alt = "Tip Image" />
      </p>
   </card>

   <card id = "card3" title = "Tip Test">
      <do type = "accept" label = "Submit">
         <go href = "checkAnswer.wmls#checkAnswer()" />
      </do>

      <p>
         The tip shown on the previous screen is called:<br />

         <select name = "question">
            <option value = "$attribute1">$select1</option>
            <option value = "$attribute2">$select2</option>
            <option value = "$attribute3">$select3</option>
            <option value = "$attribute4">$select4</option>
         </select>
      </p>
   </card>

   <card id = "card4" title = "Tip Test">
      <do type = "accept" label = "Next">
         <go href = "info.wml" />
      </do>

      <p>
         Correct!<br/><br/>
         $name <br/>
         $description
      </p>
   </card>

   <card id = "card5" title = "Tip Test">
      <do type = "accept" label = "Next">
         <go href = "info.wml" />
      </do>

      <p>
         Incorrect.<br/><br/>
         $name <br/>
         $description
      </p>
   </card>
</wml>
