Latest Neocron News and Information

  • New test server patch #563 has been released to Vedeena

Difference between revisions of "Metadata:Mapping/Map.js"

From Neocron Wiki
Jump to: navigation, search
(JS update)
(Brammers changed the content model of the page Metadata:Mapping/Map.js from "wikitext" to "JavaScript")
Tag: content model change
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* NC-Wiki Jquery File - Do not delete! */
+
/* NC-Wiki Jquery File - Do not delete! (c) 2017 - Tech Haven Network */
  
 
$(document).ready(function($)
 
$(document).ready(function($)
Line 51: Line 51:
 
// 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/en/servers/info.js?return=html",
 
dataType: 'jsonp',
 
success: function(data)
 
{
 
// console.log(data);
 
        $('div.thn_live_servers').append(data);
 
        }
 
    });
 
});
 
// End of functions
 
 
});
 
});

Latest revision as of 23:35, 27 August 2017

Sorry you do not have permissions to view this page.