By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,521 Members | 1,259 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,521 IT Pros & Developers. It's quick & easy.

Zoom and Pan An Image In A Webrowser

P: n/a
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.

Aug 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On 17 Aug 2005 07:36:57 -0700, mi**********@cbcn-online.com wrote:
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.


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

Jim.
Aug 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.