Link to home
Start Free TrialLog in
Avatar of jay-are
jay-areFlag for United States of America

asked on

onload fullscreen?

Hello Experts

I have a page that currently uses this:
window.open("https://www.mysite.com/folder/page.aspx", "_blank", "location=no,menubar=no,status=no,toolbar=no,titlebar=no,resizable=yes,scrollbars=yes,channelmode=yes,fullscreen=yes");

When the page loads and it calls this javascript a new window is opened with no toolbars or anything else.  Unfortunately this is treated as a popup.  How do I get around this?  Is there something I can do without using window.open?  I want the page to be in fullscreen mode basically without the toolbars/address bar etc.

Avatar of MrMintanet
MrMintanet

It is a pop-up.  There is no other way to do this unless you completely modify the browser.
Avatar of jay-are

ASKER

Is there anyway to force the browser to go fullscreen on page load then?
http://www.yourhtmlsource.com/javascript/popupwindows.html


<html>
<head>
<title></title>
<script type="text/javascript">
function fullscreen(theurl) {
window.open(theurl, '', 'fullscreen=yes, scrollbars=auto');
}
</script>
</head>
 
<body>
<a href="javascript:void(0);" onclick="fullscreen('http://www.webmasterworld.com');">open full screen window</a>
</body>
</html> 

Open in new window

Avatar of jay-are

ASKER

I need to actually load the page full screen without user interaction.  Basically they are following a link that leads to my page that needs to be fullscreen.  Is there a way to do this without having the user click another button/link?
You can't do that unless you create your own custom web browser.  This is very easy to do in VB.NET.
Avatar of jay-are

ASKER

Ok, examples in vb.net?
Avatar of jay-are

ASKER

That's for winforms.  I need something I can do in webforms.
SOLUTION
Avatar of MrMintanet
MrMintanet

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jay-are

ASKER

Ok thanks.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you very much for the points.