Changeset 1610


Ignore:
Timestamp:
Oct 4, 2010, 12:06:44 AM (10 years ago)
Author:
popeye
Message:

W3C carte des circos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/circonscription/actions/actions.class.php

    r1546 r1610  
    187187          $href = url_for("@redirect_parlementaires_circo?code=".$path->getAttribute('id'));
    188188        }
    189         $areas .= "<area id=\"map$id\" href=\"".$href."\" title=\"".$title."\" ".
    190           "shape=\"poly\" coords=\"".$points."\"></area>\n";
     189        $areas .= "<area id=\"map$id\" href=\"".$href."\" title=\"".$title."\" alt=\"".$title."\" ".
     190          "shape=\"poly\" coords=\"".$points."\" />\n";
    191191      }
    192192    return array('areas' => $areas, 'w' => $w, 'h' => $h);
     
    260260    echo "<img alt=\"Carte issue de Wikipedia : Départements et régions de France par Bayo (sous licence GFDL)\" class=\"carte_departement\" src=\"$src\" usemap=\"#deptmts\" ";
    261261    echo 'style="width:'.$w.'px; height:'.$h.'px;" />';
    262     echo "<map name=\"deptmts\">";
     262    echo "<map name=\"deptmts\" id=\"deptmts\">";
    263263    echo $r['areas'];
    264264    echo "</map>";
Note: See TracChangeset for help on using the changeset viewer.