全屏背景图可以自动切换
自动切换的全屏背景图片
JavaScript Code
- <script type="text/javascript">
- var srcBgArray = ["./images/img-slider-1.jpg","./images/img-slider-2.jpg","./images/img-slider-3.jpg","./images/img-slider-4.jpg"];
- $(document).ready(function() {
- $('#bg-body').bcatBGSwitcher({
- urls: srcBgArray,
- alt: 'Full screen background image'
- });
- });
- </script>
原文地址:http://www.freejs.net/article_jquerytupiantexiao_216.html