Connecting Tech Pros Worldwide Help | Site Map

Javascript - Full Screen on Second Monitor? (Bump)

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 20th, 2005, 09:16 AM
HockeyTownUSA
Guest
 
Posts: n/a
Default 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





  #2  
Old July 20th, 2005, 09:18 AM
Grant Wagner
Guest
 
Posts: n/a
Default Re: Javascript - Full Screen on Second Monitor? (Bump)

HockeyTownUSA wrote:
[color=blue]
> 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[/color]

[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 <gwagner@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


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.