Afficher un message
Vieux 29/04/2007, 15h46   #3
Schmol 44
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Addition en JavaScript

Thierry Loiseau a émis l'idée suivante :
>> Mon Club m'a demandé de faire un petit Formulaire pour envoyer aux
>> Adhérents. Je l'ai réalisé en "HTML" sans difficultés majeures, mais
>> il faudrait incorporer une addition automatique.

>
> Un début de code à nous montrer ?
>
> Thierry


Voici, voilà :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">

<HTML>
<HEAD>
<TITLE>Saisissez le titre de la page</TITLE>
<META http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<META Name="GENERATOR" content="SC_HTML by SoftChris">
<META Name="AUTHOR" Content="SoftChris">
<META Name="DESCRIPTION" Content="Description de votre site">
<META Name="KEYWORDS" Content="Saisissez vos mots clés de recherche
séparés par une virgule">
</HEAD>

<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<table align="center" width="100%" border="2"
Bordercolorlight="#00AA00" Bordercolordark="#00AA00" BGCOLOR="#ccffff">
<tr>
<td colspan="" Align="center">
<font color ="#770000">
ATELIERS + Jours/horaires :
</td>

<td align="center">
<font color ="#770000">
Durée :
</td>

<td align="center">
<font color ="#770000">
Prix :
</td>

<td>
</td>
</TR>

<tr>
<td colspan="3">
<ul>
<font color ="#770000">
<li>1er Trimestre :

</td>
<tr>
<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Textarea align=left cols=30 Rows=3 Name="trimestre1"></TEXTAREA>
</td>

<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="durée">
<Input style="" length="30" Name="durée">
</td>

<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="prix">
<Input style="" length="30" Name="prix">
</td>
</tr>

<tr>
<td colspan="3">
<font color ="#770000">
<ul>
<li>2ème Trimestre :
</td>
<tr>
<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Textarea align=left cols=30 Rows=3 Name="trimestre2"></TEXTAREA>
</td>

<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="durée">
</B><Input style="" length="30" Name="durée">
</td>

<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="prix">
</B><Input style="" length="30" Name="prix">
</td>
</tr>

<tr>
<td colspan="3">
<ul>
<font color ="#770000">
<li>3ème Trimestre :
</td>
<tr>
<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Textarea align=left cols=30 Rows=3 Name="trimestre3"></TEXTAREA>
</td>

<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="durée">
</B><Input style="" length="30" Name="durée">
</td>

<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="prix">
</B><Input style="" length="30" Name="prix">
</td>
</tr>

<tr>
<td align="center">
<font color ="#770000">
Adhésion au CLO
</td>
<td align="right">
<font color ="#770000">
Orvaltais : 10¤ &nbsp;&nbsp;
<br>
Non Orvaltais : 12¤ &nbsp;&nbsp;
</td>
<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="adhésion">
</td>
</tr>
<tr>
<td colspan="2" align= "right">
<font color ="#770000">
TOTAL :&nbsp;&nbsp;
</td>
<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="TOTAL">
</td>
</tr>
</table>
</BODY>
</HTML>

merci de ton intérêt.

--
Amicalement
Schmol 44
e-mail : hcheli@#nospam#club-internet.fr
Site perso : http://hcheli.ville-orvault.net

"Une Question eststupide tant qu'elle n'est pas posée"


  Réponse avec citation
 
Page generated in 1,12237 seconds with 9 queries