|
|
Программное окно
<!-- Вставьте эту часть кода между тегами <HEAD></HEAD> вашего документа -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Все скрипты | http://www.cgi.ru --> <!-- Лучшие скрипты только у нас -->
<!-- Begin function win() { msg=window.open("","msg","height=200,width=200,left=80,top=80"); msg.document.write("<html><title>Windows!</title>"); msg.document.write("<body bgcolor='white' onblur=window.close()>"); msg.document.write("<center>Здесь сам текст</center>"); msg.document.write("</body></html><p>");
// If you just want to open an existing HTML page in the // new window, you can replace win()'s coding above with: // window.open("page.html","","height=200,width=200,left=80,top=80");
} // End --> </script>
<!-- Вставьте эту часть кода в html документ -->
<BODY>
<body bgcolor="white">
<center> <form> <input type="button" value="Открыть окно" onclick="win()"> </form> </center>
<!-- Or you may use: <a href="javascript:win()">Открыть окно</a> -->
<!--#include virtual="/help/counters.txt"-->
© Программа
|