×
Create a new article
Write your page title here:
We currently have 302 articles on Knights of the Olde Speech. Type your article name above or click on one of the titles below and start writing!



Knights of the Olde Speech

MediaWiki:MusicPlayer.js: Difference between revisions

No edit summary
No edit summary
Line 9: Line 9:
         node.style.position = "relative";
         node.style.position = "relative";
         //node.style.display = "none";
         //node.style.display = "none";
         rail.appendChild(node);
         rail.insertBefore(node, document.getElementById('WikiaAdInContentPlaceHolder'));
     }
     }
};
};

Revision as of 10:30, 10 June 2020

document.getElementsByTagName('body')[0].onload = function() {
    if (document.getElementById('musicPlayerAllow') !== null) {
        var rail = document.getElementById('WikiaRail');
        var node = document.createElement("div");
        var textnode = document.createTextNode("Loading iframe...");
        node.appendChild(textnode);
        node.classList.add("EmulatorFrame");
        node.classList.add("rail-module");
        node.style.position = "relative";
        //node.style.display = "none";
        rail.insertBefore(node, document.getElementById('WikiaAdInContentPlaceHolder'));
    }
};