Hi,
I'm using the code below in the <head> section of a page to open a new window that fills the screen. It works fine in IE but I can't get it to work in Netscape. Netscape just ignores the code and opens a window that's approximately one-inch square. It's tiny!
<SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT">
<!-- Hide script from old browsers
widthBrows = 750
heightBrows = 550
if (screen) {
widthBrows = screen.availWidth-20
heightBrows = screen.availHeight-30
}
// End hiding script from old browsers -->
</script>
I'm opening the window from a Flash movie using this code:
on (release) {
getURL("javascript:launchwin('
}
Can anyone tell me why this won't work in Netscape? Is there something different that I need to do to accomodate for Netscape? I even tried just opening new windows from an html page using some other code but nothing I try seems to be able to automatically maximize the window in Netscape.
Any help would be greatly appreciated!
Thanks,
Gwenn
I'm using the code below in the <head> section of a page to open a new window that fills the screen. It works fine in IE but I can't get it to work in Netscape. Netscape just ignores the code and opens a window that's approximately one-inch square. It's tiny!
<SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT">
<!-- Hide script from old browsers
widthBrows = 750
heightBrows = 550
if (screen) {
widthBrows = screen.availWidth-20
heightBrows = screen.availHeight-30
}
// End hiding script from old browsers -->
</script>
I'm opening the window from a Flash movie using this code:
on (release) {
getURL("javascript:launchwin('
}
Can anyone tell me why this won't work in Netscape? Is there something different that I need to do to accomodate for Netscape? I even tried just opening new windows from an html page using some other code but nothing I try seems to be able to automatically maximize the window in Netscape.
Any help would be greatly appreciated!
Thanks,
Gwenn