Image mapping

1

I've been mapping an image with the tag map and it's not working. Is the code right?

<div class="botao_comprar">
  <?
    if($_SERVER['REQUEST_URI'] == '/textos/como_funciona/5/' or $_SERVER['REQUEST_URI'] == '/leilao/Curso-Profissionalizante-de-Telemarketing-EAD-leilao-de-centavos/459/'):
      echo '<img src="../../../img/site/botaolances.jpg"  usemap="#mapa-botao"/>';
    else:
      echo '<img src="../img/site/botaolances.jpg" usemap="#mapa-botao"/>';
    endif;           
  ?>
  <map name="mapa-botao">
    <area shape = “rect” coords = “8, 158, 213, 183” href=”jdlsites.com” target="_blank"/>
  </map>
    
asked by anonymous 26.09.2017 / 06:26

0 answers