move an element when dragging another one
I am trying to recreate the navigation tool in photoshop with javascript.
So far I have achieved that when you navigate in the preview, the image scrolls accordingly, but I can't work out the reverse, that is when I drag the image, the rectangle on the preview should position over the preview accordingly.
This is the test I am working on:
<a href="http://dev.getconveyor.org/panorama_experiments/19a/">http://dev.getconveyor.org/panorama_experiments/19a/</a>
Any help is much appreciated!
--
Best Regards,
Valentina Cartei
UK Tel. +44 (0)796 6882820