var link_text = new Array(); // DO NOT CHANGE THIS LINE var link_url = new Array(); // DO NOT CHANGE THIS LINE link_text[0] = "Elmwood Band to Take Stage Sunday, Sept. 12"; link_url[0] = "/news/index.jsp?article_id=520"; link_text[1] = "Potomac State Sets Another Opening Day Enrollment Record"; link_url[1] = "/news/index.jsp?article_id=519"; link_text[2] = "New Fashion Merchandising Program to be Offered this Fall"; link_url[2] = "/news/index.jsp?article_id=517"; link_text[3] = ""; link_url[3] = ""; link_text[4] = ""; link_url[4] = ""; link_text[5] = "'"; link_url[5] = ""; link_text[6] = ""; link_url[6] = ""; link_text[7] = ""; link_url[7] = ""; link_text[8] = ""; link_url[8] = ""; link_text[9] = ""; link_url[9] = ""; link_text[10] = ""; link_url[10] = ""; var tWidth='95%'; // width (in pixels) var tHeight='20px'; // height (in pixels) var tcolour='#FFFFFF'; // background colour: var borderColor='#FFFFFF;' // border color var moStop=true; // pause on mouseover (true or false) var fontfamily = 'arial,sans-serif'; // font for content var tSpeed=2; // scroll speed (1 = slow, 5 = fast) var linkSize=14; // set font size for links in marquee var linkColor="#004994"; // set color for links in marquee var content=""; // enter your ticker content here (use \/ and \' in place of / and ' respectively) for (var i=0; i < link_text.length; i++) { var text = link_text[i]; var url = link_url[i]; if (link_text != "" && link_text != null) { content += ""+text+"        "; } } content += content; content += content; content += content; // Simple Marquee / Ticker Script // copyright 3rd January 2006, Stephen Chapman // permission to use this Javascript on your web page is granted // provided that all of the below code in this script (including this // comment) is used without any alteration var cps=tSpeed; var aw, mq; var fsz = parseInt(tHeight) - 4; function startticker() { if (document.getElementById) { var tick = '
<\/div><\/div>'; document.getElementById('ticker').innerHTML = tick; mq = document.getElementById("mq"); mq.style.left=(parseInt(tWidth)+10)+"px"; mq.innerHTML=''+content+'<\/span>'; aw = document.getElementById("tx").offsetWidth; lefttime=setInterval("scrollticker()",50); } } function scrollticker() { mq.style.left = (parseInt(mq.style.left)>(-10 - aw)) ?parseInt(mq.style.left)-cps+"px" : parseInt(tWidth)+10+"px"; } window.onload=startticker; /* for (var i=0; i < links.length; i++) { content += ""+links[i].text+"" if (i != links.length -1) { content +=" // "; } window.alert(content); } content = "Google"; var tWidth='300px'; // width (in pixels) var tHeight='25px'; // height (in pixels) var tcolour='#FFFFFF'; // background colour: var moStop=true; // pause on mouseover (true or false) var fontfamily = 'arial,sans-serif'; // font for content var tSpeed=3; // scroll speed (1 = slow, 5 = fast) // enter your ticker content here (use \/ and \' in place of / and ' respectively) // Simple Marquee / Ticker Script // copyright 3rd January 2006, Stephen Chapman // permission to use this Javascript on your web page is granted // provided that all of the below code in this script (including this // comment) is used without any alteration var cps=tSpeed; var aw, mq; var fsz = 10; function startticker() { if (document.getElementById) { var tick = '
<\/div><\/div>'; document.getElementById('ticker').innerHTML = tick; mq = document.getElementById("mq"); mq.style.left=(parseInt(tWidth)+10)+"px"; mq.innerHTML=''+content+'<\/span>'; aw = document.getElementById("tx").offsetWidth; lefttime=setInterval("scrollticker()",50); } } function scrollticker() { mq.style.left = (parseInt(mq.style.left)>(-10 - aw)) ?parseInt(mq.style.left)-cps+"px" : parseInt(tWidth)+10+"px"; } window.onload=startticker; */