I want to resize bjqs slider when the window resizes..
this is what i've got so far:
<script type="text/javascript">
$(document).ready(function() {
$(window).resize(function(){
$('.pagebg').bjqs({
height : 347,
width : $(window).width(),
showcontrols : false,
showmarkers : false,
});
});
});
</script>
I've tried to resize it using $(window).resize, but there are multiple instances running
does anyone know how I can resize it and keep only 1 instance running?