I'm wondering whether there's an easy way to control an image slideshow that I have working with jQuery Cycle with a UI Slider widget.
Cycle code is:
$(window).load(function(){
$('.foo').cycle({
timeout : 80,
speed : 80 ,
startingSlide : 0,
});
});
and the widget is as such:
$(function() {
$( "#slider-vertical" ).slider({
orientation: "vertical",
range: "min",
min: 0,
max: 300,
value: 300,
slide: function( event, ui ) {
$( "#amount" ).val( ui.value );
console.log(ui.value);
}
});
$( "#amount" ).val( $( "#slider-vertical" ).slider( "value" ));
});
Any ideas on which Cycle options might be manipulated by the values that the ui widget is spitting out? Thank you!