description lien ds statu bar avec map

Répondre
kronemburg
le 19/12/2004 à 17:07
kronemburg
Salut,
Je cherche à placer la descritpion d'un lien a son survol dans la barre de status. Le lien est en fait une map sur une image et l'image change à son survol. La barre de status doit en dehor des liens être un message animé.
Voici mon code :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Document sans titre</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT LANGUAGE="JavaScript">
if(document.images)
{
i665402 = new Image;
i665402 = "file:///C|/WINDOWS/Bureau/pentacle1.png";
i665402 = "file:///C|/WINDOWS/Bureau/pentacle2.png";
i665402 = "file:///C|/WINDOWS/Bureau/pentacle3.png";
i665402 = "file:///C|/WINDOWS/Bureau/pentacle4.png";
i665402 = "file:///C|/WINDOWS/Bureau/pentacle5.png";
}
</SCRIPT>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<SCRIPT LANGUAGE="JavaScript">
/*
SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
URL du script : http://www.editeurjavascript.com/scripts/scripts_textes_1_80.php
*/
texteAff = "Official Websit";
place = 0;
tempoLong = 180;
function EJSAnimEtat2()
{
texteTemp1 = texteAff.substring(0,place);
texteTemp2 = texteAff.substring(place,place+1);
texteTemp2 = texteTemp2.toUpperCase();
texteTemp3 = texteAff.substring(place+1,texteAff.length);
window.status = "Unhealthy Dreams " + texteTemp1 + texteTemp2 + texteTemp3;
if (place>texteAff.length)
{
place=0;
tempoLong=1800;
}
if (place==0)
tempoLong=180;
place++;
tempoAnimEtat2 = setTimeout("EJSAnimEtat2()",tempoLong)
}
function EJSAnimEtat2Break()
{
window.status = "";
clearTimeout(tempoAnimEtat2);
}
window.onload = EJSAnimEtat2;
window.onunload = EJSAnimEtat2Break;
</SCRIPT>
<script language="JavaScript">
function menu(id){
if(id==1){var rub="Band";}
else if(id==2){var rub="News - Contact";}
else if(id==3){var rub="Tour";}
else if(id==4){var rub="Médias";}
else if(id==5){var rub="Gallerie";}
else {return false}
window.status=rub;
i665402.src='file:///C|/WINDOWS/Bureau/pentacleBand.png';
}
</script>
</head>

<body>
<p><img src="pentaclelogo.png" width="250" height="250" border="0" NAME="i665402" ALT="Menu" HSPACE=0 VSPACE=0 usemap="#MapMap">
<map name="MapMap">
<area shape="poly" coords="78,110,4,165,96,165" href="#" onMouseOver="i665402.src='file:///C|/WINDOWS/Bureau/pentacleMedias.png'" onMouseOut="i665402.src='file:///C|/WINDOWS/Bureau/pentacle.png'">
<area shape="poly" coords="97,165,125,255,151,167" href="#" onMouseOver="i665402.src='file:///C|/WINDOWS/Bureau/pentacleTour.png'" onMouseOut="i665402.src='file:///C|/WINDOWS/Bureau/pentacle.png'">
<area shape="poly" coords="169,107,152,166,243,164" href="#" onMouseOver="i665402.src='file:///C|/WINDOWS/Bureau/pentacleNHewsContact.png'" onMouseOut="i665402.src='file:///C|/WINDOWS/Bureau/pentacle.png'">
<area shape="poly" coords="48,20,79,111,125,77" href="#" onMouseOver="i665402.src='file:///C|/WINDOWS/Bureau/pentacleGallerie.png'" onMouseOut="i665402.src='file:///C|/WINDOWS/Bureau/pentacle.png'">
<area shape="poly" coords="199,21,125,75,171,110" href="#" onMouseOver="menu(1)" onMouseOut="i665402.src='file:///C|/WINDOWS/Bureau/pentacle.png'">
</map>
</p>
</body>
</html>
Kro kro kro kronemburg
Répondre

Ecrire un message

Votre message vient d'être créé avec succès.
LoadingChargement en cours