Click to See Complete Forum and Search --> : Window Properties


rp33
12-27-2002, 11:57 AM
Trying to autorun an html page from a cd-rom with no menu, nav, toolbar, etc. I can autoload the page no problem, but having trouble setting the window properties.

thanx,

RP

khalidali63
12-27-2002, 02:59 PM
code below will open a new window and then close the window that opened it.it should mimic the effect you want to do with auto run.

<body>
<script>
var nw = "width='100%';height:'100%',scollbars=no,addressbar=no";
var newWindow = window.open("","newWindow",nw);
newWindow.document.open();
newWindow.document.write("Auto Generated Window<br>");
newWindow.document.close();
self.close();

</script>

</body>

rp33
12-28-2002, 08:28 AM
Close, But it prompts the user to close the original page. Is it possible to have the new page load in the same window?

thanx again,

RP

Charles
12-28-2002, 08:51 AM
Originally posted by rp33
Close, But it prompts the user to close the original page. Is it possible to have the new page load in the same window?

thanx again,

RP No. You can start the thing in Kiosk mode, but that takes control. The user has to use Ctrl-Alt-Delete to get rid of the thing. See http://www.microsoft.com/WINDOWS2000/techinfo/reskit/en-us/ierk/AppxC_c.asp.

khalidali63
12-28-2002, 09:54 AM
You can probaly do this.when cd auto run command opens the window( this is the porent window),once its open have another "<iframe>" open in this parent window and make it take the hundred percent of the parent window.this should do it,the solution I posted earlier works seemlesly in NS but I think IE asks for user action to close the parent window.
n e ways try iframe solution

Khalid