From 52fa34db709300c080ffb69d881ce7f3d2e1d8cb Mon Sep 17 00:00:00 2001 From: Tuomas Salo Date: Mon, 12 Dec 2011 00:16:41 +0200 Subject: [PATCH] (minified with Google Closure (SIMPLE_OPTIMIZATIONS) --- responsiveslides.min.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 responsiveslides.min.js diff --git a/responsiveslides.min.js b/responsiveslides.min.js new file mode 100644 index 0000000..bfe8bdf --- /dev/null +++ b/responsiveslides.min.js @@ -0,0 +1,6 @@ +/*! ResponsiveSlides.js v1.01. (c) 2011 Viljami Salminen. MIT License. http://responsive-slides.viljamis.com */ +(function(a){a.fn.responsiveSlides=function(e){var c={speed:4E3,fade:1E3,auto:!0,maxwidth:"none",namespace:"responsiveSlides"};return this.each(function(){var b=a(this);e&&a.extend(c,e);var h=function(){e.maxwidth&&("undefined"===typeof document.body.style.maxHeight||"undefined"===typeof document.body.style.minHeight)&&b.each(function(){b.css("width","100%");b.width()>maxwidth?b.css("width",maxwidth):b.width()'),l={position:"relative","float":"left"},m={position:"absolute","float":"none"};1>=b.find(d).length||(d.each(function(a){this.id=i+a}),d.css({top:0,left:0,width:"100%",height:"inherit",position:"absolute"}),b.find(":first-child").addClass(f).css(l),b.css({"max-width":g,width:"100%",overflow:"hidden",position:"relative"}),b.find(d+":gt(0)").hide(),c.auto?setInterval(function(){b.find(":first-child").fadeOut(k, +function(){a(this).css(m)}).next(d).fadeIn(k,function(){a(this).css(l)}).addClass(f).end().appendTo(b).removeClass(f)},parseFloat(c.speed)):(d.each(function(a){a+=1;h.append('
  • '+a+"
  • ")}),b.after(h),a("."+i+"1").parent().addClass(j),a("."+e+" a").each(function(b){var c=a(this);c.click(function(d){d.preventDefault();!a("."+f+":animated").length&&!c.parent().hasClass(j)&&(a("."+e+" li").removeClass(j),a("."+f).stop().fadeOut(k,function(){a(this).removeClass(f).css(m)}).end(), +a("#"+i+b).stop().fadeIn(k,function(){a(this).addClass(f).css(l)}).end(),c.parent().addClass(j))})})))})();h();a(window).resize(function(){h()})})}})(jQuery); +