PDA

View Full Version : Image Map Question


MoRiA
11-04-2002, 05:23 PM
Is it possible to make the browser skip to a place in an image? The image in question is a very large (in width/height, not file size) PNG and i would like to get the browser to automatically skip to the center of it.
I have tried using an image map and adding this code:
<area shape="rect" coords="1533,1894,1546,1907" name="middle">
to the image map already used on the image and using:
<a href="file.htm#middle">link</a>
to link to it but it does nothing.
My server supports virtually any code language (CGI, Perl, MySQL, SSI) so if it requires one of these then it is available.
Hope you can help. :)
Thanks

Mhtml
11-05-2002, 12:21 PM
I can change focus to the selection but it returns back to the link, I to would like to know how this can work..

MCookie
11-05-2002, 02:08 PM
Using absolute positioned divs maybe? Worked for me..

<html>
<head>
<title></title>
</head>
<body>
<p><a href="#spot">Go there</a></p>
<div style="position:absolute;left:1600px;top:1000px;"><p><a name="spot">& n b s p ;</a></p></div>
</body>
</html>