/ Forside / Teknologi / Udvikling / HTML / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
HTML
#NavnPoint
molokyle 11184
Klaudi 5506
bentjuul 3377
severino 2040
smorch 1950
strarup 1525
natmaden 1396
scootergr.. 1320
e.c 1150
10  miritdk 1110
External image map
Fra : Manuel Marichal Pér~


Dato : 19-02-03 11:46

Hi, all:

I need to "map" an image. The map which I'm using is generated by a cgi
program, so I need the
map file be out of the HTML document that includes the image.

As far as I know, this is possible:

<html>
<body>
<img src="..." border="0" usemap="http://url/map.html#mymap">
</body>
</html>

Where "map.html" is an HTML document which includes the image and "#mymap"
is a map defined in in. But it looks like this method doesn't work.

I know that there's a "Server Side" image map method, but I need the map be
"Client Side" :(

Have you had the same problem anytime?.

HELP !!!!

Thanks a lot,
Manolo
marichalperez@yahoo.es



 
 
Thomas Dybdahl osv (19-02-2003)
Kommentar
Fra : Thomas Dybdahl osv


Dato : 19-02-03 13:10

Manuel Marichal Pérez wrote in dk.edb.internet.webdesign.html:
> Hi, all:
>
> I need to "map" an image. The map which I'm using is generated by a cgi
> program, so I need the
> map file be out of the HTML document that includes the image.
>
> As far as I know, this is possible:
>
> <html>
> <body>
> <img src="..." border="0" usemap="http://url/map.html#mymap">
> </body>
> </html>
>
> Where "map.html" is an HTML document which includes the image and "#mymap"
> is a map defined in in. But it looks like this method doesn't work.
>
> I know that there's a "Server Side" image map method, but I need the map be
> "Client Side" :(

Try to look at this:

<map name="MyMap" id="MyMap">
<area shape="rect" coords="6,1,136,86"
href="http://www.ask.com/index.asp?iredir=false" alt="Engelsk-sproget
universal søgemaskine" />
<area shape="rect" coords="146,12,335,80" href="http://www.google.com/"
alt="Engelsk-sproget Intelligent søgemaskine for hele verden" />
<area shape="rect" coords="335,15,547,75" href="http://dk.yahoo.com/"
alt="Dansk internet indeks" />
<area shape="rect" coords="5,85,140,139" href="http://www.jubii.dk/"
alt="Dansk internet indeks" />
<area shape="rect" coords="146,85,265,121" href="http://www.kvasir.dk/"
alt="Dansk internet indeks" />
<area shape="rect" coords="298,90,370,115" href="http://www.altavista.com/"
alt="International s&oslash;gemaskine" />
<area shape="rect" coords="378,85,415,121" href="http://www.sol.dk/"
alt="Portal" />
<area shape="rect" coords="421,85,575,135" href="http://www.rejseplan.dk"
alt="DSB og HT k&oslash;replan" />
</map>
<center>
<img usemap="#MyMap" src="title.png" width="605" height="140" alt="Vigtigste
links" border="0" />
</center>


--
Danmarks største specialiserede IT jobdatabase
- Udelukkende med IT- og internetrelaterede jobs
- Opret en profil og lad drømmejobbet finde dig
KLIK HER! => http://www.html.dk/job

Søg
Reklame
Statistik
Spørgsmål : 177560
Tips : 31968
Nyheder : 719565
Indlæg : 6408953
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste