<body onload="TickerInit()">
<style type="text/css">
body {margin:0px;}
#cont {position:absolute; top:-100px; left:0px; width:100%; height:18px; overflow:hidden; visibility:hidden;}
#text {position:relative; left:2000px; height:18px; font-family:tahoma,arial,helvetica,sans-serif; font-size:14px; font-weight:bold;}
#text a {color:#ffff99; font-family:tahoma,arial,helvetica,sans-serif; font-size:14px; font-weight:bold; text-decoration:none;}
#text a:hover{color:#ff0000; font-family:tahoma,arial,helvetica,sans-serif; font-size:14px; font-weight:bold; text-decoration:none;}
</style>
<script language="JavaScript1.2" type="text/javascript">
/************************************************************************
Script made by Martial Boissonneault © 2001 http://getElementById.com/
This script may be used and changed freely as long as this msg is intact
Visit http://getElementById.com/ for more free scripts and tutorials.
*************************************************************************/
var ie5 = (document.getElementById && document.all);
var ns6 = (document.getElementById && !document.all);
var nWidth = 1000; // width of text; more text you have higher this number is.
var nSpeed = 2; // the speed of the ticker.
var nBgOff = "#426099"; // the background-color onmouseout.
var nBgOn = "#aabbdd"; // the background-color onmouseover.
var nCoOff = "#aabbdd"; // the font-color onmouseout.
var nCoOn = "#426099"; // the font-color onmouseover.
/* You don't have to edit below this line */
var nEnd = -nWidth;
var nLeft = nWidth;
var timerTt = null;
var timerSt = null;
function Statik() {
if(ie5) {
scrollY = document.body.scrollTop;
innerHeight = document.body.clientHeight;
}
if (ie5 || ns6) {
obj.style.top = (innerHeight - obj.offsetHeight) + scrollY;
obj.style.left = 0;
obj.style.width = 100 + "%";
timerSt=setTimeout("Statik()", 10);
}
}
function TickerTape(){
if(ie5) {
innerWidth = document.body.clientWidth;
}
if(ie5 || ns6) {
obj.style.backgroundColor = nBgOff;
obj.style.color = nCoOff;
tck.style.left = nLeft;
tck.style.width = nWidth;
nLeft = nLeft - nSpeed;
if( nLeft < nEnd ) {nLeft = innerWidth;}
timerTt=setTimeout('TickerTape()', 30);
}
}
function StopIt(){
clearTimeout(timerTt);
obj.style.backgroundColor = nBgOn
obj.style.color = nCoOn
}
function TickerInit(){
if(ie5 || ns6) {
tck = document.getElementById('text');
obj = document.getElementById('cont');
obj.style.visibility = "visible";
obj.onmouseover=StopIt;
obj.onmouseout=TickerTape;
TickerTape();
Statik();
}
}
</script>
<div id="cont">
<div id="text">
javarea.de - eine der größten Javascriptseiten im Deutschen Raum +++++ Hier finden Sie Scripte, Applets, Tools uvm.
</div>
</div> |