User:Sokwe/common.js: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
$('#bodyContent').prepend('<p>Hello world!</p>');
$("div#viewer-canvas").wrap("<canvas width=\"200\" height=\"300\" style=\"margin-left:1px;\"></canvas>");
$("div#viewer-canvas").wrap("<canvas width=\"200\" height=\"300\" style=\"margin-left:1px;\"></canvas>");
document.getElementById('test').innerHTML = '<canvas width=\"200\" height=\"300\" style=\"margin-left:1px;\"></canvas>';
$('div#viewer').wrap('<div class="rle"></div>');

Latest revision as of 22:48, 31 August 2021

$("div#viewer-canvas").wrap("<canvas width=\"200\" height=\"300\" style=\"margin-left:1px;\"></canvas>");
document.getElementById('test').innerHTML = '<canvas width=\"200\" height=\"300\" style=\"margin-left:1px;\"></canvas>';
$('div#viewer').wrap('<div class="rle"></div>');