12.01.2013, 12:10
(
Последний раз редактировалось saiberfun; 12.01.2013 в 12:57.
)
Really nice and neat.
Yes there have been problems with people trying to use the masterlist that way :/
You are better off asking the team if it's okay.
And to make it even more awesome you could also add an embeddingoption (would generate some more traffic I guess but meh
I have done something similar static in PHP some time but I didn't fetch the data directly from the masterlist but from the website itself, it worked but I somehow were not that satisfied with it to release it in some way.
Edit, oh and I like you vars
Yes there have been problems with people trying to use the masterlist that way :/
You are better off asking the team if it's okay.
And to make it even more awesome you could also add an embeddingoption (would generate some more traffic I guess but meh
I have done something similar static in PHP some time but I didn't fetch the data directly from the masterlist but from the website itself, it worked but I somehow were not that satisfied with it to release it in some way.
Edit, oh and I like you vars
Quote:
function refreshPlayers() { $.get("ajax-get-stats.php",function(data) { var poop = data.split("/"); $("#playerCount").html(formatValue(poop[0])); $("#serverCount").html(formatValue(poop[1])); $("#peakCount").html(formatValue(poop[2])); }); } |