Input et images cliquables
Fermé
Rocco
-
7 mars 2007 à 11:53
vlmath Messages postés 793 Date d'inscription vendredi 20 octobre 2006 Statut Contributeur Dernière intervention 4 septembre 2011 - 7 mars 2007 à 14:16
vlmath Messages postés 793 Date d'inscription vendredi 20 octobre 2006 Statut Contributeur Dernière intervention 4 septembre 2011 - 7 mars 2007 à 14:16
A voir également:
- Input et images cliquables
- Input signal out of range ✓ - Forum Matériel informatique
- Visualisez cette image avec un logiciel d'édition d'images. combien y a-t-il de pixels noirs sur le camion ? ✓ - Forum Python
- Int(input()) - Forum Python
- Input not supported ✓ - Forum jeux PC/Mac
- Comment désactiver out of range - Forum Ecran
1 réponse
vlmath
Messages postés
793
Date d'inscription
vendredi 20 octobre 2006
Statut
Contributeur
Dernière intervention
4 septembre 2011
160
7 mars 2007 à 14:16
7 mars 2007 à 14:16
C'est bizzard ...
j'ai essaye avec ce code :
<html>
<body>
<form id="form1" name="form1" enctype="multipart/form-data" method="post" action="./test2.php">
<p>
<input name="test" type="text" id="test" />
</p>
<p><img src="images/carte.gif" width="400" height="327" border="0" usemap="#Map" />
<map name="Map" id="Map">
<area shape="circle" coords="262,110,35" href="#" onclick="form1.submit()"/>
</map>
</p>
</form>
</body>
</html>
Il est vrai qu'il n'y a qu'une zone, mais ça marche quand même.
Sur la page "test2.php", il n'y a que ceci :
<?
print $_POST['test'];
?>
et ça marche parfaitement.
j'ai essaye avec ce code :
<html>
<body>
<form id="form1" name="form1" enctype="multipart/form-data" method="post" action="./test2.php">
<p>
<input name="test" type="text" id="test" />
</p>
<p><img src="images/carte.gif" width="400" height="327" border="0" usemap="#Map" />
<map name="Map" id="Map">
<area shape="circle" coords="262,110,35" href="#" onclick="form1.submit()"/>
</map>
</p>
</form>
</body>
</html>
Il est vrai qu'il n'y a qu'une zone, mais ça marche quand même.
Sur la page "test2.php", il n'y a que ceci :
<?
print $_POST['test'];
?>
et ça marche parfaitement.