北京赛车下载app送彩金

function setTab1(name,cursel,n){ for(i=1;i<=n;i++){ var menu=document.getElementById(name+i); var con=document.getElementById("con_"+name+"_"+i); menu.className=i==cursel?"hover":""; } }

北京赛车下载app送彩金

/***手机版头部***/ $(function(){ $('#mainnav').TMStickUp({}) $(".icon-xs-mainnav").click(function(){ $(".mainnav-xs").slideToggle("fast"); $(this).toggleClass("ms"); $(".header-xs-search").slideUp("fast"); }) $(".icon-xs-search").click(function(){ $(".header-xs-search").slideToggle("fast"); $(".icon-xs-mainnav").removeClass("ms"); $(".mainnav-xs").slideUp("fast"); }) }); (function($,undefined){ var def={ stuckClass:'isStuck' } ,doc=$(document),anim = false; $.fn.TMStickUp=function(opt){ opt=$.extend(true,{},def,opt) $(this).each(function(){ var $this=$(this) ,posY//=$this.offset().top+$this.outerHeight() ,isStuck=false ,clone=$this.clone().appendTo($this.parent()).addClass(opt.stuckClass) ,height//=$this.outerHeight() ,stuckedHeight=clone.outerHeight() ,opened//=$.cookie&&$.cookie('panel1')==='opened' ,tmr $(window).resize(function(){ clearTimeout(tmr) clone.css({top:isStuck?0:-stuckedHeight,visibility:isStuck?'visible':'hidden'}) tmr=setTimeout(function(){ posY=$this.offset().top//+$this.outerHeight() height=$this.outerHeight() stuckedHeight=clone.outerHeight() opened=$.cookie&&$.cookie('panel1')==='opened' clone.css({top:isStuck?0:-stuckedHeight}) },40) }).resize() clone.css({ position:'fixed' ,width:'100%' }) $this .on('rePosition',function(e,d){ if(isStuck) clone.animate({marginTop:d},{easing:'linear'}) if(d===0) opened=false else opened=true }) doc .on('scroll',function(){ var scrollTop=doc.scrollTop() if(scrollTop>=posY&&!isStuck){ clone .stop() .css({visibility:'visible'}) .animate({ top:0 ,marginTop:opened?50:0 },{ }) isStuck=true } if(scrollTop

北京赛车下载app送彩金


主办:北京赛车下载app办公室   承办:汕头市北京赛车平台中心   网站标识码:4405000014   联系我们

备案号:粤ICP备05066684号-1     技术支持:  
网站地图

北京赛车下载app送彩金您访问的链接即将离开“北京赛车下载app门户网站”门户网站,是否继续?


-