User:Jarandhel/vector.js: Difference between revisions

From AnOtherWiki, the free encyclopedia written by, for, and about the Otherkin community.
No edit summary
m (Correcting url.)
 
Line 1: Line 1:
function getLinks(lim){
function getLinks(lim){
var ajax_loader = '<img src="http://anotherwiki.dreamhart.org/images/ajax-loader.gif" alt="ajax loader image">';
var ajax_loader = '<img src="http://anotherwiki.org/images/ajax-loader.gif" alt="ajax loader image">';
// show a nice ajax loader to show *something* is happening (due to server responses, this page can take a while to load
// show a nice ajax loader to show *something* is happening (due to server responses, this page can take a while to load

Latest revision as of 19:48, 13 September 2014

function getLinks(lim){
 
        var ajax_loader = '<img src="http://anotherwiki.org/images/ajax-loader.gif" alt="ajax loader image">';
 
        // show a nice ajax loader to show *something* is happening (due to server responses, this page can take a while to load
        document.getElementById('divBrokenLinks').innerHTML = ajax_loader;
 
        //now initialise the ajax call, sending response to divBrokenLinks
        sajax_do_call( "getBrokenLinks", [lim] , document.getElementById('divBrokenLinks'));
 
        return;
 
}