test add link
This commit is contained in:
parent
e96745d292
commit
f7cf369b91
|
@ -1,12 +1,11 @@
|
|||
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);
|
||||
}
|
||||
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);
|
Loading…
Reference in New Issue