View Single Post
Old 08-11-2004, 05:55 AM   #14
Mobipocket
Enthusiast
Mobipocket began at the beginning.
 
Posts: 47
Karma: 27
Join Date: Jul 2003
Location: France
Device: al
in an HTML file, you make you calculator. here is an example:

--------------------------------------------------------

<p>Guess the solution :</p>

<form name="my_form" onsubmit="if (mytext.value==solution.value) alert ('correct'); else alert (try again!); return false;">

<input type="text" name="my_text"/>
<input type="hidden" name="solution" value="test" />
<input type="submit" value="Let's see"/>
</form>
<a onclick="alert ("the solution was : " + document.my_form.solution.value);">see answer</a>
--------------------------------------------------------

Create a blank publicaton with the Mobipocket Creator, add the HTML file, build the eBook. Use the eBook with Mobipocket Reader. Please note that using the javascript capabilities requires the Mobipocket Reader Pro on your PDA.

You can do calculators, currency converter (like the eNews you can subscribe to in the Web Companion, and you can also see the HTML code inside)....
Mobipocket is offline