Citat:
VRider:
Moje pitanje je bilo: kako nakon otvaranja prozora "dva" iz prozora "jedan" da zatvorim prozor "dva" iz prozora "jedan"?
To moze.
Copy/paste sledeci kod (i dodaj ono html, head, title, body...)
<BODY>
<script language="JavaScript">
<!-- hide
myWin= open("", "", "width=400,height=300,status=no,toolbar=no,menubar=no");
myWin.document.open();
myWin.document.write("<html><head><title>Prozor 2");
myWin.document.write("</title></head><body>");
myWin.document.write("<center><font size=+3>");
myWin.document.write("This HTML-document has been created ");
myWin.document.write("with the help of JavaScript!");
myWin.document.write("</font></center>");
myWin.document.write("</body></html>");
// close the document - (not the window!)
myWin.document.close();
// -->
</script>
<a href="javascript:myWin.close();">Zatvori Prozor 2!<a/>
</BODY>
Kad sve ostalo zakaže, pročitaj uputstvo...