bonjour,
J'ai un script à deux balle dans mon site :
http://www.cgm-marbre-rouge.com/index-4.html
il ne fonctionne pas. Le message n'est jamais envoyé il ouvre une page "hosteur"..je ne comprends pas du tout.
Voici le code de la page :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Contact</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="style.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body bgcolor="#EBEBEB" text="#999999" link="#999999" vlink="#999999" alink="#999999" style="padding:0; margin:0" onLoad="MM_preloadImages('images/m1-1.gif','images/m2-2.gif','images/m3-3.gif','images/m4-4.gif','images/m5-5.gif')">
<table cellpadding="0" cellspacing="0" border="0" align="center" >
<tr>
<td valign="top" width="748" height="736" >
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" width="748" height="350" style="background-image:url(images/top.jpg) ">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" width="290" height="350">
<div style=" margin-left:89px; margin-top:48px "><img src="images/logo.gif" alt="" border="0"></div>
<div style=" margin-left:87px; margin-top:15px "><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image21','','images/m1-1.gif',1)"><img alt="" src="images/m1.gif" name="Image21" width="124" height="26" border="0"></a></div>
<div style=" margin-left:87px; margin-top:7px "><a href="index-1.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image22','','images/m2-2.gif',1)"><img alt="" src="images/m2.gif" name="Image22" width="136" height="26" border="0"></a></div>
<div style=" margin-left:87px; margin-top:7px "><a href="index-2.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image23','','images/m3-3.gif',1)"><img alt="" src="images/m3.gif" name="Image23" width="124" height="26" border="0"></a></div>
<div style=" margin-left:87px; margin-top:7px "><a href="index-3.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image24','','images/m4-4.gif',1)"><img alt="" src="images/m4.gif" name="Image24" width="136" height="26" border="0"></a></div>
<div style=" margin-left:87px; margin-top:7px "><a href="index-4.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image25','','images/m5-5.gif',1)"><img alt="" src="images/m5.gif" name="Image25" width="132" height="26" border="0"></a></div>
</td>
<td valign="top" width="458" height="350">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" width="458" height="156">
<div style=" margin-left:14px; margin-top:111px "></div>
</td>
</tr>
<tr>
<td valign="top" width="458" height="16">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" width="383" height="16"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" width="458" height="178"><p> </p>
<p> </p>
<p> </p>
<p> </p>
<p align="center"><font color="#CCCCCC" face="AvantGarde Bk BT">Contactez
nous / Contact us</font></p></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" width="748" height="291" style="background-image:url(images/bg2.gif) ">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" width="748" height="476" style=" background:url(images/bg1.gif) no-repeat bottom ">
<table width="81%" border="0" align="center">
<tr>
<td width="3%" height="200"> </td>
<td width="97%"><table width="98%" height="80" border="0" align="center">
<tr>
<td width="27%"><img src="images/logocourt.gif" width="154" height="66"></td>
<td width="73%"><p align="center"><font color="#CCCCCC" face="AvantGarde Bk BT"><strong>CGM
(Sarl) 12 rue Boielieu 34500 BEZIERS / FRANCE</strong></font></p>
</td>
</tr>
<tr>
<td colspan="2"><table width="100%" height="86" border="0">
<tr>
<td width="28%" height="59"><strong><font size="-1" face="AvantGarde Bk BT">M.
Patrick Gouze</font></strong></td>
<td width="35%"><strong><font size="-1" face="AvantGarde Bk BT">
Gerance </font></strong></td>
<td width="37%"><p><strong><font size="-1" face="AvantGarde Bk BT">Phone
/ + 334 67 28 12 75 Fax / + 334 67 28 79
65 </font></strong></p></td>
</tr>
<tr>
<td><strong><font size="-1" face="AvantGarde Bk BT">M.
J.C. Cathala</font></strong></td>
<td><strong><font size="-1" face="AvantGarde Bk BT">Technical
Gerance </font></strong></td>
<td><strong><font size="-1" face="AvantGarde Bk BT">Mobile
/ + 336 10 49 07 33</font></strong></td>
</tr>
</table>
<p align="justify"><font size="-1" face="AvantGarde Bk BT">Merci
de nous indiquer vos coordonnées, nom et prénoms
et écrire l'objet de votre demande dans l'encadré
ci-dessous pour que nous puissions vous recontacter.
<font color="#999999"> <em>Thank you to indicate
your co-ordinates, name and first names and to
write the object of your request in framed below
so that we can recontact you. </em></font></font></p>
<p> </p></td>
</tr>
</table></td>
</tr>
<tr>
<td height="66"> </td>
<td><form action="/cgi-bin/std/form_by_mail" method="post">
<textarea name="Texte" cols="65" rows="5"></textarea>
<br>
<input type="submit" name="submit" value="Envoyer /Send">
<!-- C'est ici que sont les deux champs cachés... -->
<input type="hidden" name="TargetName" value="inter.consultants@wanadoo.fr">
<input type="hidden" name="UrlAnswer" value="/index-5.html/">
</form>
<div align="center"> <font color="#CCCCCC" size="-1" face="AvantGarde Bk BT">CGM
- NS°451 757 454 00017 APE 141A RCS BEZIERS Email :
<a href="mailto:inter.consultants@wanadoo.fr">inter.consultants@wanadoo.fr</a>
</font></div></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" width="748" height="95" style="background-image:url(images/bottom.jpg) ">
<div style=" margin-left:191px; margin-top:17px; margin-right:10px; line-height:13px " class="s">Copyright
2005-2006 © CGM. All rights reserved.Last version 23/03/06</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
voilà,
Si quelqu'un ne craint pas les maux de têtes..j'ai quand même du daffalgan (en générique). Je vous remercie quand même d'avoir déroulé ce post jusqu'en bas!
Boulet Fashion
[/i][/i][/i][/i][/i][code]
Modifié par bouletfashion (31 Mar 2006 - 15:14)
J'ai un script à deux balle dans mon site :
http://www.cgm-marbre-rouge.com/index-4.html
il ne fonctionne pas. Le message n'est jamais envoyé il ouvre une page "hosteur"..je ne comprends pas du tout.
Voici le code de la page :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Contact</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="style.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body bgcolor="#EBEBEB" text="#999999" link="#999999" vlink="#999999" alink="#999999" style="padding:0; margin:0" onLoad="MM_preloadImages('images/m1-1.gif','images/m2-2.gif','images/m3-3.gif','images/m4-4.gif','images/m5-5.gif')">
<table cellpadding="0" cellspacing="0" border="0" align="center" >
<tr>
<td valign="top" width="748" height="736" >
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" width="748" height="350" style="background-image:url(images/top.jpg) ">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" width="290" height="350">
<div style=" margin-left:89px; margin-top:48px "><img src="images/logo.gif" alt="" border="0"></div>
<div style=" margin-left:87px; margin-top:15px "><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image21','','images/m1-1.gif',1)"><img alt="" src="images/m1.gif" name="Image21" width="124" height="26" border="0"></a></div>
<div style=" margin-left:87px; margin-top:7px "><a href="index-1.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image22','','images/m2-2.gif',1)"><img alt="" src="images/m2.gif" name="Image22" width="136" height="26" border="0"></a></div>
<div style=" margin-left:87px; margin-top:7px "><a href="index-2.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image23','','images/m3-3.gif',1)"><img alt="" src="images/m3.gif" name="Image23" width="124" height="26" border="0"></a></div>
<div style=" margin-left:87px; margin-top:7px "><a href="index-3.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image24','','images/m4-4.gif',1)"><img alt="" src="images/m4.gif" name="Image24" width="136" height="26" border="0"></a></div>
<div style=" margin-left:87px; margin-top:7px "><a href="index-4.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image25','','images/m5-5.gif',1)"><img alt="" src="images/m5.gif" name="Image25" width="132" height="26" border="0"></a></div>
</td>
<td valign="top" width="458" height="350">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" width="458" height="156">
<div style=" margin-left:14px; margin-top:111px "></div>
</td>
</tr>
<tr>
<td valign="top" width="458" height="16">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" width="383" height="16"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" width="458" height="178"><p> </p>
<p> </p>
<p> </p>
<p> </p>
<p align="center"><font color="#CCCCCC" face="AvantGarde Bk BT">Contactez
nous / Contact us</font></p></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" width="748" height="291" style="background-image:url(images/bg2.gif) ">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" width="748" height="476" style=" background:url(images/bg1.gif) no-repeat bottom ">
<table width="81%" border="0" align="center">
<tr>
<td width="3%" height="200"> </td>
<td width="97%"><table width="98%" height="80" border="0" align="center">
<tr>
<td width="27%"><img src="images/logocourt.gif" width="154" height="66"></td>
<td width="73%"><p align="center"><font color="#CCCCCC" face="AvantGarde Bk BT"><strong>CGM
(Sarl) 12 rue Boielieu 34500 BEZIERS / FRANCE</strong></font></p>
</td>
</tr>
<tr>
<td colspan="2"><table width="100%" height="86" border="0">
<tr>
<td width="28%" height="59"><strong><font size="-1" face="AvantGarde Bk BT">M.
Patrick Gouze</font></strong></td>
<td width="35%"><strong><font size="-1" face="AvantGarde Bk BT">
Gerance </font></strong></td>
<td width="37%"><p><strong><font size="-1" face="AvantGarde Bk BT">Phone
/ + 334 67 28 12 75 Fax / + 334 67 28 79
65 </font></strong></p></td>
</tr>
<tr>
<td><strong><font size="-1" face="AvantGarde Bk BT">M.
J.C. Cathala</font></strong></td>
<td><strong><font size="-1" face="AvantGarde Bk BT">Technical
Gerance </font></strong></td>
<td><strong><font size="-1" face="AvantGarde Bk BT">Mobile
/ + 336 10 49 07 33</font></strong></td>
</tr>
</table>
<p align="justify"><font size="-1" face="AvantGarde Bk BT">Merci
de nous indiquer vos coordonnées, nom et prénoms
et écrire l'objet de votre demande dans l'encadré
ci-dessous pour que nous puissions vous recontacter.
<font color="#999999"> <em>Thank you to indicate
your co-ordinates, name and first names and to
write the object of your request in framed below
so that we can recontact you. </em></font></font></p>
<p> </p></td>
</tr>
</table></td>
</tr>
<tr>
<td height="66"> </td>
<td><form action="/cgi-bin/std/form_by_mail" method="post">
<textarea name="Texte" cols="65" rows="5"></textarea>
<br>
<input type="submit" name="submit" value="Envoyer /Send">
<!-- C'est ici que sont les deux champs cachés... -->
<input type="hidden" name="TargetName" value="inter.consultants@wanadoo.fr">
<input type="hidden" name="UrlAnswer" value="/index-5.html/">
</form>
<div align="center"> <font color="#CCCCCC" size="-1" face="AvantGarde Bk BT">CGM
- NS°451 757 454 00017 APE 141A RCS BEZIERS Email :
<a href="mailto:inter.consultants@wanadoo.fr">inter.consultants@wanadoo.fr</a>
</font></div></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" width="748" height="95" style="background-image:url(images/bottom.jpg) ">
<div style=" margin-left:191px; margin-top:17px; margin-right:10px; line-height:13px " class="s">Copyright
2005-2006 © CGM. All rights reserved.Last version 23/03/06</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
voilà,
Si quelqu'un ne craint pas les maux de têtes..j'ai quand même du daffalgan (en générique). Je vous remercie quand même d'avoir déroulé ce post jusqu'en bas!
Boulet Fashion
[/i][/i][/i][/i][/i][code]
Modifié par bouletfashion (31 Mar 2006 - 15:14)