Spade
Mini Shell
| Directory:~$ /home/lmsyaran/public_html/j3/media/com_easyblog/scripts/ |
| [Home] [System Details] [Kill Me] |
EasyBlog.module("featured",function(e){var
t=this;EasyBlog.require().done(function(){EasyBlog.Controller("Featured.Scroller",{defaultOptions:{elements:null,itemWidth:null,autorotate:{enabled:!1,interval:50},"{placeHolder}":".slider-holder","{slider}":".featured-entries","{sliderItems}":".slider-holder
ul li","{sliderNavigation}":".featured-navi .featured-a
a"}},function(t){return{init:function(){t.options.itemWidth=t.placeHolder().width()+1;var
e=t.sliderItems().length*parseInt(t.options.itemWidth);t.slider().css("width",e),t.sliderItems().css("width",t.options.itemWidth),t.options.autorotate.enabled&&setTimeout(function(){t.initAutoRotate()},parseInt(t.options.autorotate.interval)*1e3)},"{sliderNavigation}
click":function(n){var
r=e(n).data("slider"),i=0;r!=1&&(i=t.options.itemWidth*parseInt(r-1)),t.slider().children(":nth-child("+r+")").show(),t.slider().animate({left:"-"+i+"px"},"slow"),t.sliderNavigation(".active").removeClass("active"),e(n).addClass("active")},initAutoRotate:function(){var
n=!1;t.sliderNavigation().each(function(){e(this).hasClass("active")&&n!=1&&(e(this).next().length==0?t.sliderNavigation(":first").click():e(this).next().click(),n=!0)}),setTimeout(function(){t.initAutoRotate()},parseInt(t.options.autorotate.interval)*1e3)}}}),t.resolve()})});