|
-
Apr 25th, 2003, 11:41 AM
#1
Thread Starter
Hyperactive Member
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,
-
Apr 26th, 2003, 07:57 PM
#2
Lively Member
can't you make a table next to it with width zero or 1 and place the nametag in that part of te table.. (td--/td)
that will work...
-
Apr 27th, 2003, 10:21 AM
#3
Thread Starter
Hyperactive Member
hmm.. yeah thanks for the idea.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|