Hi;
I want to do this; when opening my first page, there should open a second page (mainpage) which fills the whole screen.
The problem is now that in the code I've used, you still have to click the button on the mainbar to maximize the screen. How can I solve this problem. (The main bar above in my screen still has to be visible...)
This is the code I've used
<SCRIPT LANGUAGE="JavaScript">
netscape = "main.htm"; // set your browser pages
explorer = "main.htm";
unknown = "main.htm";
// Determine the popup window properties
// options include: top, left, toolbars, scrollbars,
// menubar, location, statusbar, and resizable
windowprops = "top=0,left=0,resizable=yes"
+ ",width=" + screen.width + ",height=" + screen.height;
ns = (navigator.appName == 'Netscape');
ie = (navigator.appName == 'Microsoft Internet Explorer');
url = (!ns & !ie) ? unknown : ( ns ? netscape : explorer);
window.open(url, "popupPage", windowprops);
// End -->
</script>
I want to do this; when opening my first page, there should open a second page (mainpage) which fills the whole screen.
The problem is now that in the code I've used, you still have to click the button on the mainbar to maximize the screen. How can I solve this problem. (The main bar above in my screen still has to be visible...)
This is the code I've used
<SCRIPT LANGUAGE="JavaScript">
netscape = "main.htm"; // set your browser pages
explorer = "main.htm";
unknown = "main.htm";
// Determine the popup window properties
// options include: top, left, toolbars, scrollbars,
// menubar, location, statusbar, and resizable
windowprops = "top=0,left=0,resizable=yes"
+ ",width=" + screen.width + ",height=" + screen.height;
ns = (navigator.appName == 'Netscape');
ie = (navigator.appName == 'Microsoft Internet Explorer');
url = (!ns & !ie) ? unknown : ( ns ? netscape : explorer);
window.open(url, "popupPage", windowprops);
// End -->
</script>