Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Is there a script (.js) to move large image in browserwindow?
On this page there is a huge image. You have to scroll vertical and horizontal to see all corners of the image. Is there a script that makes it possible to move the image with the cursor? Thanks for a hint!
Offline
Re: Is there a script (.js) to move large image in browserwindow?
You’ll want some kind of drag and drop script (quick google).
Last edited by jm (2008-06-20 22:16:39)
Offline
#3 2008-06-20 22:35:03
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Is there a script (.js) to move large image in browserwindow?
Offline
Re: Is there a script (.js) to move large image in browserwindow?
Thanks! I will try the jQuery Draggables. I googled with ‘moving’, ‘javascript’, etc … but it had to be ‘dragging’ … ;-)
[edit]
It does the job on this page … :)
It should be possible to tweak the code so that you can’t drag the left side of the image into the window … or the upper side, etc! But I’m not a specialist … :(
Last edited by RedFox (2008-06-21 05:26:17)
Offline