Google Maps Emulation

G

gerryo

Would anyone know how to move an image, similar to the way they do it with
Google Maps? I already know how to move objects, but I don't want it to
move all over the page. It should only move within a specific "box" of
visibility - like they do with Google Maps.


Thanks Folks,
GerryO.
 
D

Dylan Parry

Pondering the eternal question of "Hobnobs or Rich Tea?", gerryo finally
proclaimed:
Would anyone know how to move an image, similar to the way they do it with
Google Maps? I already know how to move objects, but I don't want it to
move all over the page. It should only move within a specific "box" of
visibility - like they do with Google Maps.

Put the object you are dragging within an HTML div with the width/height
set in CSS, and "overflow: hidden".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,062
Latest member
OrderKetozenseACV

Latest Threads

Top