test add link

This commit is contained in:
liujianhuan 2020-07-01 13:38:13 +08:00
parent e96745d292
commit f7cf369b91
1 changed files with 10 additions and 11 deletions

View File

@ -1,4 +1,4 @@
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" />' +
@ -9,4 +9,3 @@ window.onload = function() {
var sbox = document.getElementsByTagName("body")[0];
sbox.appendChild(obox);
}