MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 12: Line 12:


   var myElement = document.getElementById('mw-Mycanvas');
   var myElement = document.getElementById('mw-Mycanvas');
   myElement.innerHTML = '<html><canvas width="200" height="400" style="border:1px solid red; margin:auto;"></canvas></html>';
   myElement.innerHTML = '<html><canvas width="200" height="100" style="border:1px solid red; margin:auto;"></canvas></html>';


}());
}());

Navigation menu