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