jquery图文焦点广告轮播代码
jquery图文焦点广告轮播代码是一款jquery.nivo.slider.js图片插件制作图文焦点广告轮播代码。jquery左右箭头图片切换广告轮播
所属专题:焦点图代码
<link rel="stylesheet" type="text/css" href="css/style.css" media="screen">
<link rel="stylesheet" type="text/css" href="css/nivo-slider.css" media="screen">
<script type="text/javascript" src="js/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="js/jquery.nivo.slider.pack.js"></script>
<script type="text/javascript">
//Slider
jQuery(window).load(function() {
jQuery('#slider').nivoSlider({
effect: 'fold',
slices:15,
animSpeed:500, //Slide transition speed
pauseTime:5000,
controlNav: false,
directionNavHide: false,
prevText: 'prev',
nextText: 'next',
startSlide:0, //Set starting Slide (0 index)
directionNav:true, //Next & Prev
afterLoad: function(){
jQuery(".nivo-caption").animate({top:"60"}, {easing:"easeOutBack", duration: 500})
},
beforeChange: function(){
jQuery(".nivo-caption").animate({top:"-300"}, {easing:"easeInBack", duration: 500})
},
afterChange: function(){
jQuery(".nivo-caption").animate({top:"60"}, {easing:"easeOutBack", duration: 500})
}
});
});
</script>
本站资源仅限于学习研究,严禁从事商业或者非法活动!
源码搜藏网所有源码来自互联网转载与用户上传分享,如果侵犯了您的权益请与我们联系,我们将在24小时内删除!谢谢!