Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

onload fullscreen?

Posted on 2009-04-09
12
Medium Priority
?
1,792 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

877 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