PHP vrienden,

ik heb een inlogprobleem op deze pagina. Kunnen jullie er even naar kijken?

groeten, Jan
Jan, ben je gehackt ofzo...
Hee, toch gelukt ;-)

JavaScript uitgezet zeker?


Geinig Jan.
Nee hoor, JavaScript staat gewoon aan.
Tab, naam, enter.
ik snap de insteek niet? wat is het probleem dan?
Jan Koehoorn schreef op 01.10.2007 14:20
En nu?
Wat bedoel je?
ja ik kan er ook gewoon bij ff javascript uitzetten
desertme(sander) schreef op 01.10.2007 14:28
ja ik kan er ook gewoon bij ff javascript uitzetten

Nergens voor nodig.
Alles werkt zoals het zou moeten, alleen word ik niet blij van dit soort inlogsystemen :P
nope heb je gelijk in a.u.b.

<!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>

hij werkt


het lag aan je mootools
$('login').addEvent ('mouseover', function () {
this.style.display = 'none';
});
hierin geef je aan dat wanneer iemand met zijn muis over de form login beweegt, dat de form dan verborgen wordt...

Waarom wil je dat nou?

Reageren