Menu

[solved] – Question 985

I am working on a program to scroll text vertical with a start and pause button and I can not get the text to move. Can you provide assistance? Here is my code:

function moveMarquee(){

for (var i=0; i < marqueeTxt.length; i++){

topPos = parseInt(marqueeTxt.style.top);

if (topPos < -110) {
topPos = 700;
} else {
topPos -= 1;
}

marqueeTxt.style.top = topPos + “px”;

}
}

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *