panorama software,virtual tour software
Alternate Text
Joined: 2007-02-28
Send Msg:
Posts: 39
2007-10-26
#1

How can I open a QTVR in a pop up window

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


Nikon D40x + Nikon 10.5mm fisheye + Nodal Ninja 3 + lots of patience
Alternate Text
Forum Moderator
Joined: 2002-11-23
Send Msg:
Posts: 5438
2007-10-26
#2

Reading this thread will answer lots of questions.

What you are asking is 100% possible.

Regards, Smooth


Alternate Text
Joined: 2007-02-28
Send Msg:
Posts: 39
2007-10-27
#3

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.


Nikon D40x + Nikon 10.5mm fisheye + Nodal Ninja 3 + lots of patience