$(function(){ /*主大图切换*/ $(".mbanner .focus").sudyfocus({ p:2, zWidth:1920, zHeight:500, title:{ isAutoWidth: true, active:true }, text:{ active: false, isAutoHeight: false, href: false }, response: true, speed:700, pagination: false, navigation: true, isNavHover: true, href:true, effect: 'fade' }); /*新闻图片切换*/ $(".post-15 .focus").sudyfocus({ p:11, zWidth:745, zHeight:478, title:{ isAutoWidth: false, active:true }, text: { active: false, isAutoHeight: false, href: false }, response: true, speed:300, pagination: true, navigation: true, isNavHover: false, href:true, effect: 'fade', autoPlay:true }); $('.post-12 .news_list').slick({ dots: true, //指示点 infinite: true, //循环播放 autoplay: true, //自动播放 autoplaySpeed: 5000, //自动播放间隔 arrows:false, //左右箭头 useCSS: true, //使用 CSS3 过度 speed: 600, //滑动时间 slide: 'li', //滑动元素查询 slidesToShow: 1, //幻灯片每屏显示个数 slidesToScroll: 1, //幻灯片每次滑动个数 responsive: [ //断点触发设置 { breakpoint: 1200, //分辨率之下(不包含设置分辨率本身) settings: { //参数设置 slide: 'li', //滑动元素查询 slidesToShow: 1, //幻灯片每屏显示个数 slidesToScroll: 1, //幻灯片每次滑动个数 infinite: true //循环播放 } } ] }); /*友情链接下拉*/ });