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.
|