Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

staus bar text 1

Status
Not open for further replies.

OKeddy

Technical User
Jul 13, 2001
24
0
0
GB
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 = &quot;bla bla bla ^&quot; +


&quot;^&quot;
scrollSpeed =30
lineDelay = 1500


txt = &quot;&quot;

function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt = txt + message.charAt(pos)
status = txt
pauze = scrollSpeed
}
else {
pauze = lineDelay
txt = &quot;&quot;
if (pos == message.length-1) pos = -1
}
pos++
setTimeout(&quot;scrollText('&quot;+pos+&quot;')&quot;,pauze)
}

scrollText(0)
</script>
 
well, no. but, modify this line and it should:
Code:
status = txt;

change it to
Code:
top.status = txt;
theEclipse
eclipse_web@hotmail.com
**\\||It was recently discovered that research causes cancer in rats||//**
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top