Solved

onload fullscreen?

Posted on 2009-04-09
12
1,779 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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…
I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

815 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

8 Experts available now in Live!

Get 1:1 Help Now