diff --git a/responsiveslides.js b/responsiveslides.js
index fbc331a..885c520 100644
--- a/responsiveslides.js
+++ b/responsiveslides.js
@@ -26,6 +26,7 @@
"maxwidth": "", // Integer: Max-width of the slideshow, in pixels
"navContainer": "", // Selector: Where auto generated controls should be appended to, default is after the
"manualControls": "", // Selector: Declare custom pager navigation
+ "tabSelector": "a", // Selector: Element within the pager to target for each item
"namespace": "rslides", // String: change the default namespace used
"before": $.noop, // Function: Before callback
"after": $.noop // Function: After callback
@@ -213,7 +214,7 @@
// If we have a pager, we need to set up the selectTab function
if (settings.pager || settings.manualControls) {
- $tabs = $pager.find('a');
+ $tabs = $pager.find(settings.tabSelector);
// Select pager item
selectTab = function (idx) {
diff --git a/responsiveslides.min.js b/responsiveslides.min.js
index 21d4832..34e3d9e 100644
--- a/responsiveslides.min.js
+++ b/responsiveslides.min.js
@@ -1,8 +1,8 @@
-/*! http://responsiveslides.com v1.54 by @viljamis */
-(function(c,I,B){c.fn.responsiveSlides=function(l){var a=c.extend({auto:!0,speed:500,timeout:4E3,pager:!1,nav:!1,random:!1,pause:!1,pauseControls:!0,prevText:"Previous",nextText:"Next",maxwidth:"",navContainer:"",manualControls:"",namespace:"rslides",before:c.noop,after:c.noop},l);return this.each(function(){B++;var f=c(this),s,r,t,m,p,q,n=0,e=f.children(),C=e.size(),h=parseFloat(a.speed),D=parseFloat(a.timeout),u=parseFloat(a.maxwidth),g=a.namespace,d=g+B,E=g+"_nav "+d+"_nav",v=g+"_here",j=d+"_on",
-w=d+"_s",k=c(""),x={"float":"left",position:"relative",opacity:1,zIndex:2},y={"float":"none",position:"absolute",opacity:0,zIndex:1},F=function(){var b=(document.body||document.documentElement).style,a="transition";if("string"===typeof b[a])return!0;s=["Moz","Webkit","Khtml","O","ms"];var a=a.charAt(0).toUpperCase()+a.substr(1),c;for(c=0;c"+a+""});k.append(A);l.navContainer?c(a.navContainer).append(k):f.after(k)}a.manualControls&&(k=c(a.manualControls),k.addClass(g+"_tabs "+d+"_tabs"));(a.pager||a.manualControls)&&k.find("li").each(function(a){c(this).addClass(w+(a+1))});if(a.pager||a.manualControls)q=
-k.find("a"),r=function(a){q.closest("li").removeClass(v).eq(a).addClass(v)};a.auto&&(t=function(){p=setInterval(function(){e.stop(!0,!0);var b=n+1"+a.prevText+""+a.nextText+"";l.navContainer?c(a.navContainer).append(g):f.after(g);var d=c("."+d+"_nav"),G=d.filter(".prev");d.bind("click",function(b){b.preventDefault();b=c("."+j);if(!b.queue("fx").length){var d=e.index(b);b=d-1;d=d+1u&&f.css("width",u)};H();c(I).bind("resize",function(){H()})}})}})(jQuery,this,0);
+/* ResponsiveSlides.js v1.54
+ * http://responsiveslides.com
+ * http://viljamis.com
+ *
+ * Copyright (c) 2011-2012 @viljamis
+ * Available under the MIT license
+ */
+(function(c,b,a){c.fn.responsiveSlides=function(d){var e=c.extend({auto:true,speed:500,timeout:4000,pager:false,nav:false,random:false,pause:false,pauseControls:true,prevText:"Previous",nextText:"Next",maxwidth:"",navContainer:"",manualControls:"",tabSelector:"a",namespace:"rslides",before:c.noop,after:c.noop},d);return this.each(function(){a++;var q=c(this),G,F,s,t,C,h,r=0,z=q.children(),m=z.size(),o=parseFloat(e.speed),k=parseFloat(e.timeout),n=parseFloat(e.maxwidth),v=e.namespace,D=v+a,u=v+"_nav "+D+"_nav",H=v+"_here",y=D+"_on",j=D+"_s",i=c(""),l={"float":"left",position:"relative",opacity:1,zIndex:2},B={"float":"none",position:"absolute",opacity:0,zIndex:1},x=(function(){var J=document.body||document.documentElement;var K=J.style;var L="transition";if(typeof K[L]==="string"){return true}G=["Moz","Webkit","Khtml","O","ms"];L=L.charAt(0).toUpperCase()+L.substr(1);var I;for(I=0;I1){if(k"+J+""});i.append(A);if(d.navContainer){c(e.navContainer).append(i)}else{q.after(i)}}if(e.manualControls){i=c(e.manualControls);i.addClass(v+"_tabs "+D+"_tabs")}if(e.pager||e.manualControls){i.find("li").each(function(I){c(this).addClass(j+(I+1))})}if(e.pager||e.manualControls){h=i.find(e.tabSelector);F=function(I){h.closest("li").removeClass(H).eq(I).addClass(H)}}if(e.auto){s=function(){C=setInterval(function(){z.stop(true,true);var I=r+1"+e.prevText+""+e.nextText+"";if(d.navContainer){c(e.navContainer).append(f)}else{q.after(f)}var g=c("."+D+"_nav"),E=g.filter(".prev");g.bind("click",function(M){M.preventDefault();var K=c("."+y);if(K.queue("fx").length){return}var I=z.index(K),J=I-1,L=I+1n){q.css("width",n)}};p();c(b).bind("resize",function(){p()})}})}})(jQuery,this,0);
\ No newline at end of file