Announcement


Grab your free HTML codes here! Everything from basic music HTML codes, cool font codes, even free cursor codes! You can copy/paste these codes straight into your web page, and in most cases, your MySpace page. Best Use fresh Javascript source code into your web pages easy. Get scripts and apply to your page. Learn to copy and paste Java code, source code. In free-webcodes, you will find a categorized listing of free php scripts, commercial php scripts, php resource, php tutorials, web resources, php hosting and more. We have also developed several free php scripts at free-webcodes.blogspot. You can find them in the label section to the right. The code is downloadable from php.net too.

Put yout password on your website to protect your webpages

Labels: |

<!-- Put your password on your website to protect your webpages-->
<script language="javascript">
<!--//
/*This Script allows people to enter by using a
form that asks for a ID and Password */

function pasuser(form) {
if (form.id.value=="user") {
if (form.pass.value=="password") {            
location="http://www.yoursite.com"
} else {
alert("Invalid Password")
}
} else {  alert("Invalid UserID")
}
}
//-->
</script>

<center>
<table bgcolor="white" cellpadding="12" border="1" style="border: 0px dashed #FF0000">
<tr><td colspan="2" bordercolor="#FFFF00" style="border: 1px solid #FF0000"><center><h1><i><b>
    <font size="3">Login
Area</font></b></i></h1></center></td></tr>
<tr><td height="30" bordercolor="#FFFF00" style="border: 1px solid #FF0000"><h1><i><b>
    <font size="3">UserID:</font></b></i></h1></td>
    <td height="64" bordercolor="#FFFF00" style="border: 1px solid #FF0000"><form name="login"><input
name="id" type="text"></td></tr>
<tr><td bordercolor="#FFFF00" style="border: 1px solid #FF0000"><h1><i><b>
    <font size="3">Password:</font></b></i></h1></td>
    <td bordercolor="#FFFF00" style="border: 1px solid #FF0000"><input name="pass"
type="password"></td></tr>
<tr><td bordercolor="#FFFF00" style="border: 1px solid #FF0000" height="51"><center><input type="button" value="Login"
onClick="pasuser(this.form)"></center></td>
    <td bordercolor="#FFFF00" style="border: 1px solid #FF0000" height="51"><center><input
type="Reset"></form></td></tr></table></center>

<font face="Tahoma"><span style="font-size: 8pt; text-decoration: none">HTML Free Code</span></font>

0 comments: