/*! ResponsiveSlides.js v2XX * http://responsiveslides.com * http://viljamis.com * * Copyright (c) 2011-2012 @viljamis * Available under the MIT license * * Do not use this, not a working version yet! */ /*jslint browser: true, sloppy: true, vars: true, plusplus: true, indent: 2 */ ;(function ($, window) { var selectTab, startCycle, restartCycle, rotate, $tabs; var instance = 0; var index = 0; var visibleStyles = {"float": "left", "position": "relative"}, hiddenStyles = {"float": "none", "position": "absolute"}; // Plugin constructor var ResponsiveSlides = function (element, options) { instance++; this.el = element; this.$el = $(element); this.options = options; }; // Plugin prototype ResponsiveSlides.prototype = { defaults : { auto: true, // Boolean: Animate automatically, true or false speed: 1000, // Integer: Speed of the transition, in milliseconds timeout: 4000, // Integer: Time between slide transitions, in milliseconds pager: false, // Boolean: Show pager, true or false nav: false, // Boolean: Show navigation, true or false random: false, // Boolean: Randomize the order of the slides, true or false pause: false, // Boolean: Pause on hover, true or false pauseControls: false, // Boolean: Pause when hovering controls, true or false prevText: "Previous", // String: Text for the "previous" button nextText: "Next", // String: Text for the "next" button maxwidth: "", // Integer: Max-width of the slideshow, in pixels controls: "", // Selector: Where controls should be appended to, default is after the