473,379 Members | 1,283 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

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("thispage.htm","pagename","fullscreen= 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("image.jpg","imagepage","fullscreen=ye s");
openImage.moveTo(801,0);
parent.focus();
}

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

<body onLoad="imageWindow();">

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 19500
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("thispage.htm","pagename","fullscreen= 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("image.jpg","imagepage","fullscreen=ye s");
openImage.moveTo(801,0);
parent.focus();
}

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

<body onLoad="imageWindow();">

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*****@agricoreunited.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
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:...
6
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...
0
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...
1
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...
0
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...
4
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
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',...
3
dmjpro
by: dmjpro | last post by:
I am using this JavaScript code to open a window in a full screen mode .... var styles =...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.