26April2006 CODE fixes for PTVIEWER, QTVR and FLASH -Tested
Because I have colored text here it is not wise to copy this code.
Suggest downloading the scripts zip file from here
http://360texas.com/sitedirectory/download.htm
You will need to
1. Change Paths and file names for your PTviewer JAR, .JPG, .MOV and Flash .SWF's.
2. The .JS files are located in your root directory on the Server and are hard code pathed e.g http://www.360Texas.com/embedxxx.js
*********** ===========JAVA PTVIEWER CODE======= ****************
----------create embedjava.js-------- document.write("<NOSCRIPT>")
window.onload = function() { document.body.innerHTML = document.body.innerHTML.replace(/\<noscript\>/gi,"") } ---------- save as embedjava.js -----------
---Body Java Applet Code ---
<!--[if gte IE 6]><SCRIPT language="javascript" src="http://www.360texas.com/embedjava.js"><![endif]--></SCRIPT> <APPLET archive = "ptviewer27.jar" code = "ptviewer.class" width = 900 height = 540 codebase="../../../../" >
<PARAM name = wait value = "../../../../loading.jpg">
<param name="cursor" value="MOVE"> <PARAM name = panmin value = -180> <PARAM name = panmax value = 180> <PARAM name = pan value = 0>
<PARAM name = view_x value = 0> <PARAM name = view_y value = 0> <PARAM name = view_width value = 900> <PARAM name = view_height value = 540>
<PARAM name = tiltmin value = -90> <PARAM name = tiltmax value = 90> <PARAM name = tilt value = 0>
<PARAM name = fovmin value = 75> <PARAM name = fov value = 90> <PARAM name = fovmax value = 100> <PARAM name = "autoTime" value = 120> <PARAM name = "auto" value = 0.1>
<PARAM name = bar_x value = 320> <PARAM name = bar_y value = 300> <PARAM name = bar_width value = 250> <PARAM name = bar_height value = 5> <PARAM name = barcolor value = 3c8dbd>
<PARAM name = quality value = 4>
<PARAM name = frame value = "../../../../bar360.gif"> <PARAM name = bgcolor value = ffffff> <PARAM name = shotspot0 value = " x822 y504 a836 b518 u'ptviewer:startAutoPan(-.1,0,1.0,120)' "> <PARAM name = shotspot1 value = " x835 y504 a849 b518 u'ptviewer:startAutoPan(.1,0,1.0,120)' "> <PARAM name = shotspot2 value = " x864 y504 a878 b518 u'ptviewer:startAutoPan(0,0,0.99)' "> <PARAM name = shotspot3 value = " x877 y504 a891 b518 u'ptviewer:startAutoPan(0,0,1.01)' ">
<PARAM name="file" value="16giftshop.jpg">
</Applet> <!--[if gte IE 6]></NOSCRIPT><![e
------------- /s/
Dave
Forum Moderator for
EasyPano - Panoweaver
Pano2VR
Visit 360texas.com
|