Inclure un texte sur une image mapper

tgos93
Invité n'ayant pas de compte PHPfrance

19 avr. 2013, 11:46

Bonjour,

J'ai mapper une image (créer des liens sur une image avec les coordonnées) et j'ai donc quelque chose de ce type :

<img alt="image.png" usemap="#image" src="img/image.png">

<map id="image" name="image">
<area alt="Logistique" href="" shape="circle" coords="471,58,53">
<area alt="Communication" href="" shape="circle" coords="628,108,52">
<area alt="Gestion" href="" shape="circle" coords="727,244,52">
<area alt="PRAP" href="" shape="circle" coords="726,411,52">
<area alt="ModulesComplémentaires" href="" shape="circle" coords="629,547,52">
<area alt="PEI" href="" shape="circle" coords="470,598,52">
<area alt="LPAD" href="" shape="circle" coords="311,546,52">
<area alt="Calcul" href="" shape="circle" coords="214,412,52">
<area alt="ExpressionEcrite" href="" shape="circle" coords="213,244,52">
<area alt="Raisonnement" href="" shape="circle" coords="311,109,52">
<area alt="centre" href="centre.php" shape="circle" coords="471,327,107">
</map>

J'aimerai inclure un texte dans chaque area, mais je ne sais pas comment faire ... Cela m’intéresserait dans le but de pouvoir modifier ce texte contenu dans la bdd.

Dans l'espoir que vous pourrez me venir en aide...
Merci d'avance.

ViPHP
ViPHP | 1996 Messages

23 mai 2013, 22:07

Tu veux inclure du texte au survol ou déjà affiché le texte avant ?
It is nice to be important but it is more important to be nice
http://www.aureuswebfactory.fr