Check out the new version at Google Code!
It’s heavily commented with cleaned up code, and there are some major changes to the API options:
Instead of one set of options, there are two sets depending on what you want to control. The first is an array for panorama options, the second is for compass and future navigation options. An example is below:
$('#yourelement').panoscope({ cursors:false },{ enabled:false });
Panorama Settings
- cursors:
- Sets cursor to left and right arrow when moving
- True/False, default is true
- debug:
- Shows the current offset of the elements for setting bearing and direction
- True/False, default is false
- width:
- Sets the width of the panoscoper box
- Integer, default is 4:3 ratio of element height
- height:
- Sets the height of the panoscoper box
- Integer, default is calculated height of the element
- direction:
- Sets the starting direction of the panorama, turn on debug for correct directional value
- Integer, default is 0
- momentum:
- Sets the speed of motion, lower is faster
- Numeric, default is 80
Compass/Navigation Settings
- enabled:
- Turn off the compass
- true/false, default is false
- url:
- Set the URL of the compass image
- String, default is ‘compass.png’
- width:
- Sets the width of the compass image
- Integer, default is 100
- height:
- Sets the Height of the compass image
- Integer, default is 100
- bearing:
- Sets the direction of north, check the debug panel for correct directional value
- Integer, default is 0
One Comment
I really love this plugin and its potential. I hope you keep improving it, Aaron.
One Trackback
[...] Artimore Projects from the inner city. Skip to content Links Panoscoper 0.2 On Google Code » [...]