⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 radmenu_scroll.js

📁 Telerik是很大的第三方软件制造商
💻 JS
字号:
function ExtendMenuWithScroll(){if ((typeof(RadMenu)=="undef\x69\x6e\x65d") || (typeof(RadMenu.i1n)!="\x75\x6edefin\x65\x64")){return; }RadMenu.prototype.O2w= function (l2w){if (!this.i11.Ig(l2w)){return null; }if (!this.i11.Ig(l2w.i1j)){l2w.i1n(); }return this.i11.lk(l2w.i1j); };RadMenuGroup.prototype.i1n= function (){if (this.l1g){if (this.ParentMenu.O20== false){RadMenuNamespace.i20(this.ParentMenu); this.ParentMenu.O20= true; }if (this.l1j==null){ this.l1j=document.getElementById(("\x6futerScrol\x6c\x65r"+this.ID)); }if (this.i1j==null){ this.i1j=document.getElementById(("in\x6e\x65rScroller"+this.ID)); }if (this.o1k==null){ this.o1k=this.ParentMenu.i11.om(this.i1j)+"px"; if (this.o1k=="0px"){ this.o1k=this.ParentMenu.i11.om(this.i1j.childNodes[0])+"px"; }if (this.ParentMenu.O1c.IsMozilla){}}if (this.O1k==null){ this.O1k=this.ParentMenu.i11.il(this.i1j)+"\x70\x78"; if (this.O1k=="0px"){ this.O1k=this.ParentMenu.i11.il(this.i1j.childNodes[0])+"\160x"; }}var i2w=null; if (this.l1j.style){i2w=this.l1j.style; }else {i2w=this.l1j; }var I2w=null; this.I1j=this.Container.getElementsByTagName("t\x61ble")[0]; I2w=this.I1j.getElementsByTagName("img"); if (this.l1f==VERTICAL_DIRECTION){ this.l1k=I2w[0]; this.i1k=I2w[(I2w.length-1)]; i2w.width=this.o1k; }else if (this.l1f==HORIZONTAL_DIRECTION){ this.I1k=I2w[0]; this.o1l=I2w[(I2w.length-1)]; i2w.height=this.O1k; }}};RadMenu.prototype.ScrollLeft= function (o2x){ this.I18(this.o19); var O2x=null; var l11=this ; var i2w=null; O2x=this.AllGroups.l17(o2x); i2w=this.O2w(O2x); if (parseInt(i2w.left)>(O2x.I1g-parseInt(O2x.o1k))){i2w.left=parseInt(i2w.left)-this.l1x+"\x70x"; } this.ScrollLeftTime=setTimeout( function (){l11.ScrollLeft(o2x); } ,50); };RadMenu.prototype.ScrollRight= function (o2x){ this.I18(this.o19); var O2x=null; var l11=this ; var i2w=null; O2x=this.AllGroups.l17(o2x); i2w=this.O2w(O2x); if (parseInt(i2w.left)<0){i2w.left=parseInt(i2w.left)+this.l1x+"px"; } this.ScrollRightTime=setTimeout( function (){l11.ScrollRight(o2x); } ,50); };RadMenu.prototype.ScrollUp= function (o2x){ this.I18(this.o19); var O2x=null; var l11=this ; var i2w=null; O2x=this.AllGroups.l17(o2x); i2w=this.O2w(O2x); if (parseInt(i2w.top)<0){i2w.top=parseInt(i2w.top)+this.l1x+"\x70x"; } this.ScrollUpTime=setTimeout( function (){l11.ScrollUp(o2x); } ,50); };RadMenu.prototype.ScrollDown= function (o2x){ this.I18(this.o19); var O2x=null; var l11=this ; var i2w=null; O2x=this.AllGroups.l17(o2x); i2w=this.O2w(O2x); if (parseInt(i2w.top)>(O2x.i1g-parseInt(O2x.O1k))){i2w.top=parseInt(i2w.top)-this.l1x+"\x70x"; } this.ScrollDownTime=setTimeout( function (){l11.ScrollDown(o2x); } ,50); };}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -