Find this part in your JavaScript code:
Code:
function startscroller(){
while (document.getElementById("dropmsg"+totalDivs)!=null)
totalDivs++
expandone()
if (!enablesubject)
document.getElementById("dropcontentsubject").style.display="none"
}
And add the highlighted part:
Code:
function startscroller(){
while (document.getElementById("dropmsg"+totalDivs)!=null)
totalDivs++
selectedDiv=Math.floor(Math.random()*totalDivs)
expandone()
if (!enablesubject)
document.getElementById("dropcontentsubject").style.display="none"
}
Bookmarks