Hilfe, habe irgendwo einen Fehler, den ich aber nicht finden kann. Möchte nur auf meiner Homepage "Hallo liebe Besucher" als Lauftext haben und es erscheint rein gar nix.... Wer kann mir helfen?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Bigband Soundtrain</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF"
onLoad="StatusLauftext (); return true">
<P><script language="javascript">
<!--
var Text ="Hallo liebe Besucher";
var Geschwindigkeit =0;
var Breite = 100;
var TextLaenge = Text.substring;
var Position = 1 - Breite;
function StatusLauftext()
{
Position++;
var Textzustand="";
if (Positon == TextLaenge)
{
Positon = 1 - Breite;
}
if (Position < 0)
{
for (var Zaehler = 1; Zaehler
<= Math.abs(Positon); Zaehler++)
{ Textzustand = Textzustand + "";
}
Textzustand = Textzustand + Text.substring (0,Breite-Zaehler + 1);
} else {
Textzustand = Textzustand + Text.substring (Position,Breite+Position); }
window.status = Textzustand;
setTimeout ("StatusLauftext ()", return true);
}
//-- >
</script></P></body></html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Bigband Soundtrain</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF"
onLoad="StatusLauftext (); return true">
<P><script language="javascript">
<!--
var Text ="Hallo liebe Besucher";
var Geschwindigkeit =0;
var Breite = 100;
var TextLaenge = Text.substring;
var Position = 1 - Breite;
function StatusLauftext()
{
Position++;
var Textzustand="";
if (Positon == TextLaenge)
{
Positon = 1 - Breite;
}
if (Position < 0)
{
for (var Zaehler = 1; Zaehler
<= Math.abs(Positon); Zaehler++)
{ Textzustand = Textzustand + "";
}
Textzustand = Textzustand + Text.substring (0,Breite-Zaehler + 1);
} else {
Textzustand = Textzustand + Text.substring (Position,Breite+Position); }
window.status = Textzustand;
setTimeout ("StatusLauftext ()", return true);
}
//-- >
</script></P></body></html>