使用scrollifys interstitialSection作为页脚

时间:2016-08-11 10:07:15

标签: jquery footer jquery-scrollify

请帮助我实现一个带有scrollify的页脚。根据网站http://projects.lukehaas.me/scrollify/上的说明,我相信我需要做的就是将我的页脚声明为插页式广告。但是,虽然这会从面板/幻灯片中取出页脚,但我无法用鼠标滚动它。

$(function() {
  $.scrollify({
      section : ".panel",
    interstitialSection : ".footer",
      easing: "easeOutExpo",
      scrollSpeed: 800,
      offset : 0,
      scrollbars: true,
      standardScrollElements: "",
      before:function() {},
      after:function() {},
      afterResize:function() {},
      afterRender:function() {}
    });
});

http://codepen.io/gburton85/pen/XdmMgB

谢谢

1 个答案:

答案 0 :(得分:1)