PHP vrienden,
ik heb een inlogprobleem op deze pagina. Kunnen jullie er even naar kijken?
groeten, Jan
21 views
Wat bedoel je?Jan Koehoorn schreef op 01.10.2007 14:20En nu?
desertme(sander) schreef op 01.10.2007 14:28ja ik kan er ook gewoon bij ff javascript uitzetten
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Jan Koehoorn | Inlogscherm</title>
<script type="text/javascript" src="mootools/mootools.js"></script>
<script type="text/javascript">
window.addEvent ('load', init);
function init () {
$('login').addEvent ('mouseover', function () {
this.style.display = 'none';
});
$('username').addEvent ('focus', function () {
$('login-button').type = 'text';
});
$('password').addEvent ('focus', function () {
$('login-button').style.display = 'none';
});
$('login-button').addEvent ('focus', function () {
this.style.display = 'none';
});
}
</script>
</head>
<body>
<form id="login" method="post" action="#">
<div>
<input id="username" name="username" type="text" />
</div>
<div>
<input id="password" name="password" type="password" />
</div>
<div>
<input id="login-button" type="submit" value="log in" />
</div>
</form>
</body>
</html>