Go downMessage [Page 1 of 1]


Sat Jul 14, 2012 10:24 pm
ngauhungbatchot2703
ngauhungbatchot2703
Danh hiệu:—♥ Moderator

—♥ Moderator

demo http://whoctro.us.to

Code:
<!-- BEGIN switch_user_logged_out -->
<!-- Start Login Board -->
<div id="loginboard" style="position:absolute; visibility:show; z-index:1000; filter: alpha(opacity=70); opacity:70; top:51px; left: 700px; width: 180px;"onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100"onmouseout="this.style.opacity=0.4;this.filters.alpha.opacity=40">
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; padding-top: 0px;" width="180"
 
align="left">
    <tr>
 
      <td width="100%" valign="middle" align="left">
 
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="180" align="left">
    <tr>
 
      <td width="100%" valign="middle" align="right" colspan="2"><a href="http://a6ltt.forum.st/register"><img src="http://ca6.upanh.com/15.759.20047476.Hau0/3.gif"></a></td>

</tr></table>
      </td>
 
    </tr>
  </table>
 
</div>
 
 
<script>
var curx=200;
var cury=0;
</script>
 
 
<script>
var curx=200;
var cury=0;
</script>
 
<script>
var ie45,ns6,ns4,dom;
if (navigator.appName=="Windows Internet Explorer") ie45=parseInt(navigator.appVersion)>=4;
else if (navigator.appName=="Netscape"){  ns6=parseInt(navigator.appVersion)>=5;  ns4=parseInt(navigator.appVersion)<5;}
dom=ie45 || ns6;
 
var timershow=false;
var win_w=window.innerWidth ? window.innerWidth : document.body.offsetWidth;
var mid_w=win_w/2;
var timershow1=window.setInterval("stayMiddle()",1);
function getobj(id) {
el = document.all ? document.all[id] :  dom ? document.getElementById(id) :  document.layers[id];
return el;
}
 
function moveobj(obj,x,y) {
    obj.style.left=x + "px";
    obj.style.top=y+ "px";
    curx=x;
    cury=y;
}
 
function stayMiddle() {
    if (document.documentElement && document.documentElement.scrollTop)
        var pY =  document.documentElement.scrollTop;
    else if (document.body)
        var pY =  document.body.scrollTop;
 
    obj = getobj('loginboard');
    newy = cury+((pY-cury)/16)+5;
    moveobj(obj,curx,newy);
}
 
</script>
<!-- END switch_user_logged_out -->


hướng dẫn
cho vào đầu overall_footer_end


Nguồn: Cntt-k3



Back to topMessage [Page 1 of 1]


« Xem bài trước | Xem bài kế tiếp »

Quyền hạn của bạn:

You cannot reply to topics in this forum