Ok merci.
Je sais pas si je suis sur la bonne voix pour la modification, j'ai fais un essai avec le code modifié ci-dessous et il y a un peux de mieux.
Serait-il possible d'avoir un coup de main pour le reste du code à modifier car là je suis perdu.
Sinon pour le javascript, y a pas moyen de le déplacer dans le code ou d'utiliser un codage autres qui pourrait remplacer ces fonctions?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Document sans nom</title>
<style type="text/css">
}
#C1 img {
cursor:pointer;
}
#C9 img {
cursor:pointer;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
</style>
<script language="javascript">
function remplace(image) {
document.getElementById("C8").innerHTML="<img src='"+image+"'>";
}
</script>
<script language="javascript">
function affiche_text(id) {
if (id == "C1"){
var text1 = "<strong style='color: rgb(68, 68, 68);'><span style='font-size: 14px;'>XXX</span></strong><br /><strong style='color: rgb(68, 68, 68);'><span style='font-size: 14px;'>XXX</span></strong><br /><br /><strong style='color: rgb(68, 68, 68);'><font color='#9900cc'><strong><span style='font-size: 12px;'>XXX</span></strong></font>";
var text2 = "<span style='font-weight: bold; font-size: 14px; line-height: 16px; color: rgb(68, 68, 68);'>XXX</span><br /><span style='font-weight: bold; font-size: 14px; line-height: 16px; color: rgb(68, 68, 68);'>XXX</span><br /><br /><br /><span style='line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);'>XXX</span><br /><br /><span style='line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);'> XXX</span><br /><span style='line-height: 13px; color: rgb(102, 102, 102);'>XXX</span><br /><span style='line-height: 13px; color: rgb(102, 102, 102);'>XXX</span><br /><span style='line-height: 13px; color: rgb(102, 102, 102);'>XXX</span><br /><br /><span style='line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);'> CXXX</span><br /><span style='line-height: 13px; color: rgb(102, 102, 102);'>XXX</span><br /><br /><span style='line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);'>XXX</span><br /><span style='line-height: 13px; color: rgb(102, 102, 102);'>XXX</span><br /><br /><span style='line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);'> XXX</span><br /><span style='line-height: 13px; color: rgb(102, 102, 102);'>XXX</span><br /><span style='line-height: 13px; color: rgb(102, 102, 102);'>XXX</span><br /><br /><span style='line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);'>XXX</span><br /><span style='line-height: 13px; color: rgb(102, 102, 102);'>XXX</span><br /><br /><span style='line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);'> Autre:</span><br /><span style='line-height: 13px; color: rgb(102, 102, 102);'>XXX</span>";
var text3 = "<strong style='color: rgb(68, 68, 68);'>XXX</strong><br /><br /><span style='color: rgb(102, 102, 102);'> XXX</span><br style='color: rgb(102, 102, 102);' /><br style='color: rgb(102, 102, 102);' /><span style='color: rgb(102, 102, 102);'>XXX</span><br style='color: rgb(102, 102, 102);' /><br style='color: rgb(102, 102, 102);' /><span style='color: rgb(102, 102, 102);'> XXX</span><br style='color: rgb(102, 102, 102);' /><br style='color: rgb(102, 102, 102);' /><span style='color: rgb(102, 102, 102);'> XXX</span><br /><br /><br /><strong style='color: rgb(68, 68, 68);'>XXX</strong><br /><br /><span style='color: rgb(102, 102, 102);'>XXX</span><br style='color: rgb(102, 102, 102);' /><br style='color: rgb(102, 102, 102);' /><span style='color: rgb(102, 102, 102);'> XXX</span><br style='color: rgb(102, 102, 102);' /><br style='color: rgb(102, 102, 102);' /><span style='color: rgb(102, 102, 102);'> XXX</span><br style='color: rgb(102, 102, 102);' /><br style='color: rgb(102, 102, 102);' /><span style='color: rgb(102, 102, 102);'> XXX</span>";
var text4 = "<strong style='color: rgb(68, 68, 68);'><span style='font-size: 10px;'>XXX</span></strong>";
}
else{
var text1 = "<strong style='color: rgb(68, 68, 68);'><span style='font-size: 14px;'>XXX</span></strong><br /><strong style='color: rgb(68, 68, 68);'><span style='font-size: 14px;'>XXX</span></strong><br /><br /><strong style='color: rgb(68, 68, 68);'><font color='#9900cc'><strong><span style='font-size: 12px;'>XXX</span></strong></font>";
var text2 = "<span style='font-weight: bold; font-size: 14px; line-height: 16px; color: rgb(68, 68, 68);'>XXX</span><br /><span style='font-weight: bold; font-size: 14px; line-height: 16px; color: rgb(68, 68, 68);'>XXX</span><br /><br /><br /><span style='line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);'>XXX</span><br /><br /><span style='line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);'> XXX</span><br /><span style='line-height: 13px; color: rgb(102, 102, 102);'>XXX</span><br /><span style='line-height: 13px; color: rgb(102, 102, 102);'>XXX</span><br /><span style='line-height: 13px; color: rgb(102, 102, 102);'>XXX</span><br /><br /><span style='line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);'> CXXX</span><br /><span style='line-height: 13px; color: rgb(102, 102, 102);'>XXX</span><br /><br /><span style='line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);'>XXX</span><br /><span style='line-height: 13px; color: rgb(102, 102, 102);'>XXX</span><br /><br /><span style='line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);'> XXX</span><br /><span style='line-height: 13px; color: rgb(102, 102, 102);'>XXX</span><br /><span style='line-height: 13px; color: rgb(102, 102, 102);'>XXX</span><br /><br /><span style='line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);'>XXX</span><br /><span style='line-height: 13px; color: rgb(102, 102, 102);'>XXX</span><br /><br /><span style='line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);'> Autre:</span><br /><span style='line-height: 13px; color: rgb(102, 102, 102);'>XXX</span>";
var text3 = "<strong style='color: rgb(68, 68, 68);'>XXX</strong><br /><br /><span style='color: rgb(102, 102, 102);'> XXX</span><br style='color: rgb(102, 102, 102);' /><br style='color: rgb(102, 102, 102);' /><span style='color: rgb(102, 102, 102);'>XXX</span><br style='color: rgb(102, 102, 102);' /><br style='color: rgb(102, 102, 102);' /><span style='color: rgb(102, 102, 102);'> XXX</span><br style='color: rgb(102, 102, 102);' /><br style='color: rgb(102, 102, 102);' /><span style='color: rgb(102, 102, 102);'> XXX</span><br /><br /><br /><strong style='color: rgb(68, 68, 68);'>XXX</strong><br /><br /><span style='color: rgb(102, 102, 102);'>XXX</span><br style='color: rgb(102, 102, 102);' /><br style='color: rgb(102, 102, 102);' /><span style='color: rgb(102, 102, 102);'> XXX</span><br style='color: rgb(102, 102, 102);' /><br style='color: rgb(102, 102, 102);' /><span style='color: rgb(102, 102, 102);'> XXX</span><br style='color: rgb(102, 102, 102);' /><br style='color: rgb(102, 102, 102);' /><span style='color: rgb(102, 102, 102);'> XXX</span>";
var text4 = "<strong style='color: rgb(68, 68, 68);'><span style='font-size: 10px;'>XXX</span></strong>";
}
document.getElementById("C3").innerHTML = text1;
document.getElementById("TC2").innerHTML = text2;
document.getElementById("C5").innerHTML = text3;
document.getElementById("C10").innerHTML = text4;
}
</script>
</head><body>
<div style="width: 780px; margin-right: auto; margin-left: auto; line-height: 13px;" id="CP">
<div style="width: 780px; text-align: center;" id="C1"> <img src="http://data.imagup.com/2/1105182592.png" onclick="affiche_text('C1');" height="12" width="41" />
<img src="http://data.imagup.com/3/1105182610.png" onclick="affiche_text('C3');" height="12" width="42" /></div>
<div style="height: 30px; width: 780px; clear: both;" id="E1">
<div style="text-align: center; width: 780px;" lucida="" grande="" ;="" line-height:="" 16px;="" id="C3"><strong style="color: rgb(68, 68, 68);"><span style="font-size: 14px;">XXX</span></strong><br />
<strong style="color: rgb(68, 68, 68);"><span style="font-size: 14px;">XXX</span></strong><br />
<br />
<font color="#9900cc"><strong><span style="font-size: 12px;">XXX</span></strong></font></div>
<div style="height: 40px; width: 780px;" id="E2">
<div style="width: 780px;" id="C4">
<table border="0" cellpadding="0" cellspacing="0" width="780">
<tbody>
<tr>
<td width="100"> </td>
<td id="TC2" style="font-family: Century Gothic; font-size: 11px;" width="290"><span style="font-weight: bold; font-size: 14px; line-height: 16px; color: rgb(68, 68, 68);">XXX</span><br />
<span style="font-weight: bold; font-size: 14px; line-height: 16px; color: rgb(68, 68, 68);">XXX</span><br />
<br />
<br />
<span style="line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);">XXX</span><br />
<br />
<span style="line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);">XXX</span><br />
<span style="line-height: 13px; color: rgb(102, 102, 102);">XXX</span><br />
<span style="line-height: 13px; color: rgb(102, 102, 102);">XXX</span><br />
<span style="line-height: 13px; color: rgb(102, 102, 102);">XXX</span><br />
<br />
<span style="line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);">XXX</span><br />
<span style="line-height: 13px; color: rgb(102, 102, 102);">XXX</span><br />
<br />
<span style="line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);">XXX</span><br />
<span style="line-height: 13px; color: rgb(102, 102, 102);">XXX</span><br />
<br />
<span style="line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);">XXX</span><br />
<span style="line-height: 13px; color: rgb(102, 102, 102);">XXX</span><br />
<span style="line-height: 13px; color: rgb(102, 102, 102);">XXX</span><br />
<br />
<span style="line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);">XXX</span><br />
<span style="line-height: 13px; color: rgb(102, 102, 102);">XXX</span><br />
<br />
<span style="line-height: 13px; font-weight: bold; color: rgb(68, 68, 68);">XXX</span><br />
<span style="line-height: 13px; color: rgb(102, 102, 102);">XXX</span>
</td>
<td width="0"> </td>
<td style="text-align: center;" width="380"><br />
</td>
</tr>
</tbody>
</table>
</div>
<div style="height: 40px; width: 780px; clear: both;" id="E3">
<div style="overflow: auto; text-align: justify; width: 780px;" century="" gothic="" ;="" font-size:="" 11px;="" border:="" 1px="" solid="" #ccc;="" id="C5"><strong style="color: rgb(68, 68, 68);">XXX</strong><br />
<br />
<span style="color: rgb(102, 102, 102);"> XXX</span><br style="color: rgb(102, 102, 102);" />
<br style="color: rgb(102, 102, 102);" />
<span style="color: rgb(102, 102, 102);"> XXX</span><br style="color: rgb(102, 102, 102);" />
<br style="color: rgb(102, 102, 102);" />
<span style="color: rgb(102, 102, 102);"> XXX</span><br style="color: rgb(102, 102, 102);" />
<br style="color: rgb(102, 102, 102);" />
<span style="color: rgb(102, 102, 102);"> XXX</span><br />
<br />
<br />
<strong style="color: rgb(68, 68, 68);">XXX</strong><br />
<br />
<span style="color: rgb(102, 102, 102);"> XXX</span><br style="color: rgb(102, 102, 102);" />
<br style="color: rgb(102, 102, 102);" />
<span style="color: rgb(102, 102, 102);"> XXX</span><br style="color: rgb(102, 102, 102);" />
<br style="color: rgb(102, 102, 102);" />
<span style="color: rgb(102, 102, 102);"> XXX</span><br style="color: rgb(102, 102, 102);" />
<br style="color: rgb(102, 102, 102);" />
<span style="color: rgb(102, 102, 102);"> XXX</span></div>
<div style="height: 30px; width: 780px;" id="E4">
<div style="text-align: center; width: 700px; float: left;" century="" gothic="" ;="" font-size:="" 11px;="" text-decoration:="" none;="" id="C6">
<p><a href="http://www.lacotedesmontres.com/Ebel-1215891-PdN.html" target="_blank">XXX</a><br />
</p>
</div>
<div style="width: 80px; float: left;" id="C7">
<div style="height: 400px; width: 700px; float: left; background-image: url(http://data.imagup.com/2/1105402426.jpg);" id="C8">
<div style="float: left; width: 80px; text-align: right;" id="C9"><img src="http://data.imagup.com/2/1105402426.jpg" onclick="remplace('http://data.imagup.com/1/1289760482.png');" height="40" width="70" /><br />
<br />
<img src="http://data.imagup.com/2/1105402426.jpg" onclick="remplace('http://data.imagup.com/1/1289479756.png');" height="40" width="70" /><br />
<br />
<img src="http://data.imagup.com/2/1105402426.jpg" onclick="remplace('http://data.imagup.com/1/1289479789.png');" height="40" width="70" /><br />
<br />
<img src="http://data.imagup.com/2/1105402426.jpg" onclick="remplace('http://data.imagup.com/1/1289479720.png');" height="40" width="70" /></div>
<div style="height: 30px; width: 780px; clear: both;" id="E5">
<div style="text-align: center; width: 780px;" lucida="" grande="" ;="" line-height:="" 16px;="" id="C10"><strong style="color: rgb(68, 68, 68);"><span style="font-size: 10px;">XXX</span></strong></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
Modifié par qwertz1 (26 Nov 2010 - 17:09)