For those of you who worked with Skitter Slideshow, it's a great plugin but I want to make custom next/prev buttons and place them outside of the .box_skitter container and call the skitter navigation function.
I tried creating the following:
// Custom Navigation
enable_custom_navigation: true,
if (self.settings.enable_custom_navigation) {
self.enableCustomNavigation();
}
enableCustomNavigation: function() {
var self = this;
$('#custom_next, #prev_button').click(function () {
// Next
if (this.id == 'custom_next') {
self.box_skitter.find('.next_button').trigger('click');
}
// Prev
else if (this.id == 'custom_prev') {
self.box_skitter.find('.prev_button').trigger('click');
}
});
},