j'ai utilisé Mapedit pour decoupér une carte géo, il a généré ce code html qui fonctionne seulement sous IE et non plus sous firefox.
ma question : comment le rendre fonctionnel sous firefox
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Imagemap</title>
</head>
<body>
<div>
<img src="D:\exemple\map.gif" alt="" usemap="#map" style="border-style:none" />
</div>
<div>
<map id="map" name="map">
<area shape="poly"#NM coords="289,129,306,129,307,124,310,124,316,133,328,133,344,140,348,136,357,140,337,158,347,156,355,160,364,166,379,170,382,180,378,185,384,186,382,205,389,259,384,285,374,293,374,297,371,298,370,308,363,308,363,300,316,302,313,260,295,218,296,175" href="MN" title="alt nm" />
<area shape="poly"#MN coords="373,299,385,298,388,294,438,290,450,277,444,265,462,241,456,211,439,223,429,220,434,207,434,195,428,188,420,192,424,175,408,165,398,180,395,200,396,221,388,226,381,207,384,174,381,179,380,171,355,161,376,145,375,153,385,159,401,154,418,160,409,165,402,165,383,173,387,175,381,188,383,210,387,226,387,263,383,284,373,292" href="Mi" title="alt mn" />
<area shape="poly"#NY coords="462,209,471,198,468,193,476,189,490,188,497,184,493,176,504,160,535,154,535,150,542,146,547,113,551,117,559,113,567,134,581,144,555,168,551,179,553,185,549,187,563,191,559,201,532,209,526,214,510,203" href="NY" title="altern Ny" />
<area shape="poly"#PA coords="460,211,508,202,516,211,524,213,545,206,528,218,530,225,523,240,518,269,519,277,435,291,450,276,442,262,463,242" href="Pa" title="altern Pa" />
<area shape="poly"#NC coords="456,288,520,276,527,296,475,349,472,369,499,424,497,445,477,454,485,443,476,432,459,409,459,394,442,381,428,389,418,381,402,383,400,373,428,370,431,375,464,373,469,368,473,349,442,312,429,314" href="NC" title="altr NC" />
<area shape="poly"#TN coords="316,302,362,300,363,308,371,308,372,298,453,289,428,313,441,313,474,350,468,369,462,373,431,374,428,370,400,374,401,383,382,384,382,402,358,403,348,396,324,395,328,378,322,364,322,342,317,342" href="TN" title="alt TN" />
<area shape="poly"#TX coords="314,295,227,292,155,286,105,276,102,289,95,286,90,301,95,313,87,328,88,331,87,333,111,352,124,361,147,362,110,416,102,420,98,423,93,422,91,410,94,403,75,393,29,379,43,370,64,381,80,388,91,393,96,403,110,415,147,363,157,365,157,358,175,361,197,381,196,382,197,393,214,404,220,393,224,391,235,395,240,402,249,414,255,423,259,436,269,444,284,448,286,442,283,432,288,417,302,409,327,394,331,378,324,363,322,342,318,341" href="TX" title="alt tx" />
<area shape="poly"#CA coords="17,184,58,195,48,234,92,299,94,316,85,328,86,333,57,330,50,312,25,293,26,284,17,261,21,260,20,255,16,254,18,245,14,237,10,217,12,213,6,205" href="CA" title="alt CA" />
<area shape="poly"#WY coords="290,130,227,127,122,111,109,108,111,87,119,86,113,66,110,65,104,57,117,30,103,18,93,9,86,6,79,5,76,4,74,5,76,13,67,10,67,14,72,20,73,24,64,19,59,21,58,26,54,24,58,31,62,34,60,37,65,43,59,45,52,44,42,42,35,40,10,26,8,26,30,42,48,48,54,52,57,50,69,50,68,54,76,53,77,49,80,50,88,53,95,55,105,66,112,87,108,108,59,95,53,100,56,103,54,106,37,97,36,103,38,121,35,126,36,128,27,152,16,171,17,184,58,196,48,235,92,302,95,287,101,287,104,275,159,285,233,293,314,295,314,266,303,246,301,235,294,218,297,203,293,170,289,141" href="WYMT" title="altern WYMT" />
<area shape="default" nohref="nohref" alt="" />
</map>
</div>
</body>
</html>