diff --git a/3ds/chat/burger.js b/3ds/chat/burger.js new file mode 100644 index 0000000..01c4dd5 --- /dev/null +++ b/3ds/chat/burger.js @@ -0,0 +1,23 @@ +window.eggActive = false; + +function eggyou(){ + if(window.eggActive == false){ + if(!document.getElementById("burg")){ + x = document.createElement("div"); + x.id = "burg"; x.style="zindex: 200000; transition-timing-function: ease-out; transition: 4.0s; position: absolute; top: 25px; left: 50%"; + img = document.createElement("img"); + img.src = "i/icon_burger.gif"; + img.id="burger"; + img.width = "16"; + img.height = "16"; + img.style = "transition: all 4s bilinear; width: 32px; height: auto;"; x.appendChild(img); document.body.appendChild(x); + window.burgerPix = 32; + img.style.height = "auto"; + window.burgerInt = setInterval(function(){ + window.burgerPix += 5; + img.style.width = window.burgerPix + "px"; + }, 100); + setTimeout(function(){ clearInterval(window.burgerInt); window.eggActive = true; document.getElementById("burg").remove(); }, 4000); + } + } +} \ No newline at end of file diff --git a/3ds/chat/dsi.php b/3ds/chat/dsi.php index 19e768e..8877cf9 100644 --- a/3ds/chat/dsi.php +++ b/3ds/chat/dsi.php @@ -14,6 +14,7 @@ if(isset($_GET["room"])){ + + +