News ticker
- Started
- Last post
- 7 Responses
- Gordy22
I need a news ticker / scroller to sit on a page I'm designing. Don't really want to use a marquee tag. Tried a few from Dynamic Drive but they don't work with Firefox.
I want something similar to this:
http://www.thisislondon.com/news…Any one got the code for one they can gimme / point me to somewhere I can get it...
Cheers all.
- acescence0
ooh, java. well, you may not want one exactly like that considering it just crashed safari.
there are lots of flash based tickers out there i'm sure you could adapt easily. what's your news source, XML?
- ********0
Let me know what you find - because I've never found one that's anygood.
- Gordy220
Doesn't need to be heavy not bothered about xml feeds or anything - I can edit the code to show the stories easy enough - I'm happy with what ever tho' was trying to no use Flash as it's got to be heavyily usable - wank I know but that's the spec. And Moth - cool, I'll keep you posted if I find one.
- 5timuli0
*bump*
Any thoughts on ripping off the BBC News ticker - right or wrong?
http://news.bbc.co.uk/nol/ukfs_n…
Any similar ones around?
- ********0
- heavyt0
javasscript, my friend.
why not use the subscript() function to clip the length of the text?
they used to do this for making stuff scroll in the status bar, but you coul easily adapt it to work like the bbc one.it woudl be like this:
i =0;
function marqueeMaker(){
text = ' lorem ipsum';
if(i < text.length){
text = text.substring(0, text.length - i);
i++;
}else {
i = 0;}
}
setTimeout(marqueeMaker(), 0100);TR1
- Gordy220
I have to admit I actually just ripped the code from the BBC in the end and have amended it where necessary. Easy to use JS file; sits in an iFrame...