panorama software,virtual tour software
Alternate Text
Joined: 2009-08-30
Send Msg:
Posts: 64
2009-09-01
#1

How to edit HTML file?

Hi, Could anybody tell me in which of this sentences should I place the path in order to my VT displays on a html file , that I place outside the folder generated by TW...

I am bolding the (folder) "vtsa" path name, in this example, and it doesnt work, all the html file that is outside the folder displays the preloading logo, and it stops.

Am I missing some place in the code?

 

 

<script type="text/javascript" src="vtsa/swfobject.js"></script>
 <div id="flashcontent">
 To view virtual tour properly, Flash Player 9.0.28 or later version is needed.
 Please download the latest version of <a title="http://www.adobe.com/go/getflashplayer" target="_blank">Flash Player</a> and install it on your computer.
 </div>
    <script type="text/javascript">
 // <![CDATA[
 var so = new SWFObject("vtsa/twviewer.swf", "sotester", "640", "480", "9.0.28", "#474747");
 so.useExpressInstall('vtsa/expressinstall.swf');
 so.addParam("allowNetworking", "all");
 so.addParam("allowScriptAccess", "always");
 so.addParam("allowFullScreen", "true");
 so.addParam("scale", "noscale");
 so.addVariable("lwImg", "vtsa/Project7_logo_tourweaver_virtual_go_360.swf");
 so.addVariable("lwBgColor", "255,255,255,255");
 so.addVariable("lwBarBgColor", "255,255,255,255");
 so.addVariable("lwBarColor", "255,0,255,0");
 so.addVariable("lwBarBounds", "128,384,384,8");
 so.addVariable("lwShowLoadingPercent", "false");
 so.addVariable("iniFile", "vtsa/config_Project7.bin");
 so.write("flashcontent");
 // ]]>
  </script>
</center>
</body>
 </html>


Regards, Sal
Alternate Text
Forum Moderator
Joined: 2002-11-23
Send Msg:
Posts: 5438
2009-09-02
#2
Sal,

This is not possible with Tourweaver because of encrypted paths within the .bin file from memory. You do have the option to share resources. But you have to keep the files and directories unchanged exactly as they are outputted by Tourweaver.

Regards, Smooth
Alternate Text
Joined: 2009-08-30
Send Msg:
Posts: 64
2009-09-02
#3

Thanks Smooth:

I found already the solution at Easypano Website:

I share here what I found, in case someone needs it:

Firstly We could build similar templates as the attached.

Secondly, we insert one of the two MACROs into the place we want in the html template. The two MACROs are as below:


<!-%% Embeded Virtual Tour %%->    and

 <!-%% Popup Virtual Tour %%->.


The function of <!-%% Embeded Virtual Tour %%-> is to embed the codes the VT .


The function of <!-%% Popup Virtual Tour %%-> is to display the thumbnail and URL link of a virtual tour.

Thirdly, after insertion,we have to import the template into the publish window, and then we'll achieve the effect we'd like.

thats it, it works great


Regards, Sal
Alternate Text
Forum Moderator
Joined: 2002-11-23
Send Msg:
Posts: 5438
2009-09-02
#4
Yes, that will modify the .bin file to match at "creation stage" and solves your issue.

Thanks for posting this it will help others searching for answers.

Regards, Smooth