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
  Panoweaver
 
Subject Topic: How can I open a QTVR in a pop up window Post Reply Post New Topic
Message posted by Steve66 on October-26-2007 at 1:46pm
View Steve66's Profile Profile   Search for other posts by Steve66 Search   Quote Steve66 Quote   Send Private Message Send Msg  
Steve66
Avatar
Standard Member
Standard Member
United Kingdom
February-28-2007
39 Posts

Hi,
Is it possible to have a QTVR open in a pop up window?
I have changed the size options of the QTVR to 40% x 30% but it keeps on breaking out of the pop up window.
What I would like to achieve is to have a link that will open the QTVR in a pop up window 600 x 500 pixles.

Thank you.

Steve


Message posted by smooth on October-26-2007 at 7:42pm
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

Reading this thread will answer lots of questions.

What you are asking is 100% possible.

Regards, Smooth


Message posted by Steve66 on October-27-2007 at 9:59am
View Steve66's Profile Profile   Search for other posts by Steve66 Search   Quote Steve66 Quote   Send Private Message Send Msg  
Steve66
Avatar
Standard Member
Standard Member
United Kingdom
February-28-2007
39 Posts

Thanks Smooth, I have followed your link and tried to understand it but I am not very code savvy! The code I have been using for a centre pop up is this.
-----------------

Auto-centering Popup window- Developer's View
Insert the below inside the <head> section of your page:

<html>

<head>
<script language="javascript">

/**/

var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}

</script>
</head>

<body>

<a title="http://yousite.com" onclick="NewWindow(this.href,'name','600','500','yes');return false">Your Site</a>

</body>

</html>

-------------------------------------

Would you know where in this script I need to make the changes.

Finally does anyone have an example website of a QTVR in a pop up window as I have not been able to find one. I have seen some Java versions but not QTVR!

Thank you.


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