Ga naar inhoud

javascript window will niet close


anoniem

Aanbevolen berichten

[code:1:225450ad4a] <script language=JavaScript> function instructions() { instructionwin= open('', '', 'width=500,height=300,toolbar=no,scrollbars=yes'); instructionwin.document.write('<html><head><title>Instructions'); instructionwin.document.write('</title></head><body bgcolor="Yellow">'); instructionwin.document.write('<center><font size=+1>'); instructionwin.document.write('</center></font><b>'); instructionwin.document.write('First download the map you want for example mp_italy. When you have done this extract the zippe file with a program like WinRar or WinZip, extract the .pk3 file to directory called base in your Sof2 directory:<br>'); instructionwin.document.write('<center><font size=+2>'); instructionwin.document.write('For example:<br> E:/Soldier of Fortune II - Double Helix/base'); instructionwin.document.write('</center></font><font size=+1><br>'); instructionwin.document.write('When you start Soldier of Fortune 2 it will automatically be recognized (you can see this at startup on the console)'); instructionwin.document.write('<input type=button value="Close window" onClick=instructionwin.close()>'); instructionwin.document.write('</center></font>'); } function sluitinstructionwin() { instructionwin.close(); } [/code:1:225450ad4a] Ik krijg het niet voor elkaar het window dicht te laten gaan vanuit het window zelf (wat was ook al weer de functie voor geen kruise (..=flalse)
Link naar reactie

Om een reactie te plaatsen, moet je eerst inloggen

Gast
Reageer op dit topic

×   Geplakt als verrijkte tekst.   Herstel opmaak

  Er zijn maximaal 75 emoji toegestaan.

×   Je link werd automatisch ingevoegd.   Tonen als normale link

×   Je vorige inhoud werd hersteld.   Leeg de tekstverwerker

×   Je kunt afbeeldingen niet direct plakken. Upload of voeg afbeeldingen vanaf een URL in

  • Populaire leden

    Er is nog niemand die deze week reputatie heeft ontvangen.

  • Leden

    Geen leden om te tonen

×
×
  • Nieuwe aanmaken...