Solved

onload fullscreen?

Posted on 2009-04-09
12
1,767 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
 

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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

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…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now