FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


cross





Matee
Code:
<html>
<head>
<script>
function sprawdz()
{var punkty

punkty=0
if (kross.aa.value=="k")
{punkty=punkty +1}
if (kross.bb.value=="i")
{punkty=punkty +1}
if (kross.cc.value=="d")
{punkty=punkty +1}




if (kross.ss.value=="haslo")
{
if (punkty==3)
{alert ("Gratulacjie")}
else
{alert ("Zle")}
}
else {alert ("wpisz haslo")}

}

</script>
</head>
<body>
<form name="kross">
<table border="1">
<tr>
<td><input type="text" name="1a" size="1" Maxlength="1"></td>
<td><input type="text" name="1b" size="1" Maxlength="1"></td>
<td bgcolor="#000000"><input type="text" name="aa" size="1" Maxlength="1" value=""></td>
<td><input type="text" name="1d" size="1" Maxlength="1"></td>
<td><input type="text" name="1e" size="1" Maxlength="1"></td>
<td><input type="text" name="1f" size="1" Maxlength="1"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="text" name="2a" size="1" Maxlength="1"></td>
<td bgcolor="#000000"><input type="text" name="bb" size="1" Maxlength="1" value=""></td>
<td><input type="text" name="2c" size="1" Maxlength="1"></td>
<td><input type="text" name="2d" size="1" Maxlength="1"></td>
<td><input type="text" name="2e" size="1" Maxlength="1"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td bgcolor="#000000"><input type="text" name="cc" size="1" Maxlength="1" value=""></td>
<td><input type="text" name="3b" size="1" Maxlength="1"></td>
<td><input type="text" name="3c" size="1" Maxlength="1"></td>
<td>&nbsp;</td>
</tr>
<TR>
<TD colspan="6">
<input type="reset" value="Reset">

<input type="button" value="Sprawdz" onClick="sprawdz()" name="pass">
</TD>
</TR>

<tr>
<td colspan="6"><input type="password" name="ss" size="6">&nbsp;HASłO
</TD>
</TR>
</table>
</form>

<table>
<tr>
<td>1. cuffle on PSX</td>
</tr>
<tr>
<td>2. ... Fantasy</td>
</tr>
<tr>
<td>3. You live in it</td>
</tr>
</table>

</body>
</html>
Related topics
Anyone like cross country?
Cross country state
The answer to "Why did the Chicken Cross the Road???&am
Cross-upgrading Mambo to Joomla
Cycling?
Why did the chicken cross the road?
Did Jesus survive the crucifixion?
I went the no image route!! What do you think?
Any Cross country cyclist out there ?? as in Bicycles
eBook creator for PDA - pref. pdf, cross-platform
Anyone run cross country?
Chrono Cross
User-friendly Website Builder?
Cross Country
Anybody liked to play Chrono Cross?
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.