druid-docs-cn/scripts/myscript.js

21 lines
1.3 KiB
JavaScript
Raw Normal View History

2020-07-01 00:40:32 -04:00
2020-07-01 04:10:42 -04:00
var obox1 = document.createElement("div")
obox1.innerHTML = '<a href="https://u.jd.com/Uj4bve" target="_blank" title="ElasticSearch源码解析与优化实践">' +
2020-07-01 01:46:35 -04:00
'<img src = "/img/elasticsearch.jpg" width = "200" height = "200" />' +
2020-07-01 01:38:13 -04:00
'</a>';
2020-07-01 04:10:42 -04:00
obox1.style.position = "fixed";
obox1.style.right = "20px";
obox1.style.bottom = "100px";
2020-07-01 01:38:13 -04:00
2020-07-01 04:10:42 -04:00
var obox2 = document.createElement("div")
obox2.innerHTML = '<a href="https://union-click.jd.com/jdc?e=&p=AyIGZRhYEQYVB1cTXhIyFwNRH1oWABICVh9rUV1KWQorAlBHU0VeBUVOWk1RAk8ECllHGAdFBwtaV1MJBAJQXk8JF0EfGQcWA1EaWBcCFwRRDBsZdXtjM284ckBmWCFyLExxRXMKYz51YW1DNUQ4Y2F2UgtsMnZyZmRVWy18YWFkNhpcYQBIbjZCEkl2TWMNbBJ%2BQWZ%2BPUgvZmFFYB18JHV2YkUCTTBecRN4Cm8ifVFxZC5HO0phYmcmbB5je0t1NlIrEHVrezBvKGULZnU2bThcYVJ%2FLEk5YltlWyNiL0V7cGdBGS4laWBhAH1aUld3eCcfX21UbAAueVJCYh4LZRprFQMTBVQdWhYFETdlG1wlQ3wHVBteFAYaAGUaaxUGGgVRE1odABIOVhJrEgIbN1AYWhcBEARSB1sQChACUStrJQEiN2UbWCUBIkU7SVMQCkcOUE4OFVdCAlcdCR0DFQRRGQsVBRUOV0gLQQYiBVQaXxw%3D" target="_blank" title="阿宽红油面皮">' +
'<img src = "/img/ab403d810530e8ff.png" width = "200" height = "200" />' +
'</a>';
obox2.style.position = "fixed";
obox2.style.right = "20px";
obox2.style.bottom = "320px";
2020-07-01 03:42:33 -04:00
2020-07-01 04:10:42 -04:00
var sbox = document.getElementsByTagName("body")[0];
sbox.appendChild(obox1);
sbox.appendChild(obox2);