Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > Miscellaneous > Archive > iSilo/X

Notices

 
 
Thread Tools Search this Thread
Old 08-16-2004, 11:53 AM   #16
Mobipocket
Enthusiast
Mobipocket began at the beginning.
 
Posts: 47
Karma: 27
Join Date: Jul 2003
Location: France
Device: al
No, you don't. Moreover, the Mobipocket Publisher will disappear, replaced by the Creator in few months.
Mobipocket is offline  
Old 09-09-2004, 11:11 AM   #17
PeterL
Member
PeterL began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2004
Device: palm Tungsten E
Quote:
Originally Posted by Mobipocket
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)....
Do you know if
Code:
String.Substring
and
Code:
String.length
is supported? Or how doI get the answer with say 1 decimal?
PeterL is offline  
Old 09-10-2004, 06:02 AM   #18
Mobipocket
Enthusiast
Mobipocket began at the beginning.
 
Posts: 47
Karma: 27
Join Date: Jul 2003
Location: France
Device: al
The String object is fully supported.

Quote:
Originally Posted by PeterL
Do you know if
Code:
String.Substring
and
Code:
String.length
is supported? Or how doI get the answer with say 1 decimal?
Mobipocket is offline  
Old 10-16-2005, 02:10 PM   #19
ptr_lks
Junior Member
ptr_lks began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2005
Device: qtek s100
With this code
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Ber&auml;kna vv-points</title>
<script language="javascript">
<!-- 

function iPoints(){
	var f = document.vvp;
	
       f.points.value = Math.round((f.volym.value/100)*(f.kcal.value/60 + f.fett.value/9)*10)/10;
            		                     
}
//->
</script>
</head>

<body>
<h2><strong>Omvandla till points</strong></h2>
<form id="form1" name="vvp" method="post" action="">
  <table width="394" border="0">
    <tr>
      <td width="145">Konsumerad&nbsp;M&auml;ngd</td>
      <td width="239"><input name="volym" type="text" id="volym" value="100" size="6" maxlength="3" />        
      &nbsp;&nbsp;&nbsp;gram</td>
    </tr>
    <tr>
      <td>Energi</td>
      <td><input name="kcal" type="text" id="kcal" size="6" maxlength="4" />      
      kcal/100g</td>
    </tr>
    <tr>
      <td>Fett</td>
      <td><input name="fett" type="text" id="fett" size="6" maxlength="3" />      
      gram/100g</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><input name="knp" type="button" id="knp" onClick="iPoints( );" value="ge points" /></td>
    </tr>
    <tr>
      <td>Summa points </td>
      <td><input name="points" type="text" id="points" size="6" maxlength="5" /></td>
    </tr>
  </table>
</form>
</body>
</html>
after convertin with mobipocket creator 4 I´m geting
Quote:
Some error happened while executing a script.
Error: Invalid type for requested action In:_widget_event At line:0

Last edited by ptr_lks; 10-16-2005 at 03:59 PM.
ptr_lks is offline  
 


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
what's the big deal about formats? -- a little calculation sic Sony Reader 4 11-25-2006 03:10 PM


All times are GMT -4. The time now is 04:23 AM.


MobileRead.com is a privately owned, operated and funded community.