Fuer unsere Homepage-Startseite habe ich mir unten beschriebenen Java-Script kopiert.
Frage: Kann man den Tickertext auch farbig auf die Statuszeile bringen????
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="GENERATOR" CONTENT="Mozilla/4.07 [de] (WinNT; I) [Netscape]">
<META NAME="Author" CONTENT="Klaus Schmidt">
<TITLE>inhalt</TITLE>
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000"
onLoad="timerONE=window.setTimeout('scrollit_r21(100)', 500);">
<! -- Seiteninhalt.....--->
<P><SCRIPT LANGUAGE="JavaScript">
function scrollit_r21(seed)
{ var msg = " Tickertext........ ";
var out = " ";
var c = 1;
if (seed > 100)
{seed--; var cmd="scrollit_r21(" + seed + ")";
timerTwo=window.setTimeout(cmd,100); }
else if (seed <= 100 && seed > 0)
{for (c=0 ; c < seed ; c++)
{out+=" ";}
out+=msg;seed--;
var cmd="scrollit_r21(" + seed + ")";
window.status=out;
timerTwo=window.setTimeout(cmd,100); }
else if (seed <= 0)
{ if (-seed < msg.length)
{ out+=msg.substring(-seed,msg.length);
seed--;
var cmd="scrollit_r21(" + seed + ")";
window.status=out;
timerTwo=window.setTimeout(cmd,100); }
else
{ window.status=" ";
timerTwo=window.setTimeout("scrollit_r21(100)",75); }
}}
// -- End of JavaScript code ---------------------------------- -->
</SCRIPT>
</BODY>
</HTML>