Browse Source

Bump up the version number

pull/21/head v1.21
Viljami S 13 years ago
parent
commit
17c7bc3f76
  1. 3
      README.md
  2. 2
      responsiveslides.css
  3. 2
      responsiveslides.js
  4. 2
      responsiveslides.min.js

3
README.md

@ -1,4 +1,4 @@
# ResponsiveSlides.js v1.2
# ResponsiveSlides.js v1.21
### Simple & lightweight responsive slideshow plugin (in 1kb)
@ -36,6 +36,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
Changelog
======
v1.21 (2012-03-23) - Added two new options: 'nextText' and 'prevText'.
v1.20 (2012-03-21) - New option called 'nav', which enables next and previous buttons. Can be used with 'pagination' and 'auto' options. Adds also new [themes folder](http://viljamis.com/responsive-slides/themes/) with three different ways to use the new next and previous buttons.

2
responsiveslides.css

@ -1,4 +1,4 @@
/*! http://responsive-slides.viljamis.com v1.20 by @viljamis */
/*! http://responsive-slides.viljamis.com v1.21 by @viljamis */
/* SLIDESHOW

2
responsiveslides.js

@ -1,4 +1,4 @@
/*! http://responsive-slides.viljamis.com v1.20 by @viljamis */
/*! http://responsive-slides.viljamis.com v1.21 by @viljamis */
(function ($, window, i) {
$.fn.responsiveSlides = function (options) {

2
responsiveslides.min.js vendored

@ -1,4 +1,4 @@
/*! http://responsive-slides.viljamis.com v1.20 by @viljamis */
/*! http://responsive-slides.viljamis.com v1.21 by @viljamis */
(function(c,y,r){c.fn.responsiveSlides=function(l){var b=c.extend({auto:!0,pagination:!1,nav:!1,prevText:"Previous",nextText:"Next",fade:1E3,maxwidth:"none",speed:4E3},l);return this.each(function(){r++;var g=c(this),h=0,e=g.children(),s=e.size(),t=parseFloat(b.fade),d="rslides"+r,m="rslides "+d,f=d+"_on",u=d+"_s",n=c('<ul class="rslides_tabs '+(d+"_tabs")+'" />'),v={"float":"left",position:"relative"},z={"float":"none",position:"absolute"},i=function(a){e.stop().fadeOut(t,function(){c(this).removeClass(f).css(z)}).eq(a).fadeIn(t,
function(){c(this).addClass(f).css(v);h=a})};if(1<e.size()){e.each(function(a){this.id=u+a});g.css("max-width",b.maxwidth).addClass(m);e.hide().eq(0).addClass(f).css(v).show();if(!0===b.pagination){var j=[];e.each(function(a){a+=1;j.push("<li>");j.push('<a href="#" class="'+u+a+'">'+a+"</a>");j.push("</li>")});n.append(j.join(""));var o=n.find("a");g.after(n)}var k=function(a){o.closest("li").removeClass("rslides_here").eq(a).addClass("rslides_here")};if(!0===b.auto){var p,w;p=function(){w=setInterval(function(){var a=
h+1<s?h+1:0;!0===b.pagination&&k(a);i(a)},parseFloat(b.speed))};p()}var q=function(){!0===b.auto&&(clearInterval(w),p())};!0===b.pagination&&o.on("click",function(a){a.preventDefault();q();a=o.index(this);if(h!==a){if(c("."+f+":animated").length)return!1;k(a);i(a)}}).eq(0).closest("li").addClass("rslides_here")}!0===b.nav&&(g.after('<a href="#" class="'+d+'_nav prev">'+b.prevText+'</a><a href="#" class="'+d+'_nav next">'+b.nextText+"</a>"),m=c("."+d+"_nav.prev"),d=c("."+d+"_nav.next"),m.on("click",

Loading…
Cancel
Save