Bonjour, je ne sais pas d'ou ça vien, mais à cause de ça j'ai des petits soucis la; Je ne sais pas pourquoi j'obtiens une altération de code sous FF et pas sous IE Je pense que c'est de là que mes fonctions ne fonctionnent ( ) pas! http://www.developpez.net/forums/sho...d.php?t=197315
mon code :
IE:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 var ALSACE_map = '<map name="Region" border="0">' + '<area shape="rect" coords="248,202,268,222" href="../html/robot.htm?strasbourg">' + '<area shape="rect" coords="146,407,166,423" href="../html/robot.htm?colmar">' + '<area shape="rect" coords="143,535,162,555" href="../html/robot.htm?mulhouse">' + '</map>' + '<br/>Ville : <select id="town_name">' + '<option value="strasbourg">Strasbourg</option>' + '<option value="mulhouse">Mulhouse</option>' + '<option value="colmar">Colmar</option>' + '<input type="button" value="Valider" onClick="var la_ville = getElementById(\'town_name\').options.selectedIndex;'+ 'location.href=\'./robot.htm?\'+ document.getElementById(\'town_name\').options[la_ville].value;"></select>';
FF:
Partager