Sondage sur un site

Résolu
liza35 -  
 liza35 -
Bonjour,

Je travaille sur un site à partir de FrontPage 2000 et j'aimerais mettre en place des petits sondages (poser une question où les gens doivent répondre oui ou non) comme c'est le cas par exemple sur le site www.lefigaro.fr (question du jour : avez vous retardez vos achats pour attendre les soldes).

Savez vous comment faire?

Merci
Configuration: Windows XP
Internet Explorer 6.0

3 réponses

  1. superjojo01 Messages postés 525 Statut Membre 36
     
    coucou je tai refait sa a ma maniere, je ne c'est pas si c'est sa que tu recherche
    désoler si j'ai mis un peut de temps mais il y avais des ereures dans ton programes :

    <!-- debut du code sondage 1001v 1.2 -->
    <SCRIPT LANGUAGE="JavaScript">
    function desactiveFormv11(f) { <BR>if (document.all ||
    document.getElementById) { <BR>for (i = 0; i < f.length; i++) { <BR>var t =
    f.elements[i]; <BR>if (t.type.toLowerCase() == "submit" || t.type.toLowerCase()
    == "reset") <BR>t.disabled = true; <BR>} <BR>} <BR>return true; <BR>}
    <BR><BR>function checkv11(f) { <BR>res = desactiveFormv11(f); <BR>return true;

    </SCRIPT>
    <table cellpadding=2 cellspacing=0 width="179"
    bordercolorlight="#87CEEB" bordercolordark="#87CEEB" border="1" bgcolor="#FFFFFF"> <tr
    valign="bottom" align="center" bgcolor=#b0c4de><td align="center" width="142" bgcolor="#87CEEB" style="border-style: double; border-color: #87CEEB">
    <p align="center"><b><font size="2" color="#FF0000" face="Arial"><u>avez vous retardez
    vos achats pour
    attendre les soldes?</u></font></b></p>
    </td></tr><tr valign="bottom" align="center"
    bgcolor=#87ceeb><td align="center" width="142" style="border-style: double; border-color: #87CEEB" bgcolor="#FFFFFF">
    <form onSubmit="return checkv11(this)" method="post" action="http://www.1001-votes.com/vote/mvoteres11.php"
    target='_blank'><TABLE cellpadding=0 cellspacing=0>

    <TR> <BR><TD VALIGN=top bgcolor="#FFFFFF"> <BR><input type="radio" name="vote"
    value="1" style="border-width: 0; background-color: #87ceeb" >
    <BR></TD> <BR><TD ALIGN=LEFT bgcolor="#FFFFFF"> <BR><font size="1" color="#000000" face="Arial"><b>OUI </b></font><font face="verdana" size="1" color="#000000">t</font> <BR></TD> <BR></TR>
    <TR> <BR><TD VALIGN=top><BR>
    <input type="radio" name="vote" value="2" style="border-width: 0;
    background-color: #87ceeb" > <BR></TD> <BR><TD ALIGN=LEFT bgcolor="#FFFFFF">
    <BR><FONT face=Arial size=1 color=#000000><b>NON</b></font>
    <BR></TD> <BR></TR> <TR> <BR><TD VALIGN=top> <BR>
    <input type="radio" name="vote" value="4" style="border-width: 0;
    background-color: #87ceeb" > <BR></TD> <BR><TD ALIGN=LEFT bgcolor="#FFFFFF">
    <BR><FONT face=Arial size=1 color=#000000><b>sans opinion</b></font>
    <BR></TD> <BR></TR> <TR> <BR><TD VALIGN=top>
    <BR></b></font></TD> <font face="Arial" size="1"><b> <BR></b></font></TR>
    </TABLE>
    <BR><font size=1>
    <INPUT TYPE="submit" VALUE=" Je vote » " onClick="this.value='Vote envoyé'"
    style="font-size: 10; color:#000000; background-color:#87ceeb;
    border-color:#000000; border-width: 1;" > <BR><BR><a
    href='http://www.1001-votes.com/vote/mvoteres11.php?idv=66359&lg=fr&ncom=1'
    target='_blank'><font face=verdana size=1 color=#000000>résultats
    »</a> <BR><BR></font></font></td></table>
    <BR></form> <BR><!-- fin du code sondage 1001v 1.2 -->

    aller bonne journé et amuse toi bien.
    1
  2. drhouse89 Messages postés 169 Statut Membre 6
     
    Salut,

    Va sur http://www.123votez.com/ pour créer des sondages très simples.
    Sinon il te faut des connaissances en html.

    Bonne chance pour ton site
    0
    1. liza35
       
      c'est vrai que je n'est pas beaucoup de notion en html
      mais j'ai trouver ce code

      <!-- debut du code sondage 1001v 1.2 -->
      <SCRIPT LANGUAGE="JavaScript">
      function desactiveFormv11(f) { <BR>if (document.all ||
      document.getElementById) { <BR>for (i = 0; i < f.length; i++) { <BR>var t =
      f.elements[i]; <BR>if (t.type.toLowerCase() == "submit" || t.type.toLowerCase()
      == "reset") <BR>t.disabled = true; <BR>} <BR>} <BR>return true; <BR>}
      <BR><BR>function checkv11(f) { <BR>res = desactiveFormv11(f); <BR>return true;

      </SCRIPT>
      <table cellpadding=2 cellspacing=0 width="179"
      bordercolorlight="#87CEEB" bordercolordark="#87CEEB" border="1" bgcolor="#FFFFFF"> <tr
      valign="bottom" align="center" bgcolor=#b0c4de><td align="center" width="142" bgcolor="#87CEEB" style="border-style: double; border-color: #87CEEB">
      <p align="center"><b><font size="2" color="#FF0000" face="Arial"><u>Comment
      voyez- vous ce
      site?</u></font></b></p>
      </td></tr><tr valign="bottom" align="center"
      bgcolor=#87ceeb><td align="center" width="142" style="border-style: double; border-color: #87CEEB" bgcolor="#FFFFFF">
      <form onSubmit="return checkv11(this)" method="post" action="http://www.1001-votes.com/vote/mvoteres11.php"
      target='_blank'><TABLE cellpadding=0 cellspacing=0>

      <TR> <BR><TD VALIGN=top bgcolor="#FFFFFF"> <BR><input type="radio" name="vote"
      value="1" style="border-width: 0; background-color: #87ceeb" >
      <BR></TD> <BR><TD ALIGN=LEFT bgcolor="#FFFFFF"> <BR><font size="1" color="#000000" face="Arial"><b>excellen</b></font><font face="verdana" size="1" color="#000000">t</font> <BR></TD> <BR></TR>
      <TR> <BR><TD VALIGN=top><BR>
      <input type="radio" name="vote" value="2" style="border-width: 0;
      background-color: #87ceeb" > <BR></TD> <BR><TD ALIGN=LEFT bgcolor="#FFFFFF">
      <BR><FONT face=Arial size=1 color=#000000><b>pas mal</b></font>
      <BR></TD> <BR></TR> <TR> <BR><TD VALIGN=top> <BR>
      <input type="radio" name="vote" value="4" style="border-width: 0;
      background-color: #87ceeb" > <BR></TD> <BR><TD ALIGN=LEFT bgcolor="#FFFFFF">
      <BR><FONT face=Arial size=1 color=#000000><b>mauvais</b></font>
      <BR></TD> <BR></TR> <TR> <BR><TD VALIGN=top>
      <BR><input type="radio" name="vote" value="5" style="border-width: 0;
      background-color: #87ceeb" > <BR></TD> <BR><TD ALIGN=LEFT bgcolor="#FFFFFF">
      <font face="Arial" size="1"><b>
      <BR>sans opinion
      <BR></b></font></TD> <font face="Arial" size="1"><b> <BR></b></font></TR>
      </TABLE>
      <BR><font size=1>
      <INPUT TYPE="submit" VALUE=" Je vote » " onClick="this.value='Vote envoyé'"
      style="font-size: 10; color:#000000; background-color:#87ceeb;
      border-color:#000000; border-width: 1;" > <BR><BR><a
      href='http://www.1001-votes.com/vote/mvoteres11.php?idv=66359&lg=fr&ncom=1'
      target='_blank'><font face=verdana size=1 color=#000000>résultats
      »</a> <BR><BR></font></font></td></table>
      <BR></form> <BR><!-- fin du code sondage 1001v 1.2 -->

      ça à l'air bien mais j'arrive pas à le faire marcher
      dc je suppose qu'il y a une faute quelque part
      est - ce - qqn sait où?
      merci
      0
  3. slahdevo Messages postés 15 Statut Membre
     
    salut avant d'attaquer le sondage il faut soigner l'orthographe d'abord(avez vous retardez vos achats pour attendre les soldes?? "avez vous retardé " ok..
    0
    1. liza35
       
      merci,
      j'ai trouvé comment le faire fonctionner
      PS: désolé pour les fautes, je n'ai pas fait attention... enfin ça arrive à tout le monde... et puis je crois qu'on comprend quand même ce que je veux dire...
      0