JavaScript News Ticker

A site I have been working on has had a Flash banner with scrolling text for a couple of years. The problem is that the page took longer than it should have to load, and visitors couldn’t see the banner at all (company logo etc.) if they didn’t have a flash plugin.

Luckily I was able to use this neat little JavaScript at the top of the main body of the page, and revert back to a standard image for the banner.

I modified it slightly so that it would scroll a little slower, the javascript was contained in an external .js file and I could style it using CSS.

Other than that the original script was used:

My version is at

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: