Jump to content

Wikinews:FootballTicker

From Wikinews, the free news source you can write!

The Wikinews Football Ticker is a JavaScript and AJAX based news ticker.

It cycles through the latest football news and results, based on the DPLs found in Portal:Football/Tickersource (semiprotected).

The code connects and downloads the rendered content of that page on each pageview where the template is enabled, which takes between 500 and 800ms on an average connection. It then outputs each one line-by-line, "typing" it out on screen, then waiting 7 seconds before displaying the next one.

The ticker is maintained by User:Celticfan383. Please notify/ask him about all changes to the scripts, especially ones changing formatting, or the code itself.

The ticker can be added using the Football Ticker template, which will display like it is below: