473,772 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript - Full Screen on Second Monitor? (Bump)

I am working a project where I am using two monitors and using
HTML/Javascript to display the information I want.

I have my main stuff on the main monitor, but when each page loads, I want
an image to load fullscreen on the second monitor as well. I am using
800x600 resoution on both.

If I use:

function openWindow()
{
mainWindow = window.open("th ispage.htm","pa gename","fullsc reen=yes");
}

that works fine for the main monitor.

I have then tried to use the second monitor to open an image by using the
same type of thing:

function imageWindow()
{
openImage = window.open("im age.jpg","image page","fullscre en=yes");
openImage.moveT o(801,0);
parent.focus();
}

I am trying to use it with the onload command as well:

<body onLoad="imageWi ndow();">

I am passing arguments to these functions but simplified it here.

Anyhow it will only open it full screen on the first monitor. I can position
it and move it to the second monitor if it is not full screen just fine.

Does anyone have any suggestions?

Thanks!

Mark


Jul 20 '05 #1
1 19599
HockeyTownUSA wrote:
I am working a project where I am using two monitors and using
HTML/Javascript to display the information I want.

I have my main stuff on the main monitor, but when each page loads, I want
an image to load fullscreen on the second monitor as well. I am using
800x600 resoution on both.

If I use:

function openWindow()
{
mainWindow = window.open("th ispage.htm","pa gename","fullsc reen=yes");
}

that works fine for the main monitor.

I have then tried to use the second monitor to open an image by using the
same type of thing:

function imageWindow()
{
openImage = window.open("im age.jpg","image page","fullscre en=yes");
openImage.moveT o(801,0);
parent.focus();
}

I am trying to use it with the onload command as well:

<body onLoad="imageWi ndow();">

I am passing arguments to these functions but simplified it here.

Anyhow it will only open it full screen on the first monitor. I can position
it and move it to the second monitor if it is not full screen just fine.

Does anyone have any suggestions?

Thanks!

Mark


[window object].moveTo() and [window object].resizeTo() do not work on windows
opened with fullscreen=1 or fullscreen=yes. This was a security addition to
Internet Explorer 6 Service Pack 1 to prevent chromeless windows from mimicing
or spoofing existing UI elements.

--
| Grant Wagner <gw*****@agrico reunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 6/7 and Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
15828
by: Els | last post by:
Hi, i have the following script in the head of my document: <script language="Javascript"> <!-- // *********************************************** // AUTHOR: WWW.CGISCRIPT.NET, LLC // URL: http://www.cgiscript.net // Use the script, just leave this message intact. // Download your FREE CGI/Perl Scripts today! // ( http://www.cgiscript.net/scripts.htm )
6
7579
by: Nicky | last post by:
hi,all We are going to develop a program and when it is running, we need it full screen and also, user can not switch to other place before exit our program. I am thinking, we can make a window full screen, but how to avoid user switching to other program or windows? And also, there are many hot keys, how to capture or disable these things? Thanks
0
2197
by: Franklin M. Gauer III | last post by:
Hi, We have an application running that uses FULL SCREEN ANCHORING in Windows Forms. The application runs fine on all of our desktops and some laptops. We are having problems with certain Dell laptops using an Nvidia Go graphics driver (multi screen). When the app goes full screen - .NET does not detect the right and bottom boundary of the screen - therefore all of the buttons etc. that are anchored to either the right and/or the...
1
1283
by: Duncan S | last post by:
I am writing a service that uses the second monitor as a notice board the service runs okay if started when a user logs on. however the screen is blanked when the user logs out. is there any way a service can take charge of the second monitor
0
905
by: polgarita | last post by:
Hi, I am looking for help /ideas to solve the following isue: How can i send the same visual application (with embedede flash ) to two different Tactil monitors (full screen) and use them independently(what is being shown in one it is not necesarilly what it is shown in the other? thanks in advance polgar PD: I have tried with flash and it always goes to pimay monitor when in full screen
4
5543
by: howa | last post by:
Hello, I found many method is about opening new window in full screen, but not change the current window to full screen, so it is possible in fact? Thanks.
2
2107
by: Plum Bob | last post by:
Hi - I use a simple JS function to open popups on my site: <script language="javascript"> <!-- var pathname; function openit(pathname) { newWindow = window.open(pathname, 'wndow1', 'resizable=yes,scrollbars=yes'); } // -->
3
1864
dmjpro
by: dmjpro | last post by:
I am using this JavaScript code to open a window in a full screen mode .... var styles = "menubar=no,location=no,resizable=no,scrollbars=yes,status=no,left=0,top=0,width="+screen.width+",height="+screen.height; alert('Width: ' + screen.width + 'Height: ' + screen.height); var _win = window.open("welcome.jsp","opener_window",styles); Now it's working properly in IE but not working in Mozilla. In Mozilla, first of all it's having the...
0
9621
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8937
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7461
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6716
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4009
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3610
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2851
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.