更新时间:2020-12-16 20:51:59
更新说明:去除logo,避免不必要的麻烦。
发布时间:2014-12-29 14:27:17
全屏滚动流媒体,引入,
1 2 | <link rel="stylesheet" href="css/jquery.fullPage.css" /><script src="js/jquery.fullPage.min.js"></script> |
在执行$('#index_main').fullpage({
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | 'navigation': true,slidesNavigation: true, controlArrows: false, continuousHorizontal: true, scrollingSpeed: 1000, showActiveTooltip: true, anchors: ['hero', 'one', 'two', 'three'], loopHorizontal: true, afterLoad: function(anchorLink, index) { if (index == 1) { $('header').removeClass('on'); } if (index == 2) { $('header').addClass('on'); $('.section2 h3').addClass('animated fadeInUp').css('animation-delay', '.1s'); } if (index == 3) { $('header').addClass('on'); $('.section3 h3').addClass('animated fadeInUp').css('animation-delay', '.1s'); } if (index == 4) { $('header').addClass('on'); $('.section4 h3').addClass('animated fadeInUp').css('animation-delay', '.1s'); } }, onLeave: function(index, direction) { }}) |
特别申明:
本站所有资源都是由网友投稿发布,或转载各大下载站,请自行检测软件的完整性!
本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!
如有侵权请联系我们删除下架,联系方式:lei1294551502@163.com