Need to create a pop up user name, password input box on my website. Have tried searching the web but only come up with complicated examples. Want a box that pops up when someone selects a link, then the person can enter thier user name and password.
Main page:
<html>
<head>
<title> :: Main page :: </title>
<script language="JavaScript">
function loginpopup(){
wnd = window.open("login.html","login","width=280,height=100"
//upper line has to be on one line
}
</script>
</head>
<body>
<a href="javascript:loginpopup()">Click here to login</a>
</body>
</html>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.