How are the indicators for this sports ticker updated without ajax calls?

I used to watch ratings at http://www.cbssports.com/nfl/scoreboard and after checking the code I couldn’t understand how they update their ratings.

I don't see any ajax calls, and the games don't seem to be wrapped in frames, etc.

Can someone explain to me how this works?

+7
source share
2 answers

They seem to be using Flash code to update points. I disabled Flash in my browser and received the following message:

Live scoring notice

However, if you want to implement something like this without using a plugin, you can use Websockets in Javascript.

+1
source

Mark line 1884 of the scoreboard file. The storePlayers function will format this large string in the markup sets that are used in the ticker.

0
source

All Articles