diff --git a/demo/1_thumb.jpg b/demo/1_thumb.jpg
new file mode 100644
index 0000000..27340ef
Binary files /dev/null and b/demo/1_thumb.jpg differ
diff --git a/demo/2_thumb.jpg b/demo/2_thumb.jpg
new file mode 100644
index 0000000..75bc7bd
Binary files /dev/null and b/demo/2_thumb.jpg differ
diff --git a/demo/3_thumb.jpg b/demo/3_thumb.jpg
new file mode 100644
index 0000000..b01ccf2
Binary files /dev/null and b/demo/3_thumb.jpg differ
diff --git a/demo/demo.css b/demo/demo.css
index 9212fac..cf0669a 100644
--- a/demo/demo.css
+++ b/demo/demo.css
@@ -206,6 +206,19 @@ h3 {
right: 0;
}
+/* Thumbnail pager example */
+#slider4-pager {
+ max-width: 260px;
+}
+
+#slider4-pager a {
+ padding: 0;
+}
+
+#slider4-pager .rslides_here a {
+ background: transparent;
+}
+
@media screen and (max-width: 600px) {
h1 {
font: 24px/50px "Helvetica Neue", Helvetica, Arial, sans-serif;
diff --git a/demo/demo.html b/demo/demo.html
index 3cd7330..6bf0984 100644
--- a/demo/demo.html
+++ b/demo/demo.html
@@ -40,6 +40,11 @@
}
});
+ // Slideshow 4
+ $("#slider4").responsiveSlides({
+ pager: '#slider4-pager'
+ });
+
});
@@ -63,6 +68,19 @@
+
+
+
+
+
-
@@ -82,7 +100,7 @@
- Example 3 callback events
+ Example 4 callback events
See the documentation
diff --git a/responsiveslides.min.js b/responsiveslides.min.js
index 89107bc..32c765d 100644
--- a/responsiveslides.min.js
+++ b/responsiveslides.min.js
@@ -1,6 +1,7 @@
/*! http://responsiveslides.com v1.32 by @viljamis */
-(function(d,E,w){d.fn.responsiveSlides=function(h){var b=d.extend({auto:!0,speed:1E3,timeout:4E3,pager:!1,nav:!1,random:!1,pause:!1,pauseControls:!1,prevText:"Previous",nextText:"Next",maxwidth:"",controls:"",namespace:"rslides",before:function(){},after:function(){}},h);return this.each(function(){w++;var e=d(this),n,q,i,k,l,m=0,f=e.children(),x=f.size(),r=parseFloat(b.speed),y=parseFloat(b.timeout),s=parseFloat(b.maxwidth),c=b.namespace,g=c+w,z=c+"_nav "+g+"_nav",t=c+"_here",j=g+"_on",A=g+"_s",
-p=d(""),B={"float":"left",position:"relative"},F={"float":"none",position:"absolute"},u=function(a){b.before();f.stop().fadeOut(r,function(){d(this).removeClass(j).css(F)}).eq(a).fadeIn(r,function(){d(this).addClass(j).css(B);b.after();m=a})};b.random&&(f.sort(function(){return Math.round(Math.random())-0.5}),e.empty().append(f));f.each(function(a){this.id=A+a});e.addClass(c+" "+g);h&&h.maxwidth&&e.css("max-width",s);f.hide().eq(0).addClass(j).css(B).show();if(1<
-f.size()){if(y"+a+" "});p.append(v);l=p.find("a");h.controls?d(b.controls).append(p):e.after(p);n=function(a){l.closest("li").removeClass(t).eq(a).addClass(t)}}b.auto&&(q=function(){k=setInterval(function(){f.stop(!0,!0);var a=m+1"+b.prevText+""+b.nextText+"";h.controls?d(b.controls).append(c):e.after(c);var c=d("."+g+"_nav"),C=d("."+g+"_nav.prev");c.bind("click",function(a){a.preventDefault();if(!d("."+j).queue("fx").length){var c=
-f.index(d("."+j)),a=c-1,c=c+1s&&e.css("width",s)};D();d(E).bind("resize",function(){D()})}})}})(jQuery,this,0);
\ No newline at end of file
+(function(c,F,y){c.fn.responsiveSlides=function(j){var b=c.extend({auto:!0,speed:1E3,timeout:4E3,pager:!1,nav:!1,random:!1,pause:!1,pauseControls:!1,prevText:"Previous",nextText:"Next",maxwidth:"",controls:"",namespace:"rslides",before:function(){},after:function(){}},j);return this.each(function(){y++;var e=c(this),q,r,k,m,n,p=0,f=e.children(),z=f.size(),s=parseFloat(b.speed),A=parseFloat(b.timeout),t=parseFloat(b.maxwidth),d=b.namespace,g=d+y,B=d+"_nav "+g+"_nav",u=d+"_here",l=g+"_on",v=g+"_s",
+h=c(""),C={"float":"left",position:"relative"},G={"float":"none",position:"absolute"},w=function(a){b.before();f.stop().fadeOut(s,function(){c(this).removeClass(l).css(G)}).eq(a).fadeIn(s,function(){c(this).addClass(l).css(C);b.after();p=a})};b.random&&(f.sort(function(){return Math.round(Math.random())-0.5}),e.empty().append(f));f.each(function(a){this.id=v+a});e.addClass(d+" "+g);j&&j.maxwidth&&e.css("max-width",t);f.hide().eq(0).addClass(l).css(C).show();if(1<
+f.size()){if(A"+a+""});h.append(x);j.controls?c(b.controls).append(h):e.after(h)}else b.pager&&(h=c(b.pager),h.addClass(d+"_tabs "+g+"_tabs"),h.find("li").each(function(a){c(this).addClass(v+(a+1))}));b.pager&&(n=h.find("a"),q=function(a){n.closest("li").removeClass(u).eq(a).addClass(u)});b.auto&&(r=function(){m=setInterval(function(){f.stop(!0,!0);var a=p+1"+b.prevText+""+b.nextText+"";j.controls?c(b.controls).append(d):
+e.after(d);var d=c("."+g+"_nav"),D=c("."+g+"_nav.prev");d.bind("click",function(a){a.preventDefault();if(!c("."+l).queue("fx").length){var d=f.index(c("."+l));a=d-1;d=d+1t&&e.css("width",t)};E();c(F).bind("resize",function(){E()})}})}})(jQuery,
+this,0);
\ No newline at end of file