druid-docs-cn/scripts/myscript.js
2020-07-01 16:18:34 +08:00

12 lines
455 B
JavaScript

var obox1 = document.createElement("div")
obox1.innerHTML = '<a href="https://u.jd.com/Uj4bve" target="_blank" title="ElasticSearch源码解析与优化实践">' +
'<img src = "/img/elasticsearch.jpg" width = "200" height = "200" />' +
'</a>';
obox1.style.position = "fixed";
obox1.style.right = "20px";
obox1.style.bottom = "100px";
var sbox = document.getElementsByTagName("body")[0];
sbox.appendChild(obox1);