jssor

jssor full height or full screen slider / possible?

孤者浪人 提交于 2019-11-27 21:34:31
is it possible to make this demo http://www.jssor.com/demos/full-width-slider.html to full screen height ? like supersizes carousel http://buildinternet.com/project/supersized/slideshow/3.2/demo.html Thanks please use following code to scale slider to full screen, //responsive code begin //you can remove responsive code if you don't want the slider scales while window resizes function ScaleSlider() { var windowWidth = $(window).width(); if (windowWidth) { var windowHeight = $(window).height(); var originalWidth = jssor_slider1.$OriginalWidth(); var originalHeight = jssor_slider1.

Jssor slider 100% width

南笙酒味 提交于 2019-11-27 13:10:34
I try to get a jssor slider working with 100% width (the container has a width of 70%). The problem is, that jssor only works with pixels, so if I use a slide_container with a width of 100%, the slider doesn't work any more. Is there any trick how to get this working? size of 'slide_container' should be always specified with fixed pixels. the original size is fixed then, but you can scale the slider to any size. use following code to scale the slider to width of document.body. var jssor_slider1 = new $JssorSlider$("slider1_container", options); //responsive code begin //you can remove

jssor full height or full screen slider / possible?

空扰寡人 提交于 2019-11-26 20:42:58
问题 is it possible to make this demo http://www.jssor.com/demos/full-width-slider.html to full screen height ? like supersizes carousel http://buildinternet.com/project/supersized/slideshow/3.2/demo.html Thanks 回答1: please use following code to scale slider to full screen, //responsive code begin //you can remove responsive code if you don't want the slider scales while window resizes function ScaleSlider() { var windowWidth = $(window).width(); if (windowWidth) { var windowHeight = $(window)

Jssor slider 100% width

只愿长相守 提交于 2019-11-26 16:15:32
问题 I try to get a jssor slider working with 100% width (the container has a width of 70%). The problem is, that jssor only works with pixels, so if I use a slide_container with a width of 100%, the slider doesn't work any more. Is there any trick how to get this working? 回答1: size of 'slide_container' should be always specified with fixed pixels. the original size is fixed then, but you can scale the slider to any size. use following code to scale the slider to width of document.body. var jssor