Voici mon code:
dans ma fonction pop(), je met tous les champ de ma base de données, et et voudrais que pour chaque area, la requete change :
<map name="map" id="" >
<area shape="rect"
id="1" coords="446,206,627,234"
href="mailto:'.$article->eMail.'"onmouseover="pop(\''.$article->nom.'
'.$article->prenom.'<br>'.$article->tel.'<br>'.$article->eMail.'\',\'#D3EDFA\');"
onmouseout="kill();">
<area shape="rect"
id="2" coords="176,212,352,239" href="#"
onmouseover="pop(\'\',\'#D3EDFA\');" onmouseout="kill();">
<area shape="rect" id="3" coords="27,299,107,331" href="#">
<area shape="rect" id="4" coords="936,304,939,310" href="#">
<area shape="rect" id="5" coords="931,302,1007,330" href="#">
<area shape="rect" id="6" coords="450,349,618,379" href="#">
<area shape="rect" id="7" coords="321,350,431,377" href="#">
<area shape="rect" id="8" coords="187,350,307,377" href="#">
<area shape="rect" id="9" coords="783,350,936,388" href="#">
<area shape="rect" id="10" coords="632,349,759,392" href="#">
<area shape="rect" id="11" coords="37,350,165,377" href="#">
</map>
|