You can simply recalculate the slider-dimensions with an event-handler, like this:
$(document).on('keydown', function(e){
if(e.ctrlKey) {
if(e.which === 187) {
// zoom-in, +
}
if(e.which === 189) {
// zoom-out, -
}
}
});
Update
I noted that you can simply you the resize
-event, to check if the window-size is changed:
$(window).on('resize', function(){
alert(true)
});
http://fiddle.jshell.net/aZagW/1/
Update2
The scroller you use has its own refresh
-method:
Refreshes carousel based on new state. The carousel can be made responsive by calling this method on the windows resize event.
https://github.com/richardscarrott/jquery-ui-carousel#refresh-rs-carouselcarouselrefresh