<body><!-- Breedte en hoogte tabel moeten gelijk zijn aan breedte en hoogte van de tekst. --> <table width=700 height=60 border=0 cellpadding=0 cellspacing=0> <tr><td align="center"> <script language="JavaScript" type="text/javascript"> var text=new Array() var textlink=new Array() var texttarget=new Array()
var textfont="Arial Black" // lettertype var textfontcolor=new Array("#FF0000","#0000FF","#00FF00","#660000") // tekstkleuren var outlinecolor=new Array("#000000","#000000","#FDCF15","#996600") // tekstrandkleuren var shadowcolor=new Array("#FFFF00","#00FFFF","#FDCF15","#3300FF") // tekstschaduwkleuren var textfontcolorrollover="#ff0000" // tekst rollover-kleur var textfontsize=10 // tekstgrootte var textbgcolor="#FFFF00" // tekstachtergrondkleur var textweight="normal" // 'bold' of 'normal' var textitalic="normal" // 'italic' of 'normal'
var textwidth=700 // identiek aan tabelbreedte! var textheight=60 // identiek aan tabelhoogte!
var textpause=1 // pauze in seconden
var tekstdoosborder=3 // randdikte var tekstdoosbordercolor="#996600" // randkleur var widthfontoutline=1 // dikte letterrand var fontopacity="50%" // transparantie tekst var shadowopacity="50%" // transparantie schaduw var applygradient=true // 'true' of 'false' var i_shape=4 // waarden 0-3,4 = alle vormen
var i_path=0 var speed=60 var textdecoration="none"
var innerwidth=Math.floor(0.90*textwidth) var innerheight=Math.floor(0.90*textheight)
var posleft=Math.floor((textwidth-innerwidth)/2-tekstdoosborder) var postop=Math.floor((textheight-innerheight)/2)
var i_message=0 var i_messagelength=0 var i_outlinecolor=0 var i_textfontcolor=0 var i_shadowcolor=0
var textalign="center" var textvalign="middle" var textitalicA="" var textitalicB="" var textweightA="" var textweightB="" var textfontsizeHTML=1 var i_mes=0
var i_substring=0 var i_presubstring=0 var i_text=0 var textcontent="" var notag=true var textpresubstring="" var textaftersubstring="" textpause*=1000
var browserinfos=navigator.userAgent var ie4=!document.getElementById&&document.all&&!browserinfos.match(/Opera/) var ie5=document.getElementById&&document.all&&!browserinfos.match(/Opera/) var ns6=document.getElementById&&!document.all&&!browserinfos.match(/Opera/) var opera=browserinfos.match(/Opera/)
function gettextcontent() { tablewidth=textwidth-2*tekstdoosborder tableheight=textheight-2*tekstdoosborder textpresubstring=text[i_text].substring(0,i_presubstring) var i_prepre=i_presubstring-1 if (i_prepre<0) {i_prepre=0} if (text[i_text].substring(i_prepre,i_presubstring)=="<"){notag=false} if (text[i_text].substring(i_prepre,i_presubstring)==">"){notag=true} if (notag) { textcontent="<table border=0 cellpadding=4 width="+tablewidth+" height="+tableheight+"><tr valign="+textvalign+"><td align="+textalign+">" textcontent+="<a href='"+textlink[i_text]+"' target='"+texttarget[i_text]+"' style='position:relative; font-family:"+textfont+";text-decoration:"+textdecoration+";font-family:"+textfont+";color:"+textfontcolor[i_textfontcolor]+";font-size:"+textfontsize+"pt;font-weight:"+textweight+";font-style:"+textitalic+"' onMouseOver=\"this.style.color=\'"+textfontcolorrollover+"\'\" onMouseOut=\"this.style.color=\'"+textfontcolor[i_textfontcolor]+"\'\">" textcontent+=textpresubstring textcontent+="</a>" textcontent+="</td></tr></table>" } }
function showtickerNS6() { textcontent="<table border=0 cellpadding=4 width="+textwidth+" height="+textheight+"><tr valign="+textvalign+"><td align="+textalign+">" textcontent+="<a href='"+textlink[i_text]+"' target='"+texttarget[i_text]+"' style='position:relative; font-family:"+textfont+";text-decoration:"+textdecoration+";font-family:"+textfont+";color:"+textfontcolor[i_textfontcolor]+";font-size:"+textfontsize+"pt;font-weight:"+textweight+";font-style:"+textitalic+"' onMouseOver=\"this.style.color=\'"+textfontcolorrollover+"\'\" onMouseOut=\"this.style.color=\'"+textfontcolor[i_textfontcolor]+"\'\">" textcontent+=text[i_text] textcontent+="</a>" textcontent+="</td></tr></table>" document.getElementById("ticker").innerHTML=textcontent i_text++ i_textfontcolor++ if (i_text>=text.length) {i_text=0} if (i_textfontcolor>=textfontcolor.length-1) {i_textfontcolor=0} var timer=setTimeout("showtickerNS6()", textpause) }
function showticker() { if (i_substring<=text[i_text].length) { i_substring++ i_presubstring=i_substring-1 if (i_presubstring<0) {i_presubstring=0} gettextcontent() if (opera) { document.getElementById("ticker").innerHTML=textcontent var timer=setTimeout("showticker()", speed) } } else { clearTimeout(timer) var timer=setTimeout("changetext()", textpause) } }
function changetext() { i_substring=0 i_presubstring=0 i_text++ i_textfontcolor++ i_path++ if (i_text>text.length-1) {i_text=0} if (i_textfontcolor>textfontcolor.length-1) {i_textfontcolor=0} showticker() }
function changeform() { if (i_outlinecolor >= outlinecolor.length) {i_outlinecolor=0} if (i_textfontcolor >= textfontcolor.length) {i_textfontcolor=0} if (i_shadowcolor >= shadowcolor.length) {i_shadowcolor=0} if (i_path>path.length-1) {i_path=0} document.getElementById('strokeid').color=outlinecolor[i_outlinecolor] document.getElementById('fillid').color=textfontcolor[i_textfontcolor] document.getElementById('shadowid').color=shadowcolor[i_shadowcolor] if (i_shape==path.length) { document.getElementById('shapeid').path=path[i_path] } if (i_message < text.length) { tick() } else {i_message=0;tick()} }
function tick() { if (i_messagelength <= text[i_message].length) {
var messagestringend="" var messagestring=text[i_message].substring(0, i_messagelength)+messagestringend document.getElementById('textpathid').string=messagestring var timer=setTimeout("tick()",speed) i_messagelength++ } else { clearTimeout(timer) var timer=setTimeout("prechangeform()",textpause) } }