..: kein Beispiel verfügbar :..
[Beschreibung]
Besucher wird auf eine auf den Wochentag abgestimmte Webseite umgeleitet. Dieses Script ist das Ergebnis einer Frage aus dem Forum.
[Kompatibilität]
[Code]
<script language="JavaScript"> <!-- Original by N8i (http://www.nightfire.ch/java/) --> var now = new Date(); function seite() { if (now.getDay() == 1) window.location.href="montag.html"; if (now.getDay() == 2) window.location.href="dienstag.html"; if (now.getDay() == 3) window.location.href="mittwoch.html"; if (now.getDay() == 4) window.location.href="donnerstag.html"; if (now.getDay() == 5) window.location.href="freitag.html"; if (now.getDay() == 6) window.location.href="samstag.html"; if (now.getDay() == 0) window.location.href="sonntag.html"; } </script>
onload="seite();"
Nightfire
Kopieren Sie bitte den Code