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

embedding in HTML

Hi folks,

it may sounds silly and I`m not such an HTML specialist, but how to embed a tour into a content (Joomla!)?
I supposed to embed the "twviever.swf" would work out, but it doesn`t!

, Arpito
Alternate Text
Joined: 2007-01-19
Send Msg:
Posts: 83
2009-01-09
#2

Arpito,
I'm not an HTML specialist either but if you look into the htlm that TW publishes you will see it takes mulitple lines to start the tour. I normaly cut and paste this section into my new html page that I am embedding the tour into or you can use frames, I-frames, ext to just simple load the tours published html file into the new web page.

example of html code cut and pasted from published tour file.

 <script type="text/javascript" src="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("twviewer.swf", "sotester", "589", "427", "9.0.0", "#FFFFFF");
 so.addParam("allowNetworking", "all");
 so.addParam("allowScriptAccess", "always");
 so.addParam("allowFullScreen", "true");
 so.addParam("scale", "noscale");
 //<!-%% Share Mode %%->
 so.addVariable("lwImg", "resources/ftwnh-tour_ftwhn-loading.jpg");
 so.addVariable("lwBgColor", "255,255,255,255");
 so.addVariable("lwBarBgColor", "255,255,255,255");
 so.addVariable("lwBarColor", "255,0,0,0");
 so.addVariable("lwBarBounds", "10,332,563,11");
 so.addVariable("lwlocation", "0");
 so.addVariable("lwShowLoadingPercent", "true");
 so.addVariable("lwTextColor", "255,0,0,0");
 so.addVariable("iniFile", "config_ftwnh-tour.bin");
 so.addVariable("progressType", "0");
 so.addVariable("swfFile", "");
 so.addVariable("href", location.href);
 so.write("flashcontent");
 // ]]>
 </script>

 

 


RTFM
www.FCEDesign.com