test add link
This commit is contained in:
parent
a6f67fb4bd
commit
70299539d3
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
|
@ -0,0 +1,12 @@
|
|||
window.onload = function() {
|
||||
var obox = document.createElement("div")
|
||||
obox.innerHTML = '<a href="https://u.jd.com/Uj4bve" title="ElasticSearch源码解析与优化实践"> < ' +
|
||||
'img src = "./elasticsearch.jpg" width = "250" height = "250" / >' +
|
||||
'</a>';
|
||||
obox.style.position = "fixed";
|
||||
obox.style.right = "20px";
|
||||
obox.style.bottom = "100px";
|
||||
|
||||
var sbox = document.getElementsByClassName(".page-inner")[0];
|
||||
sbox.appendChild(obox);
|
||||
}
|
Loading…
Reference in New Issue