Скролирането на текста се реализира с два скрипта. Първия, който се включва в заглавната част на страницата, е със следния текст:



<SCRIPT LANGUAGE="JavaScript">

/************************************
* This notice may not be removed *
* http://members.rogers.com/bazil/ *
*************************************/

//-- Begin Scroller's Parameters -->

//scroller width: change to your own;
var swidth=500

//scroller height: change to your own;
var sheight=50

//background color: change to your own;
var sbcolor="#FAFFD2"

//scroller's speed: change to your own;
var sspeed=2

var wholemessage=''

//text: change to your own


wholemessage='<div align="center" class=tab><font size="3"><b>Проверявайте компютъра <b>ежедневно</b> за ВУРУСИ !!!</font> </DIV>'+
'<div align="center" class=tab><br><font size="3">Обновявайте най-малко един път в месеца файловете с данни за вируси !</b></font></div>'+
'<div align="center" class=tab><a class=tabb href="#" onClick=\'window.top.location.href="http://www1.naval-acad.bg/vruzki/vruzki.htm"\'><br><u>Посетете страницата с полезни връзки</u></a></DIV>';

//-- end Parameters-->
//-- begin: Scroller's Algorithm -->

var resumesspeed=sspeed
function start(){
if (document.all) iemarquee(slider);
else if (document.getElementById)
ns6marquee(document.getElementById('slider'));
else if(document.layers)
ns4marquee(document.slider1.document.slider2);
}
function iemarquee(whichdiv){
iediv=eval(whichdiv)
iediv.style.pixelTop=sheight
iediv.innerHTML=wholemessage
sizeup=iediv.offsetHeight
ieslide()
}
function ieslide(){
if (iediv.style.pixelTop>=sizeup*(-1)){
iediv.style.pixelTop-=sspeed
setTimeout("ieslide()",100)
}
else{
iediv.style.pixelTop=sheight
ieslide()
}
}
function ns4marquee(whichlayer){
ns4layer=eval(whichlayer)
ns4layer.top=sheight
ns4layer.document.write(wholemessage)
ns4layer.document.close()
sizeup=ns4layer.document.height
ns4slide()
}
function ns4slide(){
if (ns4layer.top>=sizeup*(-1)){
ns4layer.top-=sspeed
setTimeout("ns4slide()",100)
}
else{
ns4layer.top=sheight
ns4slide()
}
}
function ns6marquee(whichdiv){
ns6div=eval(whichdiv)
ns6div.style.top=sheight
ns6div.innerHTML=wholemessage
sizeup=ns6div.offsetHeight
ns6slide()
}
function ns6slide(){
if (parseInt(ns6div.style.top)>=sizeup*(-1)){
ns6div.style.top=parseInt(ns6div.style.top)-sspeed
setTimeout("ns6slide()",100)
}
else{
ns6div.style.top=sheight
ns6slide()
}
}
//-- end Algorithm -->
</script>

Вторият скрипт се включва в тялото на страницата. Той има следния текст:

<script language="JavaScript">
if (document.getElementById || document.all){
document.write('<span style="height:'+sheight+';"><div style="position:relative;overflow:hidden;width:'+swidth+';height:'+sheight+';clip:rect(0 '+swidth+' '+sheight+' 0);background-color:'+sbcolor+';" onMouseover="sspeed=0;" onMouseout="sspeed=resumesspeed">')
document.write('<div id="slider" style="position:relative;width:'+swidth+';">')
document.write('</div></div></span>')
}
</script>

Освен това тагът <body..> има следния вид:
<body onload="start();">

В заглавната част на страницата се използва и следната стилова таблица:
<style type="text/css">
A.tabb:link {color:blue;}
A.tabb:visited{color: blue;}
A.tabb:hover {color: red;}
.tab { font-size:12px; font-family:Arial;color:red;}
.tabc { font-weight:bold; font-size:14px; font-family:Arial;color:red;}
.tabb { font-weight:bold; font-size:16px; font-family:Arial;}
</style>

При посочване с показалеца на мишката движението спира.