Oui toutes mes excuses et j'ai omis de dire que je suis plutot "newbie" dans la conception de site. Je travail avec dreamweaver.
Voici un example de script qui tourne sur ie et non sur firefox.
le script:
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (Sans titre-1 copie.jpg) -->
<table id="Tableau_01" width="780" height="430" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="images/800_1.gif" width="780" height="72" alt=""></td>
</tr>
<tr>
<td>
<img src="images/800_2.gif" width="780" height="271" alt=""></td>
</tr>
<tr>
<td>
<img src="images/800_3.gif" width="780" height="87" alt=""></td>
</tr>
</table>
<!-- End ImageReady Slices -->
<p></p>
<font color="#ff0000"><div class="fly" id="fly1"><a href="
http://www.toto.fr/webmail/"
onmouseout="hideObject(desc1)"onmouseover="showObject(desc1)">
<p>WebMail</a><br>
</p>
</div><div class="fly" id="fly2"><a href="
http://www.toto.fr/index.htm"
onmouseout="hideObject(desc2)" onmouseover="showObject(desc2)">
<p>Le Site</a><br>
</p>
</div><div class="fly" id="fly3"><a href="
http://www.toto.fr/"
onmouseout="hideObject(desc3)" onmouseover="showObject(desc3)">
<p></a><br>
</p>
</div><div class="fly" id="fly4"><a href="
http://www.toto.fr/"
onmouseout="hideObject(desc4)" onmouseover="showObject(desc4)">
<p>company</a><br>
</p>
</div><div class="logo" id="company">
<p></p>
</div><div class="desc" id="desc1">
<p><font color="#ff0000"></p>
</div><div class="desc" id="desc2">
<p><font color="#ff0000"></p>
</div><div class="desc" id="desc3">
<p></font><font color="#ff0000"></p>
</div><div class="desc" id="desc4">
<p></font><font color="#ff0000"></p>
</div><script language="JavaScript">
/* Simple version detection */
var isNS = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) >= 4);
/* These constants were not discussed in the article. They can be used in place
of hidden and visible because on occasion Navigator has problems with the two */
var HIDDEN = (isNS) ? 'hide' : 'hidden';
var VISIBLE = (isNS) ? 'show' : 'visible';
/* Create shortcut variables for different absolutely positioned elements */
var fly1 = (isNS) ? document.fly1 : document.all.fly1.style;
var fly2 = (isNS) ? document.fly2 : document.all.fly2.style;
var fly3 = (isNS) ? document.fly3 : document.all.fly3.style;
var fly4 = (isNS) ? document.fly4 : document.all.fly4.style;
var company = (isNS) ? document.company : document.all.company.style;
var desc1 = (isNS) ? document.desc1 : document.all.desc1.style;
var desc2 = (isNS) ? document.desc2 : document.all.desc2.style;
var desc3 = (isNS) ? document.desc3 : document.all.desc3.style;
var desc4 = (isNS) ? document.desc4 : document.all.desc4.style;
/* Begin the sliding of the company logo */
slideLogo(0, 140);
</script>
Quand pense tu ?