Hello All,
I've set up a kiosk that's locked down and only launches Netscape 7.1 on startup. Since Netscape is launched by setting it as the Shell in the Winlogon key, users can't reopen NS if they close it out.
So, what I'd like to do is set up a page on the local machine - which would be the homepage - that uses OnUnload to relaunch NS if someone shuts it down. I've gotten this to work, sort of, but I always seem to wind up in a loop, with NS trying to reopen the page, forever.
The code below isn't exactly what I'm using, but it should give you a good idea of how I'm trying to go about this. If anyone can tell me where I'm going wrong or if there's a better way to do this, I'd appreciate it. Oh, and I don't have access to the page on the actual server, only the kiosk.htm on the local machine.
Thanks in advance,
Mirth
I've set up a kiosk that's locked down and only launches Netscape 7.1 on startup. Since Netscape is launched by setting it as the Shell in the Winlogon key, users can't reopen NS if they close it out.
So, what I'd like to do is set up a page on the local machine - which would be the homepage - that uses OnUnload to relaunch NS if someone shuts it down. I've gotten this to work, sort of, but I always seem to wind up in a loop, with NS trying to reopen the page, forever.
The code below isn't exactly what I'm using, but it should give you a good idea of how I'm trying to go about this. If anyone can tell me where I'm going wrong or if there's a better way to do this, I'd appreciate it. Oh, and I don't have access to the page on the actual server, only the kiosk.htm on the local machine.
Thanks in advance,
Mirth
Code:
<script language="JavaScript" type="text/javascript">
<!--
function WinOpen(){
window.open("[URL unfurl="true"]http://something.com","TEST",[/URL] "status=yes,hotkeys=no,toolbar=yes,scrollbars=yes");
}
function Reload(){
window.open("file:///c:/kiosk.htm")
//-->
</SCRIPT>
<body onLoad="WinOpen()" onUnload="Reload()">