是否可以将此演示版http://www.jssor.com/demos/tab-slider.slider设为全屏高度?喜欢超大轮播http://buildinternet.com/project/supersized/slideshow/3.2/demo.html
由于
jssor
答案 0 :(得分:1)
就我而言,添加
$("#slider1_container").css('width',window.innerWidth);
$("#slides").css('width',window.innerWidth);
$("#slider1_container").css('height',window.innerHeight);
$("#slides").css('height',window.innerHeight);
之前
var jssor_slider1 = new $JssorSlider$("slider1_container", options);
做了这个伎俩。 (将幻灯片'幻灯片放到幻灯片div中)
<div id="slides" u="slides" style="cursor: move; position: absolute; left: 0px; top: 0px; width: 500px;
height: 500px; overflow: hidden;">