MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 16: Line 16:
     myElement2.innerHTML = '<html> <div id= "button" onclick="buttonclicked()">Switch to Resources graph</div><div id="mynetwork"></div></html>';
     myElement2.innerHTML = '<html> <div id= "button" onclick="buttonclicked()">Switch to Resources graph</div><div id="mynetwork"></div></html>';
}}());
}}());
mw.loader.load( '/index.php?title=MediaWiki:Graph.js&action=raw&ctype=text/javascript' );


(function () {
(function () {
Line 21: Line 24:
     document.getElementById('test').style="height: 800px !important";
     document.getElementById('test').style="height: 800px !important";
}}());
}}());
mw.loader.load( '/index.php?title=MediaWiki:Graph.js&action=raw&ctype=text/javascript' );
299

edits