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
m (Four?)
(Brammers changed the content model of the page Metadata:Mapping/Map.js from "wikitext" to "JavaScript")
Tag: content model change
 
(6 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 */
  
$kjq(document).ready(function($)
+
$(document).ready(function($)
 
{
 
{
 
// Add functions and stuff here
 
// Add functions and stuff here
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/servers/info.js?return=html",
 
dataType: 'jsonp',
 
success: function(data)
 
{
 
// console.log(data);
 
        $kjq(this).append(data);
 
        }
 
    });
 
});
 
// End of functions
 
 
});
 
});

Latest revision as of 23:35, 27 August 2017

Sorry you do not have permissions to view this page.