Solved

onload fullscreen?

Posted on 2009-04-09
12
1,781 Views
Last Modified: 2012-06-21
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.

0
Comment
Question by:jay-are
  • 6
  • 6
12 Comments
 
LVL 8

Expert Comment

by:MrMintanet
ID: 24107147
It is a pop-up.  There is no other way to do this unless you completely modify the browser.
0
 

Author Comment

by:jay-are
ID: 24107172
Is there anyway to force the browser to go fullscreen on page load then?
0
 
LVL 8

Expert Comment

by:MrMintanet
ID: 24107269
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

0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Author Comment

by:jay-are
ID: 24107391
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?
0
 
LVL 8

Expert Comment

by:MrMintanet
ID: 24107423
You can't do that unless you create your own custom web browser.  This is very easy to do in VB.NET.
0
 

Author Comment

by:jay-are
ID: 24107437
Ok, examples in vb.net?
0
 
LVL 8

Expert Comment

by:MrMintanet
ID: 24107525
0
 

Author Comment

by:jay-are
ID: 24107968
That's for winforms.  I need something I can do in webforms.
0
 
LVL 8

Assisted Solution

by:MrMintanet
MrMintanet earned 500 total points
ID: 24107980
I apologize.  To be honest, I should be home sleeping today.  I am a bit under the weather.

I will get back to you.  I do remember having the same problem as you are having, and I do believe that this is impossible to do.  I am sure there is a better alternative, though.  I will do a bit of research.
0
 

Author Comment

by:jay-are
ID: 24108008
Ok thanks.
0
 

Accepted Solution

by:
jay-are earned 0 total points
ID: 24108976
Well I found a way to do it and it works.

<BODY onload="top.moveTo(0,0);top.resizeTo(screen.width-2,screen.height-2);">

I can't get rid of toolbars and stuff but that will get me pretty close.

Thanks for the help.
0
 
LVL 8

Expert Comment

by:MrMintanet
ID: 24137188
Thank you very much for the points.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question