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
       Forum Search Results
 
Subject Topic: TW Flash page alignment Post Reply Post New Topic
Message posted by randalltomes on October-20-2007 at 4:48am
View randalltomes's Profile Profile   Search for other posts by randalltomes Search   Visit randalltomes's Homepage www   Quote randalltomes Quote   Send Private Message Send Msg  
randalltomes
Avatar
Standard Member
Standard Member
United States
October-20-2007
61 Posts
I would like to position the TW flash object in a web page without being forced to the top left corner of the page. Some customers may want the tour to display with other content on the page in their existing website and avoid having to use a pop up window.

Message posted by smooth on October-20-2007 at 5:06am
View smooth's Profile Profile   Search for other posts by smooth Search   Visit smooth's Homepage www   Quote smooth Quote   Send Private Message Send Msg  
smooth
Forum Moderator
Forum Moderator
Australia
November-23-2002
5401 Posts

Simply place it (the code) into a table and centre the table.

Regards, Smooth


Message posted by randalltomes on October-29-2007 at 3:49pm
View randalltomes's Profile Profile   Search for other posts by randalltomes Search   Visit randalltomes's Homepage www   Quote randalltomes Quote   Send Private Message Send Msg  
randalltomes
Avatar
Standard Member
Standard Member
United States
October-20-2007
61 Posts

Have you tried that. Can you send me a link to a page where this is done.

It should be that easy but thier Javascript seems to force it over to the top left no matter what html you surround it with.


Message posted by smooth on October-29-2007 at 11:39pm
View smooth's Profile Profile   Search for other posts by smooth Search   Visit smooth's Homepage www   Quote smooth Quote   Send Private Message Send Msg  
smooth
Forum Moderator
Forum Moderator
Australia
November-23-2002
5401 Posts
Quote: Originally posted by randalltomes on October-29-2007

Have you tried that.


LOL no mate I just make things up.....

Of course I have, give this a bash.

<html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <title>Virtual Tour Created By Me</title>
 <style type="text/css">
 /* hide from ie on mac */
 html {
 height: 100%;
 overflow: hidden;
 }
 
 #flashcontent {
 height: 100%;
 }
 /* end hide */
 
 body {
 height: 100%;
 margin: 0;
 padding: 0;
 background-color: #FFFFFF;
 }
 </style>
 </head>
 <body leftMargin="0" topMargin="0" rightMargin="0" bottomMargin="0">
 <p align="center">
 </p>
 <div align="center">
 <table border="0" width="600" id="table1" cellspacing="0" cellpadding="0">
  <tr>
   <td> <p align="center">&nbsp;</p>
   <p align="center">&nbsp;</p>
   <p align="center"><script type="text/javascript" src="swfobject.js"></script>
 &nbsp;</p>
 <div id="flashcontent">
 <p align="center">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>
 <p align="center"><script type="text/javascript">
 // <![CDATA[
 var so = new SWFObject("twviewer.swf", "sotester", "600", "500", "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", "my_loader.jpg");
 so.addVariable("lwBgColor", "255,255,255,255");
 so.addVariable("lwBarBgColor", "255,255,255,255");
 so.addVariable("lwBarColor", "255,204,0,255");
 so.addVariable("lwBarBounds", "99,290,300,14");
 so.addVariable("iniFile", "config_my_tour.xml");
 so.write("flashcontent");
 // ]]>
 </script>
 </p>   </td>
  </tr>
 </table>

 </div>

 </body>
 </html>

Regards, Smooth


Message posted by randalltomes on October-31-2007 at 3:55pm
View randalltomes's Profile Profile   Search for other posts by randalltomes Search   Visit randalltomes's Homepage www   Quote randalltomes Quote   Send Private Message Send Msg  
randalltomes
Avatar
Standard Member
Standard Member
United States
October-20-2007
61 Posts

It did center it but broke the Flash.

You may be using Opera browser. The problem is with IE7 and Firefox which IE7 is the most populare browser in the states.

Here is a screen shot of what your code produces:

http://www.3dimagetour.com/temp/tw.jpg

http://www.3dimagetour.com/3PalmsPMG/CasaDePlaya/207/View%20Tour_3Palms2.html

 

 

 


Message posted by smooth on October-31-2007 at 11:49pm
View smooth's Profile Profile   Search for other posts by smooth Search   Visit smooth's Homepage www   Quote smooth Quote   Send Private Message Send Msg  
smooth
Forum Moderator
Forum Moderator
Australia
November-23-2002
5401 Posts

Mate,

Don't assume what I use. You simply need to adjust the size to match your tour.

In these lines of the code.

<table border="0" width="600" id="table1" cellspacing="0" cellpadding="0">

var so = new SWFObject("twviewer.swf", "sotester", "600", "500", "9.0.28", "#FFFFFF");

Regards, Smooth


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