12 lines
455 B
JavaScript
Raw Normal View History

2020-07-01 12:40:32 +08:00
2020-07-01 16:10:42 +08:00
var obox1 = document.createElement("div")
obox1.innerHTML = '<a href="https://u.jd.com/Uj4bve" target="_blank" title="ElasticSearch源码解析与优化实践">' +
2020-07-01 13:46:35 +08:00
'<img src = "/img/elasticsearch.jpg" width = "200" height = "200" />' +
2020-07-01 13:38:13 +08:00
'</a>';
2020-07-01 16:10:42 +08:00
obox1.style.position = "fixed";
obox1.style.right = "20px";
obox1.style.bottom = "100px";
2020-07-01 13:38:13 +08:00
2020-07-01 16:10:42 +08:00
var sbox = document.getElementsByTagName("body")[0];
sbox.appendChild(obox1);