rissac
01-08-2002, 11:05 AM
I'm trying to center my Shockwave movie inside an html document but I'm not having any luck. The script I'm using is attached to a button on my splash page. Here is the spript below.
Script in Header......Movie is exactly 900x500
script language="javascript">
function NewWin(URL, WinName) {
myNewWin=open(URL, WinName, 'toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,width=900,height=500');
}
</script>
Script on button
<a href="javascript:NewWin('http://www.sergeeustache.com/FlashSite.html')"><img src="Images/Enter_Button.gif" width="121" height="28" align="left" hspace="180" border="0"></a></td>
There doesn't seem to be a way to center the movie. Does anyone know how to solve this issue. You can take a look the site an see the exact issue at http://www.sergeeustache.com. Thank you.
Script in Header......Movie is exactly 900x500
script language="javascript">
function NewWin(URL, WinName) {
myNewWin=open(URL, WinName, 'toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,width=900,height=500');
}
</script>
Script on button
<a href="javascript:NewWin('http://www.sergeeustache.com/FlashSite.html')"><img src="Images/Enter_Button.gif" width="121" height="28" align="left" hspace="180" border="0"></a></td>
There doesn't seem to be a way to center the movie. Does anyone know how to solve this issue. You can take a look the site an see the exact issue at http://www.sergeeustache.com. Thank you.