home *** CD-ROM | disk | FTP | other *** search
- <!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
-
- <html>
- <head>
- <title>Beweegwijzer</title>
-
- <hta:application id="appWin"
- applicationname="Beweegwijzer"
- border="none"
- boderstyle="none"
- caption="no"
- icon="start.ico"
- showintaskbar="yes"
- singleinstance="yes"
- sysmenu="none"
- minimizebutton="no"
- maximizebutton="no"
- windowstate="maximize"
- />
-
- <style type="text/css">
- </style>
-
- <script language="JavaScript">
- var dataPath = ''; // Waar bevinden zich de audio, video, en assets
- var userDataFileName = '';
- var xmlUserData = new ActiveXObject("Microsoft.XMLDOM");
- var userRoot;
- var userName = '';
- var goPage = 'menu.html';
- var soundSettings = 1;
-
- function getProfiel(n) {
- userDataFileName = "gebruikers/gebruiker_"+n+".xml";
- xmlUserData.load(userDataFileName);
- if (xmlUserData.documentElement) {
- userRoot = xmlUserData.documentElement;
- }
- else {
- xmlUserData.load("data/gebruiker.xml"); // template
- userRoot = xmlUserData.documentElement;
- }
- }
-
- function emptyProfiel(n) {
- userDataFileName = "gebruikers/gebruiker_"+n+".xml";
- xmlUserData.load("data/gebruiker.xml"); // template
- userRoot = xmlUserData.documentElement;
- }
-
- function putProfiel(n,geslacht,leeftijd,lengte,gewicht) {
- userRoot.selectSingleNode("naam").text = n;
- userRoot.selectSingleNode("geslacht").text = geslacht;
- userRoot.selectSingleNode("leeftijd").text = leeftijd;
- userRoot.selectSingleNode("lengte").text = lengte;
- userRoot.selectSingleNode("gewicht").text = gewicht;
- xmlUserData.save(userDataFileName); // template
- }
-
- function quitProfiel() {
- AppPage.location.href = goPage;
- }
-
- function loadfirstPage() {
- xPos = (((screen.availWidth-640)/2)<2)?-2:(screen.availWidth-640)/2;
- yPos = (((screen.availHeight-480)/2)<2)?-2:(screen.availHeight-480)/2;
-
- AppWindow.style.pixelLeft = xPos;
- AppWindow.style.pixelTop = yPos;
-
- CreditsImg.style.pixelLeft = xPos+135;
- CreditsImg.style.pixelTop = yPos+100;
-
- startString = appWin.commandLine;
-
- if (startString.indexOf("-cdrom",0) != -1) {
- driveLetter = startString.slice(startString.indexOf("-cdrom",0)+7,startString.indexOf("-cdrom",0)+8) + ':';
- dataPath = driveLetter + '\\beweegwijzer\\';
- }
-
- AppPage.location.href = "animatie.html";
-
- }
- </script>
-
- <body id="mainbody" onload="loadfirstPage()" scroll="no" bgcolor="#ffffff" onselectstart="return false;" oncontextmenu="return false;">
- <bgsound id="snd" src="" loop="0">
- <img onClick="window.close()" src="images/black.gif" id="CreditsImg" style="visibility:hidden; position:absolute; left:135px; top:75px; width:370px; height:360px; filter:blendTrans(Duration=4)" border="0">
-
- <div id="AppWindow" tabindex="-1" style="visibility:hidden; position:absolute; left:0px; top:0px; width:640; height:480; background-image:url('images/default.bmp'); z-index:1">
- <iframe id="AppPage" src="black.html" frameborder=0 style="position:absolute; width:640; height:480" application="yes"></iframe>
- </div>
-
- <div id="PrintWindow" style="visibility:visible; position:absolute; left:0px; top:-256px; width:640; height:200; z-index:1">
- <iframe id="PrintPage" src="black.html" frameborder=0 style="position:absolute; width:640; height:80" application="yes"></iframe>
- </div>
-
- </body>
- </html>
-