adjust jssor slider in a container div -


I have 3 divs first led "DivHeader", the second "DivMenu" has a menu and leave the third material "DivContent" is where the sliders are being. How can I do I have a problem with div "divcontent" because they do not fit the size of the sliders div "DivContent"?

Use the following code to your slider scale to fit the width of your 'DivContent '

  var jssor_slider1 = new $ JssorSlider $ (...;. // responsive code starting // you can remove the code responsible if you do not want slider scales, while window function ScaleSlider resizes () {var parentWidth = jssor_slider1 $ Elmt.parentNode.clientWidth ;. if (parentWidth) jssor_slider1 $ scalewidth (parentWidth) ;. rest window.setTimeout (ScaleSlider, 30);} ScaleSlider () ;! if (navigator .userAgent.match (/ (IPhone | iPod | iPad | Blackberry | IEMobile) /)) {$ (window) .bind ('resizing', ScaleSlider);} // if (navigator.userAgent.match (/ (iPhone | iPod | iPad) /)) {// $ (window) .bind ( "orientationchange", ScaleSlider); //} // code responsible end  

Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -