SirNapalm
06-15-2005, 01:04 PM
Hi there,
I have a startpage to launch my flash site in either Normal or Fullscreen (selectable by the user). The startpage in the background will load a thankyou page to be there once the user closes the flash site.
In Firefox it opens the normal window and the window without toolbar, status- and menubar like I want it to. The full width and height of the user screen. But in IE it opens these two windows a different, smaller size - WHY?
My resolution is 1280x800.
here's my code:
<html>
<head>
<script language="JavaScript">
<!-- hide
var ie = (document.all)? true:false
var isMac = (navigator.appVersion.indexOf('Mac') >0)? true:false;
function full() {
var wihe = 'width='+screen.availWidth+'height='+screen.availH eight;
window.open("home.html", "Home", "screenX=0,screenY=0,left=0,top=0" + wihe);
document.location = "end.html"
}
function normal(file) {
window.open(file)
document.location = "end.html"
}
// done hiding -->
</script>
</head>
<body>
<a href="javascript:full('home.html');">Launch Full</a>
<a href="javascript:normal('home.html');">Launch Normal</a>
</body>
</html>
I have also tried avail.width and avail.height - but these two don't seem to work in either Firefox nor IE.
Help would be greatly appreciated!
Cheers,
I have a startpage to launch my flash site in either Normal or Fullscreen (selectable by the user). The startpage in the background will load a thankyou page to be there once the user closes the flash site.
In Firefox it opens the normal window and the window without toolbar, status- and menubar like I want it to. The full width and height of the user screen. But in IE it opens these two windows a different, smaller size - WHY?
My resolution is 1280x800.
here's my code:
<html>
<head>
<script language="JavaScript">
<!-- hide
var ie = (document.all)? true:false
var isMac = (navigator.appVersion.indexOf('Mac') >0)? true:false;
function full() {
var wihe = 'width='+screen.availWidth+'height='+screen.availH eight;
window.open("home.html", "Home", "screenX=0,screenY=0,left=0,top=0" + wihe);
document.location = "end.html"
}
function normal(file) {
window.open(file)
document.location = "end.html"
}
// done hiding -->
</script>
</head>
<body>
<a href="javascript:full('home.html');">Launch Full</a>
<a href="javascript:normal('home.html');">Launch Normal</a>
</body>
</html>
I have also tried avail.width and avail.height - but these two don't seem to work in either Firefox nor IE.
Help would be greatly appreciated!
Cheers,