Visit a Fantastic 3D World with Anything3D, the World's Leading Provider of 3D Imaging and Virtual Tour Solutions

Anything3D Pano Viewer Pro Tutorial

Example 5. JavaScript/HTML Control
PanoViewer makes quite a few variables accessible to external integration and manipulation.
Standart buttons:
Graphic buttons:
One Step LeftPausePlayOne Step Right
Links: Toggle Quality
Select Pano:

Source code:

These external APViewer Comands can use with JS.
Example:
<a class="btext" href="javascript:document.apv.viewer('toggleQuality()')"> Toggle Quality </a>
This link calling javascript comand. Object document is general in JS and contain info about document.
Use: document.objectName.propertyOrMethod
In this exam we use objectName (applet name) as apv (applet tag has: name="apv" )
'propertyOrMethod' - public applet method is 'viewer( String )'. Viewer method argument is string of comands for pano viewer.
viewer('DrawHSImage( 0 ); DrawHSImage( 1 ); DrawHSImage( 2 ); ')
some viewer comand separated by ';'
Interaction of the applet and the WEB gives an essential freedom of control and allocation of panoramas on the page.





TUTORIAL
Introduction
First Step: Shooting the pictures
Stitch The Images
Pano Viewer Documentation
EXAMPLES
Example 1.
Basic Pano View
Example 2.
Toolbars
Example 3.
Skins
Example 4.
Hotspot
Example 5.
JavaScript/HTML Control
Example 6.
Pano Tour




© 2000-2002 All Rights Reserved.