Partage
  • Partager sur Facebook
  • Partager sur Twitter

Problême avec usemap

    17 mars 2006 à 21:43:05

    Bonjour, je voudrait savoir comment utiliser la fonction usemap dans un <table> en faisant ainssi:


    <map name="test">
    <area shape="rect" coords="48,99,117,142"   href="?calcul=<?php echo $_GET["calcul"]; ?>7">
    <area shape="rect" coords="126,98,194,142"  href="?calcul=<?php echo $_GET["calcul"]; ?>
    8">
    <area shape="rect" coords="207,97,277,143"  href="?calcul=<?php echo $_GET["calcul"]; ?>9">
    <area shape="rect" coords="288,98,363,142"  href="?calcul=<?php echo $_GET["calcul"]; ?>
    /">
    <area shape="rect" coords="290,158,360,196" href="?calcul=<?php echo $_GET["calcul"]; ?>x">
    <area shape="rect" coords="285,209,365,253" href="?calcul=<?php echo $_GET["calcul"]; ?>
    -">
    <area shape="rect" coords="206,213,275,250" href="?calcul=<?php echo $_GET["calcul"]; ?>3">
    <area shape="rect" coords="205,160,279,200" href="?calcul=<?php echo $_GET["calcul"]; ?>
    6">
    <area shape="rect" coords="124,158,194,196" href="?calcul=<?php echo $_GET["calcul"]; ?>5">
    <area shape="rect" coords="46,157,115,197"  href="?calcul=<?php echo $_GET["calcul"]; ?>
    4">
    <area shape="rect" coords="49,208,116,252"  href="?calcul=<?php echo $_GET["calcul"]; ?>1">
    <area shape="rect" coords="128,210,194,248" href="?calcul=<?php echo $_GET["calcul"]; ?>
    2">
    <area shape="rect" coords="204,264,278,307" href="?op=ok&calcul=<?php echo $result; ?>">
    <area shape="rect" coords="289,265,361,310" href="?calcul=<?php echo $_GET["calcul"]; ?>
    %2B">
    <area shape="rect" coords="123,265,193,307" href="?calcul=<?php echo $_GET["calcul"]; ?>.">
    <area shape="rect" coords="43,262,115,306"  href="?calcul=<?php echo $_GET["calcul"]; ?>
    0">
    </map>

    <table align="center" border="1" cellpadding="0" cellspacing="0">
    <tr>
    <td background="calcul.jpg" usemap="#test" width="400" height="347">
    </td>
    </table>


    Je n'ai pas trouvé d'autre moyen car il faut absolument que j'affiche un texte sur l'image ensuite.
    Et la " usemap="#test" " ne fonctionne pas, que puis-je faire :euh:
    • Partager sur Facebook
    • Partager sur Twitter

    Problême avec usemap

    × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
    × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
    • Editeur
    • Markdown