R
Robert Inder
I am trying to build an interface for browsing a web-accessible
database from a twin-monitor "kiosk", using Windows XP, with the
option to "extend the desktop" onto the second screen.
I want to control the way windows are positioned on the two screens.
((Note: this is a "special case" interface. It is NOT part of the
normal web site, it is only meant to be used from these twin
screen machines, which will have known configurations. It
is not meant to be a general web interface or work on any
other setup...))
I have spent a while banging my head against this, and I believe I
have discovered the following.
By default, "window.open" and "window.moveTo" take locations, but
seem to be constrained to be entirely on the primary screen. So even
if you ask for a window to open on the (part of the desktop displayed
on the) second screen, it will in fact appear on the main display.
In Internet Explorer, there is a security setting named something like
"allow script-initiated windows without size or position constraints"
which lets me get around this. If I enable this, I can use javascript
to open windows on whichever desktop I choose.
I would LIKE to be able to keep open the option of using (or, if
necessary, changing to) Firefox on these kiosks. But I cannot
see how to do this: it does not seem to have any equivalent to this
security setting, so I cannot get windows off the primary display.
Can anybody shed any light? Is there a way to do this?
Robert.
database from a twin-monitor "kiosk", using Windows XP, with the
option to "extend the desktop" onto the second screen.
I want to control the way windows are positioned on the two screens.
((Note: this is a "special case" interface. It is NOT part of the
normal web site, it is only meant to be used from these twin
screen machines, which will have known configurations. It
is not meant to be a general web interface or work on any
other setup...))
I have spent a while banging my head against this, and I believe I
have discovered the following.
By default, "window.open" and "window.moveTo" take locations, but
seem to be constrained to be entirely on the primary screen. So even
if you ask for a window to open on the (part of the desktop displayed
on the) second screen, it will in fact appear on the main display.
In Internet Explorer, there is a security setting named something like
"allow script-initiated windows without size or position constraints"
which lets me get around this. If I enable this, I can use javascript
to open windows on whichever desktop I choose.
I would LIKE to be able to keep open the option of using (or, if
necessary, changing to) Firefox on these kiosks. But I cannot
see how to do this: it does not seem to have any equivalent to this
security setting, so I cannot get windows off the primary display.
Can anybody shed any light? Is there a way to do this?
Robert.