Merge branch 'master' of https://github.com/liujianhuanzz/apache-druid-chinese-docs
This commit is contained in:
commit
f25337841e
|
@ -9,12 +9,13 @@ obox1.style.display = "none";
|
|||
obox1.setAttribute("class", "movie")
|
||||
|
||||
var obox2 = document.createElement("div")
|
||||
obox2.innerHTML = '<img src = "/img/support.gif" width = "200" height = "125" />';
|
||||
obox2.innerHTML = '<img src = "/img/movie.jpeg" width = "275" height = "370" />';
|
||||
obox2.style.position = "fixed";
|
||||
obox2.style.bottom = "0px";
|
||||
obox2.style.left = "0px";
|
||||
obox2.style.zIndex = "9999";
|
||||
obox2.style.display = "none";
|
||||
obox2.setAttribute("class", "movie")
|
||||
|
||||
var sbox = document.getElementsByTagName("body")[0];
|
||||
sbox.appendChild(obox1);
|
||||
|
@ -22,13 +23,13 @@ sbox.appendChild(obox1);
|
|||
var rand = Math.random();
|
||||
console.log(rand);
|
||||
|
||||
if (rand > 1) {
|
||||
if (rand > 0.5) {
|
||||
sbox.appendChild(obox2);
|
||||
setTimeout(function(){
|
||||
obox2.style.display = "block";
|
||||
setTimeout(function(){
|
||||
obox2.style.display = "none";
|
||||
}, 10000)
|
||||
}, 30000)
|
||||
}, 5000)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue