yoshi95
Neues Mitglied
Keine Lust, jetzt viel bla-bla-bla drum zu machen... Hier der Code von meiner Startseite
Leitet auf Tastendruck auf die oben genannten Webseiten weiter.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Startseite</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
</head>
<body>
<script type="text/javascript">
document.onkeydown = Tastendruck;
function Tastendruck (Evenement) {
if (!Evenement)
Evenement = window.event;
if (Evenement.which) {
Tastencode = Evenement.which;
} else if (Evenement.keyCode) {
Tastencode = Evenement.keyCode;
}
taste(Tastencode);
}
function taste(Tastencode){
if (Tastencode == 65) {location.href="#a"}
if (Tastencode == 66) {location.href="#b"}
if (Tastencode == 67) {location.href="#c"}
if (Tastencode == 68) {location.href="#d"}
if (Tastencode == 69) {location.href="#e"}
if (Tastencode == 70) {location.href="#f"}
if (Tastencode == 71) {location.href="#g"}
if (Tastencode == 72) {location.href="[URL]http://www.html.de[/URL]"}
if (Tastencode == 73) {location.href="#i"}
if (Tastencode == 74) {location.href="#j"}
if (Tastencode == 75) {location.href="#k"}
if (Tastencode == 76) {location.href="#l"}
if (Tastencode == 77) {location.href="#m"}
if (Tastencode == 78) {location.href="#n"}
if (Tastencode == 79) {location.href="#o"}
if (Tastencode == 80) {location.href="#p"}
if (Tastencode == 81) {location.href="#q"}
if (Tastencode == 82) {location.href="#r"}
if (Tastencode == 83) {location.href="#s"}
if (Tastencode == 84) {location.href="#t"}
if (Tastencode == 85) {location.href="#u"}
if (Tastencode == 86) {location.href="#v"}
if (Tastencode == 87) {location.href="#w"}
if (Tastencode == 88) {location.href="#x"}
if (Tastencode == 89) {location.href="#y"}
if (Tastencode == 90) {location.href="#z"}
}
</script>
Zur Navigation bitte den <b>fettgedruckten</b> Buchstaben auf der Tastatur drücken!<br><br>
<b>H</b>tml.de
</body>
</html>