TMMU China/js/dingwei

$(".quick_links_panel li").mouseenter(function(){ $(this).children(".mp_tooltip").animate({left:-150,queue:true}); $(this).children(".mp_tooltip").css("visibility","visible"); $(this).children(".ibar_login_box").css("display","block"); }); $(".quick_links_panel li").mouseleave(function(){ $(this).children(".mp_tooltip").css("visibility","hidden"); $(this).children(".mp_tooltip").animate({left:-190,queue:true}); $(this).children(".ibar_login_box").css("display","none"); }); $(".quick_toggle li").mouseover(function(){ $(this).children(".mp_qrcode").show(); }); $(".quick_toggle li").mouseleave(function(){ $(this).children(".mp_qrcode").hide(); });





function toTop(){ var d = document,

       dd = document.documentElement,
       db = document.body,
       top = dd.scrollTop || db.scrollTop,
       step = Math.floor(top / 20);
      (function() {
          top -= step;
          if (top > -step) {
              dd.scrollTop == 0 ? db.scrollTop = top: dd.scrollTop = top;
              setTimeout(arguments.callee, 20);
          }
      })();

}