|
|
|
(function(d,m,n){d.fn.responsiveSlides=function(k){var b=d.extend({auto:!0,pagination:!1,fade:1E3,maxwidth:"none",speed:4E3},k);return this.each(function(){n++;var e=d(this),l,o,g=0,f=e.children();d("img",this);var u=f.size(),c="rslides"+n,v="rslides "+c,h=c+"_on",p=c+"_s",c=c+"_tabs",q=parseFloat(b.fade),c=d('<ul class="rslides_tabs '+c+'" />'),r={"float":"left",position:"relative"},w={"float":"none",position:"absolute"},s=function(a){f.stop().fadeOut(q,function(){d(this).removeClass(h).css(w)}).eq(a).fadeIn(q,
|
|
|
|
s(a)},parseFloat(b.speed))},l());!0===b.pagination&&j.on("ontouchstart"in m?"touchstart":"click",function(a){a.preventDefault();clearInterval(o);b.auto===true&&l();a=j.index(this);if(g!==a){if(d("."+h+":animated").length)return false;j.closest("li").removeClass("rslides_here").eq(a).addClass("rslides_here");s(a)}}).eq(0).closest("li").addClass("rslides_here")}if("undefined"===typeof document.body.style.maxWidth&&k&&k.maxwidth){var t=function(){e.css("width","100%");e.width()>b.maxwidth&&e.css("width",
|