diff --git a/responsiveslides.js b/responsiveslides.js index a97c31a..c7f1bc0 100644 --- a/responsiveslides.js +++ b/responsiveslides.js @@ -1,157 +1,163 @@ -/*! ResponsiveSlides.js v1.07. (c) 2011 Viljami Salminen. MIT License. http://responsive-slides.viljamis.com */ -(function($, window, i) { - - $.fn.responsiveSlides = function( options ) { - - // Merge default settings with optional arguments - var settings = $.extend({ - "auto": true, - "fade": 1000, - "maxwidth": "none", - "speed": 4000 - }, options); - - return this.each( function () { - - // increment i, which is used for namespacing - i++; - - // save handle for the slideshow - var $this = $( this ); - - var $slide = $this.children(), - $img = $( "img", this ), - - namespace = "rslides" + i, - - activeClass = namespace + "_here", - slideClassPrefix = namespace + "_s", - - tabsClass = namespace + "_tabs", - $pagination = $( "