Status Bar Scrolling

C

Carlo

Hi
Is there a way to link a value from another website in a scrolling
text script such as below, where I want to get the latest rate of
exchange to scroll:

<SCRIPT LANGUAGE="JavaScript">
<!--
var scrollCounter = 0;
var i = 0;
var scrollText= "The rate of Exchange is XXXXXXXXX";
var scrollDelay= 70;
while (i ++ < 140)
scrollText = " " + scrollText;
function Scroller()


{
window.status = scrollText.substring(scrollCounter++,
scrollText.length);
if (scrollCounter == scrollText.length)
scrollCounter = 0;
setTimeout("Scroller()", scrollDelay);
}
Scroller();


Thanks
Carlob1
 
T

Thomas 'PointedEars' Lahn

Carlo said:
Is there a way to link a value from another website in a scrolling
text script such as below, where I want to get the latest rate of
exchange to scroll:

First of all, what do you mean by "link a value from another website"?
<SCRIPT LANGUAGE="JavaScript">

That should read


Don't mess with the status bar, it is designed to display helpful
information, such as where a link points to and how much of a document
has been already downloaded and rendered, or what errors occurred. If
I want information about rates of exchange, I visit the appropriate
website, such as ft.com.

<http://jibbering.com/faq/#FAQ4_35>


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top