Aide - Recherche - Membres - Calendrier
Version complète : pb pour inseré un calcul
Forum Webmaster - Ton Webmaster > Conception de sites > Programmation
jonas
comment inserer un calcul dans je ne suis pas capable de faire le calcul



http://ronalddenis.tripod.com/imc.dwt
epoc
un peu plus de précision please
jonas
ci tu vas sur le site http://ronalddenis.tripod.com/imc.dwt



et tu essais de faire le calcul et bien tu vas voir que ca ne fonctionne pas ????
epoc
sauf mon respect, je ne suis pas diétiticien mais programmeur donc tu pourrais mettre la formule que l'on te fasse une fonction js.

+++
jonas
re salut

regarde sur ce site http://www.chez.com/chocolat/amour/imcjava.htm

ces pour calculler ton indice de masse corporel (IMC) et j'ai recopier le scripts mais je suis pas capable de le faire le calcul



<th width="217" height="56" valign="middle" scope="col">IMC( M&eacute;trique) <img src="flag_fr.gif" width="26" height="16" /></th>

<th width="144" scope="col">IMC-BMI</th>

<th width="250" scope="col"><img src="flag_uk.gif" width="26" height="16" /> &nbsp;&nbsp;(





AMERICAN



systeme ) BMI </th>

</tr>

<tr>

<th height="49" valign="top" scope="col"> <strong><strong> Entrez votre TAILLE en CENTIMETRES : <br />

&nbsp;eventuellement . point d&eacute;cimal </strong> </strong> </th>

<th valign="middle" scope="col"><form name="form1" id="form1" action="">

<label>

<input name="cm" type="text" value="178.1" maxlength="5" /></TD>

</label>

</form></th>

<th scope="col"> <strong><strong> Enter your HEIGHT in INCHES ( 1 ' = 12 " ) <br />

&nbsp;eventualy decimal point . for part of inche </strong> </strong> </th>

</tr>

<tr>

<th height="51" valign="middle" scope="col"> <strong><strong> Entrez votre POIDS en KILOS : </strong> </strong> </th>

<th valign="bottom" scope="col"><form name="form2" id="form2" action="">

<label>

<input name="kg" type="text" value="75.1" maxlength="5" />

</label>

</form></th>

<th scope="col"> <strong><strong>Enter your WEIGHT in POUNDS </strong> </strong> </th>

</tr>

<tr>

<th height="57" valign="middle" scope="col"> <strong><strong> Calculez votre I M C </strong> </strong> </th>

<th valign="middle" scope="col"><form name="form3" id="form3" method="post" action="">

<label>

<INPUT name="calculer" TYPE="button" id="calculer" onClick="IMCBMI(this.form,this.form.cm.value,this.form.kg.value)" value="Calculer" />

</TD>

</label>

</form></th>

<th scope="col"> <strong><strong>Calculate your B M I </strong> </strong> </th>

</tr>

<tr>

<th height="70" valign="top" scope="col"> <strong><strong> Votre I M C est : </strong> </strong> </th>

<th valign="baseline" scope="col"><form name="form4" id="form4" method="post" action="onclick="calcul(this.form);">

<label>

<input name="IMCBMI" type="text" value="" maxlength="5" />

</label>

</form>

<form name="form5" id="form5" method="post" action="">

<label> <input type="reset" name="Reset" value="Effacer" />

</label>

</form>

<p>&nbsp;</p></th>

<th valign="top" scope="col"> <strong><strong> is your B M I </strong> </strong> </th>





j'ai ca comme scripts ces tu ok ???
C\'est une version "bas débit" de notre forum. Pour voir la version complète avec plus d\'information, la mise en page et les images, veuillez cliquez ici.
Invision Power Board © 2001-2012 Invision Power Services, Inc.