我是滑块革命的新手。我怎样才能让它全宽屏幕?我试过以下:
<!-- START REVOLUTION SLIDER 5.0 -->
<div class="rev_slider_wrapper">
<div id="slider1" class="rev_slider" data-version="5.0">
<ul>
<li data-transition="fade">
<!-- MAIN IMAGE -->
<img src="../img/iphone.jpg" alt="" width="1920" height="1280">
</li>
<li data-transition="fade">
<!-- MAIN IMAGE -->
<img src="../img/htc.png" alt="" width="1920" height="1280">
</li>
</ul>
</div><!-- END REVOLUTION SLIDER -->
</div><!-- END OF SLIDER WRAPPER -->
<script>
jQuery(document).ready(function() {
jQuery("#slider1").revolution({
sliderType:"standard",
sliderLayout:"fullwidth",
delay:9000,
navigation: {
arrows:{enable:true}
}
});
});
</script>
但它仍然是半宽。我将所有内容都包含在标题中。