<style type="text/css">#at{ position:fixed; right:450px; z-index:+1000; } * html #at{position:relative;} .attab{ height:100px; width:30px; float:left; cursor:pointer; background:url(); } .atcontent{ float:left; border:2px solid #ff0000; background:url() #000000 repeat-x bottom center scroll ; -moz-border-radius-topleft:15px; -moz-border-radius-topright:15px; -moz-border-radius-bottomleft:15px; -moz-border-radius-bottomright:15px; padding:10px; } </style> <script type="text/javascript"> function showHideAT(){ var at = document.getElementById("at"); var w = at.offsetWidth; at.opened ? moveAT(0, -200-w) : moveAT(20-w, 0); at.opened = !at.opened; } function moveAT(x0, xf){ var at = document.getElementById("at"); var dx = Math.abs(x0-xf) > 25 ? 35 : 1; var dir = xf>x0 ? 1 : -1; var x = x0 + dx * dir; at.style.top = x.toString() + "px"; if(x0!=xf){setTimeout("moveAT("+x+", "+xf+")", 10);} } </script> <div id="at"> <div class="attab" onclick="showHideAT()"> </div> <div class="atcontent"> <div align="center"> <div style="background:url() no-repeat;"> kod (shoutbox,livestream Facebook,exchange link,banner dll) anda </div> </div> <br /> <div align="right"><a href="javascript:void(0);" onclick="showHideAT()"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3fnbnk71t5vxnmbIVZQ2DdxB3TRq2mpo_zMR2Xc7gqkU3GGsc_EUyoe_nYbQ8_kGDew9lYYkycQF0bo7fSmHz91DIEpSP1VulOyzv8iMAv4pxwW4iNIfey4rIep5c2dxCY1fZk5LsrNI/s1600/close_button.gif" alt="close" title="Close" /></a></div> <br><div align="right"><font size="3"><a href="http://wanhazel.blogspot.com/"><div style="color: #FF0000;"> <span ></span></div></a></font></div> </div></div></div> <script type="text/javascript"> var at = document.getElementById("at"); at.style.top = (-200-at.offsetWidth).toString() + "px"; </script></center>
sis nk buat dye kat belah kanan or kiri or tepi ke cmne ? boleh x?
1 Celoteh Kalian:
sis nk buat dye kat belah kanan or kiri or tepi ke cmne ? boleh x?
Post a Comment