MediaWiki:Gadget-tunnglelivelist.js

/* ");

// Get live data via JSON API if ( $("div .tunnglelivelist").length > 0 ) { //only perform the AJAX request if there is a target div that needs it   jQuery.getJSON("http://www.tunngle.net/api/api.php?output=json&mode=smallnetworkinfo&nocache="+new Date.getMilliseconds+"&callback=?", function(data) {

// Write the table(s) for (var i=0;i "+data.Export.Network[i].NetworkName+" "+data.Export.Network[i].UserCount+"  "); }	}

// Show table, hide loading info $('.tunngleloadingarea').hide("slow"); $('.tunngletablearea').show("slow"); })  } }); /* */