> Tous les forumsForum des Webmasters

 sondage sur un site
Statut du sujet : NON RESOLU Imprimer
 liza35
  Posté le 25/06/2008 @ 10:50  
 Petite astucienne

21 Messages

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

 Afficher le profil de liza35Envoyer un message privé à liza35
 
 
Publicité
 elle  Posté le 25/06/2008 à 13:05  
  Maîtresse astucienne


15899 Messages

Fais une recherche Google : script sondage.

Afficher le profil de elle Voir la configuration de elleEnvoyer un message privé à elle
 Revenir en haut de la page
 liza35  Posté le 26/06/2008 à 10:26  
Petite astucienne

21 Messages

j'ai trouvé ce code mais j'arrive pas à le faire fonctionner

<!-- 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&amp;lg=fr&amp;ncom=1'

target=

'_blank'><font face=verdana size=1 color=#000000>

résultats

»

Quelqu'un sait où il y a une faute?

merci

Afficher le profil de liza35Envoyer un message privé à liza35
 Revenir en haut de la page
 liza35  Posté le 26/06/2008 à 14:16  
Petite astucienne

21 Messages

problème résolu

Afficher le profil de liza35Envoyer un message privé à liza35
 Revenir en haut de la page
Haut de la page 
Inscrivez-vous !
- Posez vos questions

- Résolvez vos problèmes

- Aidez les autres

- Participez et créez vos discussions

- Dialoguez en privé avec d'autres membres

- Suivez vos sujets préférés

- Affichez les signatures des membres

TOUT EST GRATUIT !

Je crée mon compte



Vous avez besoin d'aide ?
Des centaines d'experts sont à votre disposition sur les forums PC Astuces pour vous aider gratuitement, 24h/24, 7j/7.

Les derniers sujets résolus !
 

 > Tous les forumsForum des Webmasters

 
Forum PC Astuces© 1997-2008 WebastucesAller en haut de la page