Solved

onload fullscreen?

Posted on 2009-04-09
12
1,775 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Trouble with References... 5 42
Name space syntax error 12 39
Runtime Error 2 27
Master Content Pages, WebForms, and Session Variables 1 29
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

932 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

15 Experts available now in Live!

Get 1:1 Help Now