druid-docs-cn/scripts/myscript.js

11 lines
293 B
JavaScript

var obox1 = document.createElement("div")
obox1.innerHTML = '<img src = "/img/movie.jpeg" width = "275" height = "370" />';
obox1.style.position = "fixed";
obox1.style.right = "20px";
obox1.style.bottom = "0px";
var sbox = document.getElementsByTagName("body")[0];
sbox.appendChild(obox1);