0

I have a client who wants me to design them a website; and they would like a player display for each of their servers that updates every five seconds or so. How would I go about doing this? I have an example below; any help would be appreciated.

http://secure.swag-craft.net/mcstatus_v1/

Kondax Design
  • 175
  • 1
  • 1
  • 15

1 Answers1

2

Use javascript to refresh the page automatically

setTimeout('location.reload(true);', 5000);
Psychokiller1888
  • 620
  • 2
  • 10
  • 25
  • 1
    First of all, you don't even need Javascript to refresh a page after 5 seconds, you can use a meta tag for that. Secondly, I'm sure there is a better way of calling and retrieving the data other than refreshing a page. – MMM Feb 09 '14 at 15:32