IE Kiosk Mode, 2 screen, descendant window.

  • Thread starter Thread starter jputnam
  • Start date Start date
J

jputnam

I have an I.E. application that has one window open a second descendant
window with and activeX app that needs to communicate with the first
window.

I Have two screens and would like to open the app in Kiosk mode and
position the two browser windows (parent and child) in the two seperate
screens (using extended desktop ),

I can open one window in kiosk but how can I open the child window on
the other screen (and in kiosk mode as well).

Thanks in advance

---John Putnam (e-mail address removed)
 
Hi jputnam,

You need to calculate the screen dimensions and position your dialog to fill
the screen.
In your arguments to ShowModalDialog or ShowModelessDialog
build your options parametes with javascript

var str = new String ("toolbar=no, location=no,stautus=no,
menubar=no,resizable=no,top=0,left=0,height=" + screen.height + ",width=" +
screen.width )

Regards.

Oh there are some tools out there that will give you a gui to build your
dialog arguments (Search for Popup Builder, there is even an online free
tool)
 
Rob,

Thanks for your reply. I am generating currently two windows The main
window from javascript in in init window.

questwindow=window.open('http://appurl','adminapp','frameborder=0,
scrolling=no, marginwidth=0, marginheight=0, border=0, noresize,
Width=1014 Height=719');

(which gives me 1024x768 with frame borders)

that window creates a second one.

swingwindow=window.open('','swingapp','frameborder=0, scrolling=no,
marginwidth=0, marginheight=0, border=0, noresize, Width=1034
Height=818');
if(swingwindow.location=='about:blank') {
swingwindow.location='/urlOfdescApp';}

(to not create the window if already created. This window has 1024x768
in its main winodw.

What I want to do is find a way to open these window's in kiosk mode,
one in one screen and the other in the second screen. I have fooled
around with the code.

"C:\Program Files\Internet Explorer\IEXPLORE.EXE" -k
javascript:moveTo(100,100);resizeTo(500,500);
location.replace('http://appULR')

in a shortcut to see if I would position at least one of them. With
just the -k it opens the window full screen in kiosk mode. The
javascript argument though does not work. Any javascript argument seems
to fail, no browser window open and no error indiction.

Any thoughts on how to open this in a secondary display on the
extended desktop?

Thanks,

---John Putnam
 
Back
Top