Zoom and Pan An Image In A Webrowser

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mike.hodgson@cbcn-online.com

    #1

    Zoom and Pan An Image In A Webrowser

    Hi,

    I have an image in a webrowser which is 3000 pixels wide so does not
    fit in the browsers window. It is a CAD drawing so needs this detail.
    Using the scroll bars makes the image difficult to view so I am looking
    for some code where I can set the view width to 1000 pixels and the
    code will allow me to zoom in and out of the image and pan it around
    the page, a bit like how google maps works.

    Can anyone help me with this please. It needs to work in firefox and
    IE.

    Regards,
    Mike Hodgson.

  • Jim Ley

    #2
    Re: Zoom and Pan An Image In A Webrowser

    On 17 Aug 2005 07:36:57 -0700, mike.hodgson@cb cn-online.com wrote:
    [color=blue]
    >I have an image in a webrowser which is 3000 pixels wide so does not
    >fit in the browsers window. It is a CAD drawing so needs this detail.
    >Using the scroll bars makes the image difficult to view so I am looking
    >for some code where I can set the view width to 1000 pixels and the
    >code will allow me to zoom in and out of the image and pan it around
    >the page, a bit like how google maps works.[/color]

    http://jibbering.com/routeplanner/ has a basic implementation of
    this, feel free to rip it off.

    Jim.

    Comment

    Working...