PDA

View Full Version : open window in IE maximised without title bar?


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.

_Aerospace_Eng_
12-10-2005, 03:49 PM
I don't think SP2 allows you to remove the title bar (don't quote me on that).

liorean
12-10-2005, 04:46 PM
Don't quote aero perhaps.

/- - -/
To help users make better trust decisions, we made it harder for malicious sites to spoof IE’s UI and provided clearer dialogs around key activities like installing software. For instance, some bad guys today cover the IE UI like the address bar or prompt dialogs with a chromeless window (an IE window with no window frame). They then make the UI look like it said something else, like a different URL or “This is totally safe. Install it now!” In XP SP2 IE windows cannot cover IE UI nor is it as easy to create chromeless windows.
/- - -/(IEBlog (http://blogs.msdn.com/ie/default.aspx): IE in Windows XP SP2 (http://blogs.msdn.com/ie/archive/2004/08/10/212008.aspx))



For more details, see:
Changes to Functionality in Microsoft Windows XP Service Pack 2 (http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2chngs.mspx) > Part 5: Enhanced Browsing Security (http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx) > Internet Explorer Window Restrictions (http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx#EDAA)