//Specify the scroller's width (in pixels)
var scrollerwidth="350px"
//Specify the scroller's height
var scrollerheight="125px"
//Specify the scroller's speed (from 1 to 10, slower and faster respectively)
var scrollerspeed=1
//Pause scroller onMousever (0=no. 1=yes)?
var pauseit=1
//// ******************************************************************************** ////
//// **************** EDIT ONLY THE MESSAGE CONTENT BELOW THIS LINE **************** ////
//Enter the scroller's Message(s)
//Keep all content on ONE line, and backslash any single quotations (ie: St. Matthew\'s School):
var scrollercontent='
|
| |
| Welcome to |
| St. Matthew\'s |
| School Web Site |
| |
| Dates to Remember |
| |
| September 29 & 30 |
| School pictures |
| |
| Tuesday, October 4 |
| Primary/Elementary PD Day |
| No School K-6 |
| Regular Calsses for Grade 7 |
| |
| Monday, October 10 |
| Thanksgiving Day Holiday |
| *** |
'
//// ******************************** STOP EDITING ******************************* ////
//// ******************************************************************************* ////
//// ********************* DO NOT EDIT ANY LINES BELOW HERE ********************* ////
scrollerspeed=(document.all)? scrollerspeed : Math.max(1, scrollerspeed-1) //slow speed down by 1 for NS
var copyspeed=scrollerspeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
var actualheight=''
var cross_scroller, ns_scroller
function populate(){
if (iedom){
cross_scroller=document.getElementById? document.getElementById("iescroller") : document.all.iescroller
cross_scroller.style.top=parseInt(scrollerheight)+8+"px"
cross_scroller.innerHTML=scrollercontent
actualheight=cross_scroller.offsetHeight
}
else if (document.layers){
ns_scroller=document.ns_scroller.document.ns_scroller2
ns_scroller.top=parseInt(scrollerheight)+8
ns_scroller.document.write(scrollercontent)
ns_scroller.document.close()
actualheight=ns_scroller.document.height
}
lefttime=setInterval("scrollscroller()",20)
}
window.onload=populate
function scrollscroller(){
if (iedom){
if (parseInt(cross_scroller.style.top)>(actualheight*(-1)+8))
cross_scroller.style.top=parseInt(cross_scroller.style.top)-copyspeed+"px"
else
cross_scroller.style.top=parseInt(scrollerheight)+8+"px"
}
else if (document.layers){
if (ns_scroller.top>(actualheight*(-1)+8))
ns_scroller.top-=copyspeed
else
ns_scroller.top=parseInt(scrollerheight)+8
}
}
if (iedom||document.layers){
with (document){
if (iedom){
write('')
}
else if (document.layers){
write('')
write('')
write('')
}
}
}