/*********************************************** * Pausing updown message scroller- Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ //configure the below five variables to change the style of the scroller var scrollerdelay='6000' //delay between msg scrolls. 3000=3 seconds. var scrollerwidth='798px' var fensterbreite=document.body.clientWidth -417; //var scrollerwidth='100%' var scrollerheight='22px' var scrollery='158px' var scrollerspeed='200' var scrollerbgcolor='white' //set below to '' if you don't wish to use a background image //var scrollerbackground='scrollerback.gif' //configure the below variable to change the contents of the scroller var scroller_messages=new Array() scroller_messages[0]='Rettemich: Bin auch hin und wieder noch hier unterwegs.. :) Huhu Lodi' scroller_messages[1]='sebi1981: irgendwie komm ich mir vor als ob ich selbstgespräche führe! ;-) wünsche allen einen schönen tag! ' scroller_messages[2]='sebi1981: servus! ;-) ich hoffe ihr hattet alle ein super wochenende! ;-)' scroller_messages[3]='elegance: :D' scroller_messages[4]='sebi1981: jetzt is das weisse zeug doch noch runter gekommen! ;-) fahrt vorsichtig! ;-) schönen tag an alle! ' scroller_messages[5]='sebi1981: einen schönen abend wünsche ich euch allen! ;-)' scroller_messages[6]='sebi1981: irgendwie war hier vor ein paar jahren mehr los! ;-) wünsche allen ein super bergfest!! ;-)' scroller_messages[7]='sebi1981: schönen sonntag euch allen! ;-)' scroller_messages[8]='Rettemich: Frohe Weihnachten an alle' scroller_messages[9]='Sotti79: bin single...,wer noch...???' var ie=document.all var dom=document.getElementById if (scroller_messages.length>2) messagecount=2 else messagecount=0 function move(whichdiv){ tdiv=eval(whichdiv) if (parseInt(tdiv.style.top)>0&&parseInt(tdiv.style.top)<=5){ tdiv.style.top=0+"px" setTimeout("move(tdiv)",scrollerdelay) setTimeout("move2(second2_obj)",scrollerdelay) return } if (parseInt(tdiv.style.top)>=tdiv.offsetHeight*-1){ tdiv.style.top=parseInt(tdiv.style.top)-5+"px" setTimeout("move(tdiv)",scrollerspeed) } else{ tdiv.style.top=parseInt(scrollerheight)+"px" tdiv.innerHTML=scroller_messages[messagecount] if (messagecount==scroller_messages.length-1) messagecount=0 else messagecount++ } } function move2(whichdiv){ tdiv2=eval(whichdiv) if (parseInt(tdiv2.style.top)>0&&parseInt(tdiv2.style.top)<=5){ tdiv2.style.top=0+"px" setTimeout("move2(tdiv2)",scrollerdelay) setTimeout("move(first2_obj)",scrollerdelay) return } if (parseInt(tdiv2.style.top)>=tdiv2.offsetHeight*-1){ tdiv2.style.top=parseInt(tdiv2.style.top)-5+"px" setTimeout("move2(second2_obj)",scrollerspeed) } else{ tdiv2.style.top=parseInt(scrollerheight)+"px" tdiv2.innerHTML=scroller_messages[messagecount] if (messagecount==scroller_messages.length-1) messagecount=0 else messagecount++ } } function startscroll(){ first2_obj=ie? first2 : document.getElementById("first2") second2_obj=ie? second2 : document.getElementById("second2") move(first2_obj) second2_obj.style.top=scrollerheight second2_obj.style.visibility='visible' } if (ie||dom){ document.writeln('