HighDots Forums  

Image dragging question...

alt.html.dhtml alt.html.dhtml


Discuss Image dragging question... in the alt.html.dhtml forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
junk@straffin.com
 
Posts: n/a

Default Image dragging question... - 04-22-2005 , 12:15 PM






All,

After being blown away by the stuff behind Google Maps, I am trying to
find out how some of it was done. The part I'm trying to find out right
now is best explained in the following scenario:

Given a picture (200 x 200) and a div (100 x 100), I want to center the
div over the picture and only show the center 100x100 section of the
picture through the div. Then, when the user clicks and drags, I want
to have the picture move under the unmoving div, thereby allowing the
user to drag around and explore the picture through the div.

Is what I want to do possible? If so, any pointers (or outright
explanations) on how to do this?

- John


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.