Go Shopping Cart Site Map User Panel and Admin English Home

Home > Easypano Forum    Easypano Forum has been upgraded.

Easypano Forum


Welcome Guest Register Login Search The Forum Display List of Forum Members
 All Forums
  Tourweaver
 
Subject Topic: Resizing Browser window for Flash Tour Post Reply Post New Topic
Message posted by rs360vt on January-16-2008 at 11:12am
View rs360vt's Profile Profile   Search for other posts by rs360vt Search   Quote rs360vt Quote   Send Private Message Send Msg  
rs360vt
Avatar
Standard Member
Standard Member
United Kingdom
December-13-2006
37 Posts

Hi Guys,

I have created some tours and the config files are as follows: What I need to do is edit this file so as to only open a Browser Window, just large enough, to display the tour. I do not want a large white space surrounding the tour when running.

Hope you can help

<html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <title>Virtual Tour By 360virtual-tours.net</title>
 <style type="text/css">
 /* hide from ie on mac */
 html {
 height: 100%;
 overflow: hidden;
 }
 
 #flashcontent {
 height: 50%;
 }
 /* end hide */
 
 body {
 height: 100%;
 margin: 0;
 padding: 0;
 background-color: #FFFFFF;
 }
 </style>
 </head>
 <body leftMargin="0" topMargin="0" rightMargin="0" bottomMargin="0">
 <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", "750", "450", "9.0.28", "#FFFFFF");
 so.useExpressInstall('expressinstall.swf');
 so.addParam("allowNetworking", "all");
 so.addParam("allowScriptAccess", "always");
 so.addParam("allowFullScreen", "true");
 so.addParam("scale", "noscale");
 so.addVariable("lwImg", "VenueCymru_360Catseyes.gif");
 so.addVariable("lwBgColor", "255,0,0,0");
 so.addVariable("lwBarBgColor", "255,232,232,232");
 so.addVariable("lwBarColor", "255,117,117,117");
 so.addVariable("lwBarBounds", "150,360,450,8");
 so.addVariable("iniFile", "config_VenueCymru.xml");
 so.write("flashcontent");
 // ]]>
 </script>
 </body>
 </html>

 

Thanks RS360VT



-------------
R Scutt
360virtual-tours.net

Message posted by roadkillron on January-16-2008 at 11:29am
View roadkillron's Profile Profile   Search for other posts by roadkillron Search   Visit roadkillron's Homepage www   Quote roadkillron Quote   Send Private Message Send Msg  
roadkillron
Avatar
Gold Member
Gold Member

November-04-2006
156 Posts

I usually do the browser window resizing in the link they click to view the tour.

Example,

<a title="#" onClick=javascript:window.open("http://www.cajunpalms.com/temp/cajun_palms_index.html",'_blank','status=yes,top=0,left=0,width=400,height=240');><img src="http://www.cajunpalms.com/temp/index.jpg" border=0></a>



-------------
Roadkill

Message posted by rs360vt on January-16-2008 at 11:33am
View rs360vt's Profile Profile   Search for other posts by rs360vt Search   Quote rs360vt Quote   Send Private Message Send Msg  
rs360vt
Avatar
Standard Member
Standard Member
United Kingdom
December-13-2006
37 Posts

Hi Ron,

Would this also woek for Flash Tours?

I am setting up an autorun CD, using Autorun Max, for the client. So I presume the (http://......... would have to change to reflect the file location on the Autorun CD file structure.

 

Thanks for the prompt response....

 

Richard



-------------
R Scutt
360virtual-tours.net

Message posted by roadkillron on January-16-2008 at 2:10pm
View roadkillron's Profile Profile   Search for other posts by roadkillron Search   Visit roadkillron's Homepage www   Quote roadkillron Quote   Send Private Message Send Msg  
roadkillron
Avatar
Gold Member
Gold Member

November-04-2006
156 Posts
I never tried autorun CD, using Autorun Max. Smooth does though I think, maybe he can chime in when he gets a minute :)

-------------
Roadkill

If you wish to post a reply to this thread you must first Login
If you are not already registered you must first register

Forum Jump Post Reply Post New Topic
Printer Friendly Version Printable version

Powered by: - Web Wiz Guide Discussion Forums