Image cliquable de gimp dans php problème

Résolu/Fermé
ANTHURIUMRE Messages postés 93 Date d'inscription mardi 16 septembre 2008 Statut Membre Dernière intervention 3 janvier 2015 - 14 nov. 2011 à 05:19
ANTHURIUMRE Messages postés 93 Date d'inscription mardi 16 septembre 2008 Statut Membre Dernière intervention 3 janvier 2015 - 14 nov. 2011 à 18:50
Bonjour,

J'ai fait des images cliquables avec gimp. Ensuite je les ai introduites dans mon index.php mais je constate qu'une seule de ces images garde la propriété cliquable notamment le menu d'entête et que les images que j'ai mises par exemple sur mon footer ne fonctionnent plus. Pire, mes liens dans mon entête semblent de façon cachée se trouver dans mon footer.

On dirait que php a une incidence sur mes maps mais je ne sais comment y remédier.

Pourriez-vous m'aider à réparer ce bug s'il vous plait. Merci.







<!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" xml:lang="fr">

<head>
<title>Monsite</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1"/>
<link href="style.css" rel="stylesheet" type="text/css" media="screen"/>



</head>

<body>

<div id="contener">


<div id="entete"><img src="IMAGE/banier1.jpg"></div>

<div id="menu"> <img src="IMAGE/menufrancais.jpg" width="1024" height="30" border="0" usemap="#map" />

<map name="map">
<!-- #$-:Image map file created by GIMP Image Map plug-in -->
<!-- #$-:GIMP Image Map plug-in by Maurits Rijk -->
<!-- #$-:Please do not edit lines starting with "#$" -->
<!-- #$VERSION:2.3 -->
<!-- #$AUTHOR:seven -->

<area shape="rect" coords="82,27,84,29" href=index.php />

<area shape="rect" coords="176,26,179,27"href=page1.php />
<area shape="rect" coords="195,2,258,27" href=page2.php />
<area shape="rect" coords="284,1,351,28" href=page3.php />
<area shape="rect" coords="368,3,434,27" href=page4.php />
<area shape="rect" coords="456,2,520,26" href=page5.php />
<area shape="rect" coords="541,2,610,26" href=page6.php />
<area shape="rect" coords="628,1,699,27" href=page7.php />
<area shape="rect" coords="714,0,786,27" href=page8.php />
<area shape="rect" coords="803,1,868,27" href=page9.php />
<area shape="rect" coords="888,0,961,26" href=page10.php />
<area shape="rect" coords="982,0,1008,26" href=page11.php />
</map>


<div id="gauche"> <img src="image/BBG.jpg"> </div>

<div id="milieu">
<img src="IMAGE/NOUVEAUMILIEU.jpg" width="624" height="520" border="0" usemap="#map" />

<map name="map">
<!-- #$-:Image map file created by GIMP Image Map plug-in -->
<!-- #$-:GIMP Image Map plug-in by Maurits Rijk -->
<!-- #$-:Please do not edit lines starting with "#$" -->
<!-- #$VERSION:2.3 -->
<!-- #$AUTHOR:seven -->
<area shape="circle" coords="311,259,143" href=page12.php/>
<area shape="poly" coords="7,6,7,54,187,163,216,132" href=page13.php />
<area shape="poly" coords="281,0,324,2,321,105,281,107" href=page14.php />
<area shape="poly" coords="411,138,436,166,620,44,605,14" href=page15.php />
<area shape="poly" coords="463,241,465,280,617,280,617,239" href=page16.php />
<area shape="poly" coords="435,352,403,378,618,512,621,473" href=page17.php />
<area shape="poly" coords="284,412,330,413,329,517,288,516,286,514" href=&quot;quicktalk />
<area shape="poly" coords="177,341,200,373,6,510,3,464" href=page18.php />
<area shape="poly" coords="154,228,153,272,2,269,3,231"href=page19.php />
</map>








</div>


<div id="droite"><img src="IMAGE/BBD.jpg"></div>

<div id="footer">


<?php include_once ("footerindex.php");?>







</div>



</div>
</body>
</html>



A voir également:

1 réponse

ANTHURIUMRE Messages postés 93 Date d'inscription mardi 16 septembre 2008 Statut Membre Dernière intervention 3 janvier 2015 2
14 nov. 2011 à 18:50
Je vais vous donner la solution. En fait il fallait changer le nom des cartes. Par exemple dans la première

usemap="#header"
<map name="header">

puis dans la seconde carte

usemap="#footer"
<map name="footer">
0