Latest Neocron News and Information
- New test server patch #774 has been released to Vedeena
Difference between revisions of "Metadata:Mapping/Map.js"
From Neocron Wiki
(Removed flowplayer code - it is now in it's own file) |
(live server update code added) |
||
| Line 50: | Line 50: | ||
// End of mapkey functions | // End of mapkey functions | ||
| − | + | ||
| + | // Live server feeds | ||
| + | $('div.thn_live_servers').each(function () | ||
| + | { | ||
| + | $.ajax( | ||
| + | { | ||
| + | url: "http://stats.techhaven.org/api/data/servers/info.js?return=html", | ||
| + | dataType: 'jsonp', | ||
| + | success: function(data) | ||
| + | { | ||
| + | // console.log(data); | ||
| + | $('this).append(data); | ||
| + | }); | ||
| + | }); | ||
| + | }); | ||
// End of functions | // End of functions | ||
}); | }); | ||