Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
66 views2 pages

WML Event Trigger Program Guide

This document describes an experiment to write a WML program that triggers an event when going backwards between cards. The program uses WinWAP and contains 3 cards with an onenterbackward event set to go to card 3 when going backwards from card 2.

Uploaded by

Anmol Saxena
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views2 pages

WML Event Trigger Program Guide

This document describes an experiment to write a WML program that triggers an event when going backwards between cards. The program uses WinWAP and contains 3 cards with an onenterbackward event set to go to card 3 when going backwards from card 2.

Uploaded by

Anmol Saxena
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Experiment 6

Aim: write a WML program to trigger a event.


Software used:winwap
Source code:
<?xml version="1.0"?>

<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.2//EN"

"http://www.wapforum.org/DTD/wml12.dtd">

<wml>

<onevent type="onenterbackward">

<go href="#card3"/>

</onevent>

<card id="card1" title="Card 1">

<p>

<anchor>

<go href="#card2"/>

Go to card 2

</anchor>

</p>

</card>

<card id="card2" title="Card 2">

<p>

<anchor>

<prev/>

Going backwards

</anchor>
</p>

</card>

<card id="card3" title="Card 3">

<p>

Hello World!

</p>

</card>

</wml>

Output:

You might also like