Can anyone tell me if this code can work in a page with frames,it works on an individual page but I'm not sure if the code has to be changed to place it in the frameset page for it to be seen in the status bar - thanks in advance - Ed
<script>
message = "bla bla bla ^" +
"^"
scrollSpeed =30
lineDelay = 1500
txt = ""
function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt = txt + message.charAt(pos)
status = txt
pauze = scrollSpeed
}
else {
pauze = lineDelay
txt = ""
if (pos == message.length-1) pos = -1
}
pos++
setTimeout("scrollText('"+pos+"')",pauze)
}
scrollText(0)
</script>
<script>
message = "bla bla bla ^" +
"^"
scrollSpeed =30
lineDelay = 1500
txt = ""
function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt = txt + message.charAt(pos)
status = txt
pauze = scrollSpeed
}
else {
pauze = lineDelay
txt = ""
if (pos == message.length-1) pos = -1
}
pos++
setTimeout("scrollText('"+pos+"')",pauze)
}
scrollText(0)
</script>