View Full Version : Fix Size for HTML page
rissac
12-17-2001, 02:18 PM
Does any know how to have a fixed size for an HTML page which is not resizeable? I wont to play a QT movie in the fix html page. Take a look at the link below and click on the movie. This is a good example.
http://www.vfxpro.com/article/mainv/0,7220,31185,00.html
Why don't you open the quicktime movie in a new window with fixed settings. Example:
<html>
<title>Open window</title>
<head>
<script language="javascript">
function NewWin(URL, WinName) {
myNewWin=open(URL, WinName, 'toolbar=no,location=no,directories=no,status=yes,scrollbars=no,resizable=no,width=240,height=220');
}
</script>
</head>
<body>
<a href="javascript:NewWin('http://www.yahoo.com','yahoo')">Yahoo</a>
</body>
</html>
rissac
01-04-2002, 05:16 PM
Thanks alot Mark. Happy New Year! Now, my last question is how would you center it.
prodeveloping
01-04-2002, 05:44 PM
http://javascript.internet.com/navigation/centered-popup.html
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.