|
|
|||||
Topic, HTML codes | ||||||
| ||||||
You must register or log in to post a message.<form> Username: <input type="text" name="user" /> </form> <form> Password: <input type="text" name="pass" /> <input type="submit" value="Submit" /> </form> Arrowswiss: What do you want to say ? To check a password, it uses PHP instead of JavaScript. <SCRIPT LANGUAGE="JavaScript"> <!-- I highly suggest to add atleast some protection to make the script into an external js document... that way its just a tiny bit more secure... --> function LogIn(){ loggedin=false; username=""; password=""; username=prompt("Username:",""); username=username.toLowerCase(); password=prompt("Password:",""); password=password.toLowerCase(); if (username=="guest" && password=="login") { loggedin=true; window.location="home-page.html"; } if (username=="guest2" && password=="login2") { loggedin=true; window.location="home-page2.html"; } if (loggedin==false) { alert("Invalid login!"); } } </SCRIPT> <BODY> <center> <form><input type=button value="Login!" onCli <head> <title> multiscreen </title> </head> <frameset rows="50%,50%" cols="50%,50%"> <frame src="http://www.google.com" /> <frame src="http://www.google.com" /> <frame src="http://www.google.com" /> <frame src="http://www.google.com" /> </frameset> </html> My fav <head> <body> [Your code] </body> </head> </html> Without this, your site would be...Ummm...Won't work <align=center>Title</align><br> <br> <b>Text</b> I LOVE HTML |