FREE CODE Friday, 10.20.2017, 0:31 AM
Main | Registration | Login Welcome Guest | RSS
[ New messages · Members · Forum rules · Search · RSS ]
۞Forum Statistics۞
NEW TOPPIV
HOT TOPPIC
TOP MEMBERS
NEW MEMBERS
  • check code here Have(0) reviews faxuhi
  • Keywords meta Tags Have(0) reviews faxuhi
  • text box Have(0) reviews faxuhi
  • Page description Have(0) reviews faxuhi
  • marquee Have(0) reviews faxuhi
  • print your page Have(0) reviews faxuhi
  • choose your country Have(0) reviews faxuhi
  • check all - unchek all Have(0) reviews faxuhi
  • shadow text Have(0) reviews faxuhi
  • Beautiful text two Have(0) reviews faxuhi
  • Nice menu with java script <p1> Have(2) reviews faxuhi
  • Mouse Clock Have(1) reviews faxuhi
  • HTML table placeholder Have(0) reviews faxuhi
  • Html graphic bullets Have(0) reviews faxuhi
  • Different times of the world by the users choice from a list Have(0) reviews faxuhi
  • Mouseover Alert HTML Script Have(0) reviews faxuhi
  • Redirect to another page and link automatically to other pg Have(0) reviews faxuhi
  • Combo box link box to browse your website easily Have(0) reviews faxuhi
  • Message to user by clicking a button Have(0) reviews faxuhi
  • Background changing color effect Have(0) reviews faxuhi
  • faxuhi[189]Bài
  • mcsnagger0022[0]Bài
  • thinknoodles[0]Bài
  • karaganis888[0]Bài
  • faxuhi [189]Bài
  • mcsnagger0022 [0]Bài
  • thinknoodles [0]Bài
  • karaganis888 [0]Bài
  • Page 1 of 11
    Forum » HTML Codes » Put password on your website to protect your pages » Put password on your website to protect your pages
    Put password on your website to protect your pages
    faxuhiDate: Monday, 07.25.2011, 4:34 PM | Message # 1
    Colonel
    Group: Administrators
    Messages: 189
    Reputation: 0
    Status: Offline
    Code
    <script language="javascript">
    <!--//
    /*This Script allows people to enter by using a form that asks for a
    UserID and Password*/
    function pasuser(form) {
    if (form.id.value=="user") {  
    if (form.pass.value=="password") {               
    location="http://www.htmlfreecodes.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>
     
    Forum » HTML Codes » Put password on your website to protect your pages » Put password on your website to protect your pages
    Page 1 of 11
    Search:

    Copyright MyCorp © 2017 Website builderuCoz