Jeg prøvede at sætte koden ind i HEAD men det virkede ikke :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<script Language="JavaScript">self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);</script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-image: url(billeder/baggrund%20login.jpg);
}
.style4 {
font-family: "Times New Roman", Times, serif;
color: #FFFFFF;
}
-->
</style></head>
<body>
<script language="JavaScript">
<!-- script ADGANGSKODE starter her
//Script fra @-beynder -
http://www.a-begynder.dk
//Vi har næsten alt til web ... blandt andet
//Gratis script. Slet venligst ikke vores reference
//-------------------------------------------------
<!-- Dette script og mange flere -->
<!-- findes hos
http://www.Script.fvw.dk -->
function CheckPassword() {
var username=document.login.username.value;
var password=document.login.password.value;
location.href = username + password+'.html';
}
// Script slut -->
</script>
<form method="post" action="ingen_javascript.htm"
onsubmit="CheckPassword();return false;" name="login"
<pre>
<div align="left">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="300" id="AutoNumber1">
<tr>
<td><span class="style4"> Username:</span></td>
<td><input type="text" name="username" size="20"></td>
</tr>
<tr>
<td><span class="style4"> Password:</span></td>
<td><input type="password" name="password" size="20"></td>
</tr>
<tr>
<td> </td>
<td>
<input type="submit" value="log in"
onclick="CheckPassword();return false;"></td>
</tr>
</table>
</div>
</pre>
</form>
</body>
</html>
Her er et link til siden :
www.jazperlindenhoff.dk/login2.html
Hvis det hjælper noget.