I have a scrollbar that runs at the top of my page, I have it in a external
js file and call it in the head tags of the webpage code. can you one tell
me how to get this code to work with other browsers mainly Netscape 7 and
above. Currently it doesn't display.
this is the scroll bar code
Thanks
----------------------------------------------------------------------
document.write( '<marquee id="alertit"
style="position :absolute;left: 0px;top:0;backg round-color:"
onMouseover="th is.scrollAmount =1"
onMouseout="thi s.scrollAmount= speed"></marquee>');
var themsg='<span style="font: 22px Arial;color:#FF CC66;"><b>Text Text
Text:</span>'
var speed=4
var loops=4
function populatescrolle r(){
var windowwidth=iec ompattest().cli entWidth
document.getEle mentById("alert it").innerHTML= themsg
document.getEle mentById("alert it").style.widt h=windowwidth
document.getEle mentById("alert it").scrollAmou nt=speed
document.getEle mentById("alert it").scrollDela y=20
document.getEle mentById("alert it").loop=loo ps
document.getEle mentById("alert it").onfinish=f unction(){
document.getEle mentById("alert it").style.visi bility="hidden"
}
}
function iecompattest(){
return (document.compa tMode!="BackCom pat")? document.docume ntElement :
document.body
}
if (document.all && document.getEle mentById){
window.onload=p opulatescroller
window.onresize =populatescroll er
}
----------------------------------------------------------------------