Какви са кодовете?

User avatar
staf
Шаман
Шаман
Posts: 4254
Joined: Sun Sep 25, 2005 10:14 pm
Answers: 9
Contact:

Post by staf » Sun Jan 29, 2006 4:05 pm

Code: Select all

<HTML>
<HEAD>
<TITLE>Gate Keeper</TITLE>

<SCRIPT LANGUAGE="JavaScript">
<!--

function goForit&#40;&#41; &#123;
  var location;
  var password;
  password=this.document.testform.inputbox.value
  location=password + ".html"
  fetch&#40;location&#41;
  theKeeper=window.close&#40;&#41;
&#125;

function fetch&#40;location&#41; &#123;
  var root;
  if &#40;opener.closed&#41; &#123;
    root=window.open&#40;'','theKeepersGopher','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=no'&#41;;
    root.location.href = location;
  &#125; else &#123;
    opener.location.href = location;
  &#125;
&#125;
-->
</SCRIPT>

</HEAD>

<BODY>

<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR>
<TD ROWSPAN=2 WIDTH=50%>
&nbsp;&nbsp;

<TD WIDTH=50% ALIGN=CENTER VALIGN=MIDDLE>
<FONT FACE="ARIAL" SIZE=2><B>Napishi parolata</B></FONT><BR>
&nbsp;

<TR>
<TD WIDTH=50% ALIGN=CENTER VALIGN=BOTTOM>
<CENTER>
<FORM NAME="testform">
<INPUT TYPE="text" NAME="inputbox" VALUE="" size=20>
<INPUT TYPE="button" NAME="button" Value="Send" onClick="goForit&#40;this.form&#41;">







</FORM>
</CENTER>


</TABLE>

</BODY>

</HTML>

Admin
Site Admin
Site Admin
Posts: 4
Joined: Thu Jan 01, 1970 12:00 am
Answers: 224

Post by Admin » Sun Jan 29, 2006 4:11 pm


Post Reply