scroll to a certain area of an image
hey all
i was just wondering how i can make the browser scroll to a certain area of an image. i have a map and i want to be able to sutoscroll to the different corners of it. I tried using bookmarks (using an image map for each corner) in the code below:
Code:
<html>
<head></head>
<body leftmargin="0" topmargin="0">
<map name="corners">
<area name="nw" shape="rect" coords="1, 1, 2, 2">
<area name="ne" shape="rect" coords="2151, 1, 2152, 2">
<area name="se" shape="rect" coords="2151, 1006, 2152, 1007">
<area name="sw" shape="rect" coords="1, 1006, 2, 1007">
</map>
<p>
<a href="#sw">sw</a>
<img src="map.gif" usemap="#corners" width="2152" height="1007" border="0"></p>
</body>
</html>
this seems to do nothing however. is there something i am doing wrong or should i use another method altogether?
thanks for any insight,