一、backstretch 套件
二、使用方法
<script src="<{xoImgUrl}>js/jquery.backstretch.min.js"></script>
<script type="text/javascript"> $(document).ready(function(){ $('header').backstretch([ "<{xoImgUrl}>img/slider1.jpg" , "<{xoImgUrl}>img/slider2.jpg" , "<{xoImgUrl}>img/slider3.jpg" ], {duration: 5000, fade: 750}); }); </script>