|
pan - initial pan angle (-180...180, default 0) fov - initial horizontal field of view, in degrees (12...165, default 70) auto - autorotation angle (-360...360, default 0) pan angle is incremented by that amount for each frame. Specify degrees, fractional values allowed. A minus sign "-" reverses direction. Wait Image - URL of image to be displayed while Virtual Tour is loading.
Add Control Bar - Adds a control bar with buttons to navigate the panorama. Show Hotspots - Creates a button to Hide/Show the hotspots in your image, if any. Sound File - Adds a button to play a sound when pressed. The sound file should be in the format ".au" to be compatible with most platforms. Menu0360.class is a proprietary java applet developed by 0-360.com. Its function is to create a separate applet from which to control a PTViewer applet by pull-down menu. It is free to our customers, for use with images produced by the 0-360 Panoramic Optic. It is not freeware, and is not distributed under the GNU License. If you would like to purchase or license Menu0360 for use with other images, please contact us at sales@0-360.com.
The Menu0360 applet should be placed on the same page as the PTViewer applet. The file Menu0360.class should be archived in the same jar file as the PTViewer class file. If you do not have both class files in the same jar archive, do not use the jar file to call PTViewer, or else Menu0360 will not be able to find the PTViewer.class file. Make sure you have the ptviewer.class file on the server separately from the ptviewer.jar archive. Example:
Menu0360 Parametersattachwith - (required) Tells menu0360 which PTViewer applet to control, in case you have more than one PTViewer applet running on the same page. Value = name assigned to PTViewer applet. Will search through the applets on the page to find the one with the same name. (HINT: You must put a name="viewername" in the applet tag for PTViewer.) Here is a syntax example: viewerinit - Tells PTViewer which commands to execute after loading. Refer to PTViewer docs for available commands. Here is a syntax example: menufont - The Menu's text-font used. Options: "Dialog", "DialogInput", "Monospaced", "Serif", "SansSerif".
This is an optional parameter. Default is "Dialog". Here is a syntax example: menufontstyle - Style of the Menu's Font. Options: "0" (Plain), "1" (Bold), "2" (Italic), "3" (Bold-Italic).
This is an optional parameter. Default is "0". Here is a syntax example: menufontsize - Size of the Menu's Font. Options: Any valid number font size value.
This is an optional parameter. Default is "12". Here is a syntax example: menufgcolor - Foreground color used in Menu. Options: "black", "blue", "cyan", "darkGray", "gray", "green", "lightGray", "magenta", "orange", "pink", "red", "white", "yellow". Will also accept RGB color values from 0 to 255, separated by commas. (Example: "128,0,255" will be a purple).
This is an optional parameter. Default is "blue". Here is a syntax example: menubgcolor - Background color used in Menu. Options: "black", "blue", "cyan", "darkGray", "gray", "green", "lightGray", "magenta", "orange", "pink", "red", "white", "yellow". Will also accept RGB color values from 0 to 255, separated by commas. (Example: "128,0,55" will be a purple).
This is an optional parameter. Default is "white". (HINT: If you set menufgcolor and menubgcolor to the same value, you will not be able to see the options.) Here is a syntax example: menubackground - filename indicating background image of the menu. Image must be in .gif or .jpg format. Here is a syntax example: menuitem0-menuitemN - Single item of the Menu. 'N' can take any value from '0' upwards.Here is a syntax example: menusound0-menusoundN - Readies the sounds files to be played, loading them into cache. Here is a syntax example: viewerinitsound - Plays one of the sounds when viewer first loads. Here is a syntax example: menuitemNsound - Plays a sound file when menu Iten N is selected. Here is a syntax example: displaytextarea - Required to display the Text Area. Syntax: defaulttext - The text that appears in the Text Area at initialization (before any menu selection). The vertical bar "|" is used to create a new line in the Text Area.Syntax: textareafgcolor - Foreground color used in Text Area. Options: "black", "blue", "cyan", "darkGray", "gray", "green", "lightGray", "magenta", "orange", "pink", "red", "white", "yellow". Will also accept RGB color values from 0 to 255, separated by commas. (Example: "128,0,255" will be a purple).
This is an optional parameter. Default is "blue". Here is a syntax example: textareabgcolor - Background color used in Text Area. Same options af textareafgcolor. NOTE: Make sure your bgcolor is different than your fgcolor; else, the text will be invisible. textareafont, textareafontstyle, textareafontsize - Same controls as menufont, etc. above, except for Text Area textarearows - Specifies the maximum number of lines of text to be displayed in the Text Area. Determines the height of the text box. Here is a syntax example: textareacolumns - Specifies the maximum number of letters of text per line to be displayed in the Text Area. Determines the width of the text box. Here is a syntax example: textareascroll - Specifies whether to show scrollbars for the text area. Here is a syntax example: Here are the options: These parameters can be placed in the menu's PARAM tags, or a default configuration file. A default configuration file, 0360Default.html, can be set up to store any of the above parameters that will be used for all of the tours in the directory. This saves from having to type the same parameters in every tour. NOTES: The file 0360Default.html is a simple text file, with only the parameters listed. It does NOT contain and other tags, like <html><body>, etc. Here is a sample 0360Default.html file: [menufont=Serif] [menufontstyle=3] [menufontsize=14] [menubackground=control_bkgd.gif] Questions? Email us at sales@0-360.com |