1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Exemple de rollover</title>
<style type="text/css">
.blocPays {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bolder;
border: 0px solid #FFFFFF;
margin-left:15px;
background-color:#336699;
color:#FFFFFF
}
</style>
<script language="javascript">
<!-- The following fields contain : name - contact - address1 - address2 - tel - email -->
<!-- Pour essayer de faire s'afficher les infos sous firefox : onMouseOver="pays(event);" -->
efface = new Array("");
france = new Array("FRANCE");
function affiche(pays) {
document.getElementById('nom').value = pays[0];
}
</script>
</head>
<body>
<table width="800px" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="background-color:#336699; color:#FFFFFF;" valign="top" width="250px">
<p>
<input type="text" name="nom" value="" class="blocPays" size="60"><br />
</p>
</td>
<td> <img src="images/Europe500.gif" width="440" height="500" border="1" usemap="#carte" style="border-color:#336699; "> </td>
<td style="background-color:#336699; color:#FFFFFF " width="120px" ><img src="pictures/vide.gif" width="100" height="1"></td>
</tr>
</table>
<map name="carte">
<area shape="poly" href="#" onMouseOver="affiche(france)" onMouseOut="affiche(efface)" target="_blank" coords="192,361,182,334,173,334,187,311,192,300,168,294,145,275,119,299,91,305,118,341,113,370,153,381,165,366,183,371">
</map>
</body>
</html> |
Partager