home *** CD-ROM | disk | FTP | other *** search
- /*
- versie 1 script voor softwareschermen
- */
-
- var KnoppenGeladen = false;
-
- if (document.images)
- { img1on = new Image(); img1on.src = "../../media/images/sw_inst1.gif";
- img2on = new Image(); img2on.src = "../../media/images/sw_info1.gif";
- img3on = new Image(); img3on.src = "../../media/images/sw_web1.gif";
- img1off = new Image(); img1off.src = "../../media/images/sw_inst.gif";
- img2off = new Image(); img2off.src = "../../media/images/sw_info.gif";
- img3off = new Image(); img3off.src = "../../media/images/sw_web.gif";
- KnoppenGeladen = true;
- }
-
- // bepaal het demonummer van de pagina en of de pagina vanuit een ander scherm wordt aangeroepen
- var DemoNummer = parent.menu.HuidigePagina;
- var aanvrager = parent.menu.location.href.toLowerCase();
- if (aanvrager.indexOf('pca') > -1)
- DemoNummer = parent.menu.DemoNummer;
-
- var ExtraBestand = "demo" + DemoNummer + "e.htm";
- var InformatieBestand = "demo" + DemoNummer + "i.htm";
- var SysteemBestand = "demo" + DemoNummer + "s.htm";
-
- function rollIn(imgName)
- { if (KnoppenGeladen) document[imgName].src = eval(imgName + "on.src"); }
-
- function rollOut(imgName)
- { document[imgName].src = eval(imgName + "off.src"); }
-
- Installer = new Array();
- Webadres = new Array();
- function maakWebsiteDiv()
- { dw('<div class=popup id=popupWebsite>');
- dw('<table border=0 cellspacing=0 cellpadding=8>');
- dw('<tr><td valign=top bgcolor=336699><a href="javascript:sluitPopup(\'Website\')"><img src="../images/close.gif" width=15 height=15 border=0 alt=""></a></td>');
- dw('<td><b>Website</b>');
- dw('<p>');
- for (i = 0; i< Webadres.length; i++)
- { dw('<a class=weblink href="javascript:window.open(\'' + Webadres[i] + '\'); sluitPopup(\'Website\');">' + Webadres[i] + '</a><br>');
- }
- dw('</td></tr>');
- dw('</table>');
- dw('</div>');
- }
-
- // standaardwaarden; deze kunnen per aanroep/pagina worden overruled
-
- var InstallBreedte = 355;
- var InformatieLengte = 250;
- var InformatieBreedte = 450;
- var ExtraLengte = 250;
- var ExtraBreedte = 450;
- var WebsiteLengte = 100; // deze mag v.d. browser niet minder dan 100 zijn!
- var InformatieWeergave = "resizable=no,status=no,scrollbars=yes";
- var ExtraWeergave = "resizable=no,status=no,scrollbars=yes";
- var WebsiteWeergave = "resizable=no,status=no,scrollbars=no";
- var InstallWeergave = "resizable=no,status=no,scrollbars=no";
- var Melding30 = "Geen informatie bekend";
-
-
- function PopupVenster(soort)
- { if (soort == "Website")
- { niets();
- toonPopup(soort);
- }
- else
- { sluitPopup('Website');
- if (soort == "Install") { Bestand = ""; }
- else { Bestand = eval(soort + "Bestand"); }
- InstallLengte = 42 + (Installer.length * 21) + 21 + (Math.round(InstallInfo.length * 10 / InstallBreedte)) * 21;
-
- if (InstallLengte <= 126) InstallLengte = 160;
-
- // InstallLengte:
- // 42 is de lengte van de titel; twee regels; regelhoogte is 21
- // (Installer.length * 21) zijn het aantal te installeren programma's vermenigvuldigd met de regelhoogte
- // InstallInfo.length * 10 geeft aantal pixels van de Info tekst (ruim genomen ivm regelafbrekingen)
- // Delen door InstallBreedte geeft aantal regels, welke met de regelhoogte wordt vermenigvuldigd
-
- PopupBreedte = eval(soort + "Breedte");
- PopupLengte = eval(soort + "Lengte");
- PopupWeergave = eval(soort + "Weergave");
- lokaalVenster = window.open(Bestand, "lokaalvenster", "width=" + PopupBreedte + ",height=" + PopupLengte + "," + PositieY + "=" + PCAinterfaceY + "," + PositieX + "=" + PCAinterfaceX + PopupWeergave);
- if (soort == "Install") { SchrijfInstallGegevens() }
- }
- }
-
- function SchrijfInstallGegevens()
- { ldw('<html><head><title>Installeren</title>');
- ldw('<link rel="STYLESHEET" type="text/css" href="../../cdrom.css">');
- ldw('<link rel="STYLESHEET" type="text/css" href="demos.css">');
- ldw('</head>');
- ldw('<body background="../../media/images/swinfobk.gif">');
- ldw('<table cellspacing=0 cellpadding=0>');
- ldw('<tr><td><img src="../../media/images/pixel.gif" width=30 height=1 border=0 alt=""></td>');
- ldw('<td valign=top>');
- ldw('<b>Installeren</b>');
- ldw('<p>');
- for (var i = 0; i <= Installer.length - 1; i++)
- ldw('<li><a href="' + Installer[i][0] + '">' + Installer[i][1] + ' ' + Installer[i][2] + '</a><br>');
- if (InstallInfo != "")
- { ldw('<p>');
- ldw(InstallInfo);
- // ldw('<hr>');
- }
- ldw('</td></tr></table>');
- ldw('</body></html>');
- }
-
- // pictogrammen voor besturingssysteem, worden per pagina overruled
- win95 = true;
- win98 = true;
- winME = false;
- winNT = false;
- win2000 = false;
- linux = false;
-
- function toonPictogrammen()
- {dw('<table border=0 cellspacing=0 cellpadding=0>');
- dw('<tr><td width=20> </td><td>');
- if (win95)
- dw('<img src="../../media/images/sw_95.gif" width=32 height=22 border=0 alt="Dit programma draait onder Windows 95">');
- if (win98)
- dw('<img src="../../media/images/sw_98.gif" width=32 height=22 border=0 alt="Dit programma draait onder Windows 98">');
- if (winME)
- dw('<img src="../../media/images/sw_me.gif" width=32 height=22 border=0 alt="Dit programma draait onder Windows ME">');
- if (winNT)
- dw('<img src="../../media/images/sw_nt.gif" width=32 height=22 border=0 alt="Dit programma draait onder Windows NT">');
- if (win2000)
- dw('<img src="../../media/images/sw_2000.gif" width=32 height=22 border=0 alt="Dit programma draait onder Windows 2000">');
- if (linux)
- dw('<img src="../../media/images/sw_linux.gif" width=32 height=22 border=0 alt="Dit programma draait onder Linux">');
- dw('</td></tr>');
- dw('</table>');
- }
-
-