Results 1 to 3 of 3

Thread: scroll to a certain area of an image

  1. #1

    Thread Starter
    Hyperactive Member Kagey's Avatar
    Join Date
    Sep 2000
    Location
    The Wilderness of New Brunswick
    Posts
    294

    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,

  2. #2
    Lively Member
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    96
    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...

  3. #3

    Thread Starter
    Hyperactive Member Kagey's Avatar
    Join Date
    Sep 2000
    Location
    The Wilderness of New Brunswick
    Posts
    294
    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
  •  



Click Here to Expand Forum to Full Width