js代码
<script src="js/jquery-1.11.2.min.js"></script> <script src="js/jquery.cycle2.min.js"></script> <script src="js/jquery.sky.carousel-1.0.2.min.js"></script> <script src="js/lib.js"></script> <script src="js/scripts.js"></script> <script type="text/javascript"> $(function () { buildSideNav(); skyCarousel = $('#character-slider').carousel({ itemWidth: 528, itemHeight: 512, enableMouseWheel: false, gradientOverlayVisible: true, gradientOverlayColor: '#F0F3EE', gradientOverlaySize: 300, distance: 30, selectedItemDistance: 80, selectByClick: true, selectedItemZoomFactor: 0.8, unselectedItemZoomFactor: 0.4, navigationButtonsVisible: false, showPreloader: false, autoSlideshow: true }) }) </script>