I’m trying to create a website which works like this. Screenshot
The website show’s only a part of a big image and you can move the picture when you move your mouse over the image ( Mouse to the left -> picture moves to the right)
What is the best way to do it? I also might want to switch between a couple of pictures.
Based on your response, you said that This Link
provided the exact functionality that you wanted. Based on that site, this is the code they use to maintain this.
And they use:
To control the position of the element.