How to resize (scale) a slide image to a different size with jquery or css or any other ways?
it always loads the main images of full width and height, and control using the following methods does not work.
you can download a sample of a full working example of a scripter and easily check it
no help was found inside http://www.skitter-slider.net/documentation
you can resize the image slider container following the sample code, but if the images, if they are larger than 530 pixels, only some of its parts will be displayed.
$(document).ready(function() { $('.box_skitter_large').css({width: 530, height: 110}).skitter({ theme: 'minimalist',numbers_align: 'center' }); }); </script>
as well as setting the width and height of images in img tags does not help.
Below is a more specific scenario in the original question that might help.
I wrote the code below to dynamically adjust image size when resizing a window using skitter and jquery. but does not work with him.
<script> $('.box_skitter_normal').addClass("z1").skitter({label: false, numbers: false}); $('.box_skitter_normal2').addClass("z2").skitter({label: false, numbers: false}); $(window).resize(function() { $('.box_skitter_normal').addClass("z1").skitter({label: false, numbers: false}); $('.box_skitter_normal2').addClass("z2").skitter({label: false, numbers: false}); }); </script>
source share