var intMessageSize=2810; var sbgcolor='#C5031A'; var sdirection='left' //Die Scrollrichtung: Möglichkeiten: up, down, left, right var swidth=0; //Die Breite der Scroll-Leiste, dabei ist 0: maximale Breite //In diesem Fall wird allerdings noch die Breite eines Banners abgezogen... var sheight="100%"; var sspeed=10; var stype='loop'; // Scroll-Type: loop = Endlosschleife, once = einmal danach anstelle dessen var strAltText=''; // statisch strAltText; var ns6div=""; var wholemessage='
Liebe Freunde, liebe Fans, herzlich willkommen im Neuen Jahr und viel Glück, Freude und Erfüllung aller Eurer Wünsche. Ich bin zur Zeit in Klausur um mich auf ein größeres Projekt vorzubereiten. Drückt mir die Daumen, herzlich, Cornelia
'; var strAltMessage=''; function fnInitTicker(){ if (document.body.offsetWidth && swidth==0) { swidth=document.body.offsetWidth; } else if (window.innerwidth && swidth==0){ swidth=window.innerWidth; } document.getElementById ("laufleiste").innerHTML='
'; ns6div=document.getElementById('slider'); ns6div.innerHTML=wholemessage switch (sdirection) { case 'left': ns6div.style.left=swidth; break; } ns6slide(); } function ns6marquee(){ } function ns6slide(){ switch (sdirection) { case 'up': if (parseInt(ns6div.style.top)>=sheight*(-1)) ns6div.style.top=parseInt(ns6div.style.top)-sspeed; else ns6div.style.top=sheight; break; case 'down':if (parseInt(ns6div.style.top)<=sheight) ns6div.style.top=parseInt(ns6div.style.top)+sspeed; else ns6div.style.top=-sheight; break; case 'left':if (parseInt(ns6div.style.left)>=intMessageSize*(-1)) { ns6div.style.left=parseInt(ns6div.style.left)-sspeed; } else { if (stype=='loop') { ns6div.style.left=swidth; } else { document.getElementById ("laufleiste").innerHTML=strAltMessage; return; } } break; case 'right':if (parseInt(ns6div.style.left)<=swidth) ns6div.style.left=parseInt(ns6div.style.left)+sspeed; else ns6div.style.left=-swidth; break; } setTimeout("ns6slide()",100); }