������ �����, ��������� �������������� ������������ ������ open. �� ��������� Web-��������� ������� �� ������ �������������� ���� Web-������������ � ��������� � ���� �����-���� �������� - ����� �������� �������� ��� ���������� ������� ��������������� ������.
var contentsWindow; contentsWindow = window.open("https://www.somesite.ru/contents.htm","contents");� ���� ������� �� ������� ����� ����, ��������� � ���� ����� Web-�������� � ��������� �� ��� contents. ����� open ������ ������ �� ������ ����� ���������� ����, ������� �� ����� ������������ ������������ ��� ������ � ���� �����:
contentsWindow.Left = 300;��� ���� ����� ������������ � �������� TARGET ���� <A>:
<A href="https://www.somesite.ru/contents2.htm" target="contents">����������</A>����� ������������ �������������� �������� ����, ����� ����� ��������� ��� ����������������. ��������, �� ����� ����� ����� ������ � ����� ������������ ���� ������ ������������ � ������ ���������:
contentsWindow = window.open("https://www.somesite.ru/contents.htm", "contents", "toolbar=no", "status=no");�� ����� ������ ��������� ���������� � ������� ������������ ����:
contentsWindow = window.open("https://www.somesite.ru/contents.htm", "contents", "top=100", "left=200", "width=400", height="200");� ��� ������ ����� �������� ������ � NN ������ 4.06 ��� ����� �������:
contentsWindow = window.open("https://www.somesite.ru/contents.htm", "contents", "screenY=100", "screenX=200", "outerWidth=400", outerHeight="200");����� �������� ���� ���������� ���� ������, ��� ����� ������� ��� ������ ������ close. �������� closed �������� � ���������� ���������, ������� �� ��� ���� (��������, ���� ��� ������� ������������):
contentsWindow.close; if(contentsWindow.closed) . . .�������� status ��������� ��������� � ������ ��������� �����-���� �����, �������� �� ������ �� ���������:
window.status = "���������� WEB - ������";� �������� defaultStatus �������� ����� ������ ������� ���� ����� �� ���������:
window.status = window.defaultStatus;�� ����� ������ ����� ����������� ������ � �������������, ��������� ��� ���������� ��������������� ������. ����� alert ������� �� ����� ���� �������������� � �������� ������� � ������� ��:
window.alert("������!!!");