It really isn't that much code. If you aren't using any of the controls, you can get rid of this section (or just keep the one(s) you want):
Code:
if(arguments[5]){
vslide['reverse'+vslide.num]=function(){cacheobj.d=!cacheobj.d};
vslide['stop'+vslide.num]=function(){cacheobj.pause=1};
vslide['go'+vslide.num]=function(){cacheobj.pause=0};
vslide['up'+vslide.num]=function(){cacheobj.pause=cacheobj.d=0;};
vslide['down'+vslide.num]=function(){cacheobj.pause=0;cacheobj.d=1;};
vslide['obj'+vslide.num]=function(){return cacheobj};
vslide['slow'+vslide.num]=function(){cacheobj.speed=cacheobj.speed-2>0? cacheobj.speed-2 : 0;cacheobj.pause=cacheobj.speed>0? 0 : 1;}
vslide['fast'+vslide.num]=function(){cacheobj.speed=cacheobj.speed+2<9? cacheobj.speed+2 : 9;cacheobj.pause=0;}
vslide['top'+vslide.num]=function(){cacheobj.pause=1;cacheobj.m1[0].style.top=cacheobj.m2[0].style.top=0}
vslide['end'+vslide.num]=function(){cacheobj.pause=1;cacheobj.m1[0].style.top=cacheobj.m2[0].style.top=cacheobj.h+cacheobj.m.offsetHeight+'px'}
vslide['r'+vslide.num]=function(){var el=this;setTimeout(function(){el.onmouseout=function(){cacheobj.pause=1};},300);}
}
And, if you aren't using the mouseover pause, this can go too:
Code:
if(arguments[4]){
this.m.onmouseover=function(){cacheobj.pause=1};
this.m.onmouseout=function(){cacheobj.pause=0};
}
Bookmarks