function ScaleSlider() {
					var bodyWidth = document.body.clientWidth;
					if (bodyWidth)
						jssor_slider1.$SetScaleWidth(Math.min(bodyWidth, 980));
					else
						window.setTimeout(ScaleSlider, 30);
				}
//you can remove responsive code if you don't want the slider scales while window resizes
you can remove responsive code if you don't want the slider scales while window resizes
you can remove responsive code if you don ' t want the slider scales while window resizes
function ScaleSlider() {
					var bodyWidth = document.body.clientWidth;
					if (bodyWidth)
						jssor_slider1.$SetScaleWidth(Math.min(bodyWidth, 980));
					else
						window.setTimeout(ScaleSlider, 30);
				}
function ScaleSlider ( ) { var bodyWidth = document . body . clientWidth ; if ( bodyWidth ) jssor_slider1 . $SetScaleWidth ( Math . min ( bodyWidth , 980 ) ) ; else window . setTimeout ( ScaleSlider , 30 ) ; }
you can remove responsive code if you don't want the slider scales while window resizes
you can remove responsive code if you don ' t want the slider scales while window resizes