PDA

View Full Version : looking for a news ticker with modern code that is free - any links?



cyborg360
Jan 3rd, 2010, 04:53 AM
I'd google it but I'm not an expert at judging the age of code yet.

Old Pedant
Jan 3rd, 2010, 06:07 AM
You mean an RSS reader???

Or do you mean you will supply the news and you just want it to look like a ticker?

Or what?

cyborg360
Jan 3rd, 2010, 06:16 AM
You mean an RSS reader???

Or do you mean you will supply the news and you just want it to look like a ticker?

Or what?

news I would supply that looks like a ticker.

Old Pedant
Jan 3rd, 2010, 09:06 AM
Well, the simplest thing is to just use a <marquee> tag. Works in all modern browsers, I'm pretty sure.

Style it to look pretty, pick the speed, etc.

cyborg360
Jan 3rd, 2010, 09:09 AM
Well, the simplest thing is to just use a <marquee> tag. Works in all modern browsers, I'm pretty sure.

Style it to look pretty, pick the speed, etc.

i actually started out with a <marquee> but couldn't achieve the fineness in the display the javascript gave me.

it would move something like 3px at a time (whatever the default is) with <marquee> instead of 1px. there may have been a setting I was missing....

Old Pedant
Jan 3rd, 2010, 09:20 AM
http://msdn.microsoft.com/en-us/library/ms535851(VS.85).aspx

Despite the fact that this is an MSIE extension to standard HTML, I'll bet it works in all browsers.

YOu can specify scrollamount and scrollspeed. And many other properties.

*DO* test it in FF and Chrome before declaring victory, but I'll bet it works.

Old Pedant
Jan 3rd, 2010, 09:24 AM
Simple example. Worked in MSIE 7, FF 3.5, Chrome:


<html>
<body>
<marquee width="100%" scrollamount="1" scrolldelay="5" style="font-size: x-large; font-weight: bold;">
Now is the time for all good men to come to!
</marquee>
</body>
</html>