home *** CD-ROM | disk | FTP | other *** search
/ PC Extra 07 & 08 / pca1507.iso / intface / INHOUD.JS < prev    next >
Encoding:
Text File  |  2003-05-28  |  4.7 KB  |  110 lines

  1. /*
  2. versie 1 inhoudsopgave: AvG
  3. */
  4.  
  5. // PC-Active
  6. specialTitel = new Array();
  7. //specialTitel[1]  = new Array("Interactieve Tabel: printers", "tabellen/index.htm", "Door uw eigen weegfactoren toe te kennen, beslist u zelf welk product voor u het best is.");
  8.  
  9. specialTitel[1] = new Array("Filters in Photoshop 7", "special2/index.htm", "Met de filters in Photoshop kunt u leuke special effects bereiken.");
  10. specialTitel[2] = new Array("Gebruikersbeheer met de MMC", "special3/index.htm", "Het beheren van gebruikers is één van de belangrijkste taken in Windows 2000.");
  11. specialTitel[3] = new Array("Uw stamboom op het web deel 3", "special4/index.htm", "Met Java en MySQL zetten we onze stamboom op het web.");
  12. specialTitel[4] = new Array("Geluidsfragmenten stille pc", "special1/index.htm", "Luister naar geluidsfragmenten van enkele geluidsisolerende maatregelen.");
  13. specialTitel[5] = new Array("Prijsvraag: Win een mp3-speler", "special5/index.htm", "Beantwoord onze vraag voor 20 augustus en maak kans op een complete mp3-speler.");
  14.  
  15. var aantalHandsOns = specialTitel.length - 1;
  16.  
  17. pcaRubriek = new Array();
  18. pcaRubriek[1] =  new Array("Essentiële software", "tools/index.htm", "Kijk iedere maand even in deze sectie voor de nieuwste updates op belangrijke en handige software.");
  19. pcaRubriek[2] = new Array("Zoeken in oude nummers", "zoeken/index.htm", "In welk nummer stond dat artikel ook al weer? Zoek het op in ons archief.");
  20. //pcaRubriek[3] =  new Array("Jewelcase inlay", "jewelcase.pca", "Klaar om te printen.");
  21. pcaRubriek[3] =  new Array("Jewelcase inlay", "jewel/index.htm", "Klaar om te printen.");
  22. pcaRubriek[4] =  new Array("Antivirusupdates", "antivir/index.htm", "Updates voor uw virusscanner.");
  23.  
  24. var aantalPCARubrieken = pcaRubriek.length - 1;
  25.  
  26. pcaPopupItem = new Array();
  27. pcaPopupItem[1] = new Array("Providerlijst", "provlist/provlist.htm", "Alle internetproviders in Nederland en België.");
  28. pcaPopupItem[2] = new Array("Gratis mailproviders", "mailprov/mailprov.htm", "Gratis mailadres nodig?");
  29. //pcaPopupItem[3] = new Array("Boekendatabase", "boeken.pca", "Korte beschrijvingen van computerboeken, inclusief prijs en isbn.");
  30. var aantalPCAPopupItems = pcaPopupItem.length - 1;
  31.  
  32. // Software
  33. demoTitel = new Array()
  34. demoTitel[1] = "Visual Communicator";
  35. demoTitel[2] = "SiSoftware Sandra Standard 2003";
  36. demoTitel[3] = "PC-Active Webstrijd: de software";
  37. demoTitel[4] = "Stop Spam!";
  38. demoTitel[5] = "Paint Shop Pro 8";
  39. demoTitel[6] = "Gratis mailserver: Imail!";
  40. demoTitel[7] = "FlipAlbum 5 Professional";
  41.  
  42. var aantalDemos = (demoTitel.length - 1 < 10 ? "0" : "") + (demoTitel. length- 1).toString();
  43.  
  44. gameTitel = new Array()
  45. gameTitel[1] = "Vietcong single player demo";
  46. gameTitel[2] = "Game Wallpapers";
  47.  
  48. var aantalGames = gameTitel.length - 1;
  49.  
  50.  
  51. swTitel = new Array()
  52. swTitel[1] = "Special: Vrije Tijd";
  53. swTitel[2] = "Special: Webcamsoftware";
  54.  
  55. var aantalSpecials = swTitel.length - 1;
  56.  
  57.  
  58. function maakBeschrijvingen()
  59. {    // schrijft de DIV's met beschrijvingen in het PC-Active scherm.
  60.     // moet nog geimplementeerd worden in het Softwarescherm.
  61.     for (var i = 1; i <= aantalHandsOns; i++)
  62.     {    omschrijving = eval('specialTitel[' + i + '][2]');
  63.         dw('<div class=pcaPopup id=popupspecial' + i + '>');
  64.         dw(omschrijving);
  65.         dw('</div>');
  66.     }
  67.     for (var i = 1; i <= aantalPCARubrieken; i++)
  68.     {    omschrijving = eval('pcaRubriek[' + i + '][2]');
  69.         dw('<div class=pcaPopup id=popuprubriek' + i + '>');
  70.         dw(omschrijving);
  71.         dw('</div>');
  72.     }
  73.     for (var i = 1; i <= aantalPCAPopupItems; i++)
  74.     {    omschrijving = eval('pcaPopupItem[' + i + '][2]');
  75.         dw('<div class=pcaPopup id=popuppcaPopupItem' + i + '>');
  76.         dw(omschrijving);
  77.         dw('</div>');
  78.     }
  79.  
  80. }
  81.  
  82. // =======  Genereren inhoudsopgave  ======= //
  83.  
  84. function toonInhoud()
  85. {    if (debug)
  86.     {    dbg_functie     = arguments.callee.toString();
  87.         eind            = dbg_functie.indexOf("{") - 1;
  88.         dbg_functieNaam = dbg_functie.substr(0, eind);
  89.         dbg('<b>' + dbg_functieNaam + '</b>')
  90.         for (var i = 0; i < arguments.length; i++)
  91.         {    dbg('<br>   argument ' + i + ': ' + arguments[i])
  92.         }
  93.         dbg('<p>');
  94.     }
  95.     parent.parent.script.inhoud = 1;
  96.     popupWeergave = "resizable=yes,status=no,scrollbars=yes";
  97.     bestand       = "../inhoud.htm";
  98.     popupBreedte  = (screen.width - 640) / 2 - 10;
  99.     popupHoogte   = 480;
  100.     inhoudTop     = PCAinterfaceY;
  101.     inhoudLinks   = PCAinterfaceX - popupBreedte - 10;
  102.     if (debug)
  103.     {    schrijfDebugMelding('popupBreedte: ' + popupBreedte);
  104.         schrijfDebugMelding('inhoudLinks: ' + inhoudLinks);
  105.         schrijfDebugMelding('PositieY: ' + PositieY);
  106.     }
  107.     inhoudVenster = window.open(bestand, "Inhoudsopgave", "width=" + popupBreedte + ",height=" + popupHoogte + "," + PositieY + "=" + inhoudTop + "," + PositieX + "=" + inhoudLinks + popupWeergave)
  108. }
  109.  
  110.