Mon script provoque une erreur et je ne comprends pas ce qui cloche !
Bonjour,
Voici un script très simple, mais il est un peu tard et je ne comprends pas ce qui cloche.
On peut lancer ce script à l'adresse :
www.paysagesdefrance.com/index1.htm
Merci d'avance,
Trachy
Voici le script :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Tourisme</title>
<script language="javascript">
function selecteur_icones(){
window.alert("titi");
return;
}
function chargement_div(){
document.write("<div id='id_select_icones'><a href='#' onmouseover='javascript:selecteur_icones()'><img src='images/infobulle/icone_points.jpg' alt='sites web' title='sites web'/></a></div>");
return;
}
</script>
</head>
<body onload="chargement_div()">
</body>
</html> |