home > real world > web resource > web source codes >
You will need the scroll.js to modify your messages. As for the code, here it is:
<HEAD>
<SCRIPT LANGUAGE="JavaScript" src="scroll.js"></script>
</HEAD>
<BODY onLoad="scrollit()">
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
if(document.getElementById) // IE5 and NS6
{
document.write('<DIV STYLE="position:relative; width:'+divwidth+'; height:'+divheight+'; visibility:visible; background-color:'+divcolor+'; overflow:hidden; clip:rect(0,'+divwidth+','+divheight+',0)">')
document.write('<DIV STYLE="position:relative; top:0; left:0; width:'+divwidth+'; height:'+divheight+'">')
document.write('<DIV ID='+divname1+' STYLE="position:absolute; top:0; left:0; width:'+divwidth+'; height:'+divheight+'"></DIV>')
document.write('<DIV ID='+divname2+' STYLE="position:absolute; top:0; left:0; width:'+divwidth+'; height:'+divheight+'; visibility:hidden"></DIV>')
document.write('</DIV></DIV>')
}
if(document.layers) // NS4+
{
document.write('<ILAYER ID="main" WIDTH='+divwidth+' HEIGHT='+divheight+' BGCOLOR='+divcolor+' VISIBILITY=hide>')
document.write('<LAYER ID='+divname1+' LEFT=0 TOP=0 WIDTH='+divwidth+'></LAYER>')
document.write('<LAYER ID='+divname2+' LEFT=0 TOP='+divheight+' WIDTH='+divwidth+'>')
document.write('</LAYER></ILAYER>')
}
// End -->
</SCRIPT>
|