I'm running a video streaming site of a sports feed. I would like to have a sidebar of live scores that we updated as they come in. Of course I'm only looking to have the sidebar update, and not the entire page as that would disturb the video.

It's a bit like having a football score update.

Any ideas?



  • How often will the sidebar change? – Krzysiek Dróżdż Feb 11 at 14:50
  • 1
    What source will you be using for the scores? – tmdesigned Feb 11 at 15:07
  • You'd need to ping the site at regular intervals to fetch new data for your sidebar with javascript ( ajax/rest ), but right now there's so little information in your question it's not possible to talk about it in anything other than the most generic terms. E.g. you need a source to fetch the football score updates from, for which I'd recommend building a REST API endpoint, but there's no information about how these scores are stored or where they're coming from, and no code for your static version of the scores – Tom J Nowell Feb 11 at 15:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.