Revision: 53428
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 23, 2011 04:42 by i-am-andy
Initial Code
$(document).ready(function () {
var titles = ['Pentiction Summer Classic', 'Ryan Kesler', 'Trevor Linden'];
$('.slideshow').cycle({
fx: 'fade',
timeout: 5000,
pager: '#nav',
pagerAnchorBuilder: function (index) {
return '<a href="#">' + titles[index] + '</a>';
}
});
});
Initial URL
http://stackoverflow.com/questions/3704269/how-to-change-pager-text-in-jquery-cycle
Initial Description
Change the text of the jquery cycle pager element. By default is is 1, 2, 3 etc but you can change this to text via a variable
Initial Title
How to change pager text in jquery cycle plugin
Initial Tags
jquery
Initial Language
JavaScript