Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style type="text/css">
- #gb{
- position:fixed;
- top:20%;
- left: 31.5%;
- z-index:+999999;
- opacity:0.9;
- moz-opacity:0.9;
- }
- * html #gb{
- position:relative;
- }
- .gbcontent {
- float:right;
- padding:10px;
- margin-left: -67px;
- }
- </style>
- <script type='text/javascript'>
- function showHideGB(){
- var gb = document.getElementById("gb");
- var w = gb.offsetWidth;
- gb.opened ? moveGB(0, 30-w) : moveGB(20-w, 0);
- gb.opened = !gb.opened;
- }
- function moveGB(x0, xf){
- var gb = document.getElementById("gb");
- var dx = Math.abs(x0-xf) > 10 ? 100 : 1;
- var dir = xf>x0 ? 1 : -1;
- var x = x0 + dx * dir;
- gb.style.top = x.toString() + "px";
- if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);}
- }
- </script>
- <div id="gb">
- <div class="gbtab" onclick="showHideGB()"> </div>
- <div class="gbcontent">
- <div style="text-align: center;top: 32px;left: 87px;overflow: hidden;position: absolute;background: #;padding: 0px 0px 0px 0px;border-radius: 1px;color: #000;z-index:+1000;">
- <a href="javascript:showHideGB()">
- x
- </a>
- </div>
- <center>
- <div style="text-align: center;text-align: center;
- background: #000;
- color: #fff;font-size: 11px;">
- Klik 2 kali untuk menutup iklan!</div>
- <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <!-- droidcrud -->
- <ins class="adsbygoogle"
- style="display:inline-block;width:300px;height:250px"
- data-ad-client="ca-pub-6815029137708657"
- data-ad-slot="2878341920"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- </center></div></div>
- Karya: Sucahyo
- Situs: www.droidcrud.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement