mallman
12-10-2005, 03:25 PM
I want to open a secondary window through a link in a fully maximised state, I am using this code:
<SCRIPT LANGUAGE="JavaScript">
function fullScreen(theURL) {
window.open(theURL, '', 'channelmode = yes,fullscreen=yes,titlebar = no, scrollbars=auto');
}
// End -->
</script>
then I call the above:
<body >
<a href="javascript:void(0);" onClick="fullScreen('page.htm');">Open Full Screen Window</a>
</body>
This does work most of the time but sometimes on some machines it opens the window maximised but still with a blue title bar which I don't want. What can I do to ensure that the window opens consistently fully maximised, thanks for any advice.
<SCRIPT LANGUAGE="JavaScript">
function fullScreen(theURL) {
window.open(theURL, '', 'channelmode = yes,fullscreen=yes,titlebar = no, scrollbars=auto');
}
// End -->
</script>
then I call the above:
<body >
<a href="javascript:void(0);" onClick="fullScreen('page.htm');">Open Full Screen Window</a>
</body>
This does work most of the time but sometimes on some machines it opens the window maximised but still with a blue title bar which I don't want. What can I do to ensure that the window opens consistently fully maximised, thanks for any advice.