General
This script works by sliding the background image of one DIV element, using the background-position to correspond with the coordinates of another DIV. Great for showing details in a small space.
Click and drag the red outlined square on the bottom photo to navigate the zoomed image.
Notes
- Created by: Steve Chipman
- Web Site: http://slayeroffice
- Posted: August 13, 2008
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: imageNavigator.js
CSS
Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.
Head
Paste this code into the HEAD section of your HTML document.
Body
Paste this code into the BODY section of your HTML document
Do you write JavaScripts?
If you do, why not submit them to us?
We'll give you credit and a link back to your Web site.
