Panoscoper 0.2 On Google Code

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
This entry was posted in Uncategorized. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Comment

  1. J. Purcell
    Posted July 19, 2011 at 5:28 am | Permalink

    I really love this plugin and its potential. I hope you keep improving it, Aaron.

One Trackback

  • By Panoscoper on October 15, 2010 at 7:13 pm

    […] Artimore Projects from the inner city. Skip to content Links Panoscoper 0.2 On Google Code » […]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>