Well, there is no parameter like that. The messages get parceled out for inclusion into two different html elements that chase each other in the scroller. The order would get jumbled up and include repetitions if we started assigning two of them to this multipart operation. If it is possible to run a few lines of javascript after the message array has been created and before the rest of the script executes, here are the lines to run:
Code:
var count=0, lb=ie? "<br>" : ""
for (m = 0; m < messages.length; m+=2){
if ((messages[m]!==undefined)&&(messages[m+1]!==undefined))
messages[count]=lb+'<p>'+messages[m]+'</p><p>'+messages[m+1]+'</p>'
else if (messages[m]!==undefined)
messages[count]=lb+'<p>'+messages[m]+'</p>'
count++
}
var messL=messages.length
for (i = count; i < messL; i++)
messages.pop()
For example, in the demo version for this script that I used for testing, I put the above code right after where it says:
Code:
var ie=document.all
var dom=document.getElementById
and it worked fine. I also had to adjust the 'scrollerheight' variable to make the scroller tall enough to accommodate the new height of each, now taller, message (increasing the scrollerwidth would work as well, in many cases). If I didn't do that, the messages would overlap. What this does is to rewrite the array putting two messages in the place of one for each entry and remove the excess entries.
Bookmarks