Subversion Repositories eFlore/Applications.coel-consultation

Rev

Rev 28 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div id="cartographie">
        <img id="carte-img" src="<?=$carte_url;?>" alt="<?=$carte_alt;?>" usemap="#carte-map" />
        <map name="carte-map">
                <?php foreach ($zones as $code => $zone) : ?>
                        <?php foreach (explode('|', $zones['poly']) as $coords) : ?>
                        <area shape="poly"  title="<?=$zones['nom']?>" class="zone-<?=$code?>" href="<?=$zones['url']?>" coords="<?=$coords?>"></area>
                        <?php endforeach; ?>
                <?php endforeach; ?>
        </map>
</div>