[AnimateTitle]

Die animierten Statuszeilenmeldungen sind mittlerweile wohlbekannt, aber animieren Sie doch mal die Titelleiste...

[Kompatibilität]

[zwischen <HEAD> und </HEAD>]

<script language="JavaScript">
/* Copyright (c) 1999 Jochen Staerk */
var tx = new Array ("Nightfire Webworker Archiv", "Applets","Scripts", "HTML", "DHTML", "CSS", "..and more cool content", "!!!");
var txcount=8;

var i=1;
var wo=0;
var ud=1;
function animatetitle()
{
window.document.title=tx[wo].substr(0, i)+"_";
if (ud==0) i--;
if (ud==1) i++;
if (i==-1) {ud=1;i=0;wo++;wo=wo%txcount;}
if (i==tx[wo].length+10) {ud=0;i=tx[wo].length;}
// if (window.document.title.length < 20 )
window.document.title=window.document.title+"-";
// if (window.document.title.length == 20 )
window.document.title=window.document.title+"]";
// if (window.document.title.length == 21 )
setTimeout("window.document.title='Animierte Seitentitel '; ",1000);
parent.window.document.title=tx[wo].substr(0, i)+"_";
setTimeout("animatetitle()",100);
}

</script>

[in den <BODY> Tag]

onLoad="animatetitle()"

[Autor]

Jochen Staerk

[Download]

Kopieren Sie bitte den Code

Copyright © 1998- Nightfire Webworker Archiv Script No: 0054