MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 15: Line 15:
     var myElement2 = document.getElementById('biggraph');
     var myElement2 = document.getElementById('biggraph');
     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>';
}}());
(function () {
  if (document.getElementById('biggraph')){
    document.getElementById('test').style="height: 800px !important";
}}());
}}());




mw.loader.load( '/index.php?title=MediaWiki:Graph.js&action=raw&ctype=text/javascript' );
mw.loader.load( '/index.php?title=MediaWiki:Graph.js&action=raw&ctype=text/javascript' );
299

edits