Tumblr Like Buttons与Infinite Scroll无法点击

时间:2015-06-17 04:59:28

标签: tumblr infinite-scroll social-media-like

这与16390193类似,但我仍然无法弄清楚如何让它发挥作用(我不是网络开发者......)。我的测试网站为http://testooop.tumblr.com/(基于copycat theme)。以下是一些主题代码(我认为与问题相关)。

<body class="{block:IndexPage}index-page{/block:IndexPage}{block:PermalinkPage}permalink-page{/block:PermalinkPage} layout-{select:Max Columns}">
            {block:IndexPage}
            <div id="backToTop" class="back-to-top" title="Back to top">
                <i class="fa fa-2x fa-angle-up"></i>
            </div>
            {/block:IndexPage}

发布标记

{block:Posts}
        <article class="post {PostType}{block:PermalinkPage} {block:Date}not-{/block:Date}page{/block:PermalinkPage}">

JS

<script type="text/javascript">
            var copycat = {{block:IfInfiniteScrolling}infScroll: true,{/block:IfInfiniteScrolling}{block:IfNotInfiniteScrolling}infScroll: false,{/block:IfNotInfiniteScrolling} {block:IndexPage}indexPage: true{/block:IndexPage}{block:PermalinkPage}indexPage: false{/block:PermalinkPage}, prefill: false};
</script>

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>

<script type="text/javascript" src="//static.tumblr.com/anzluor/z2tn74e8h/masonry.pkgd.min.js"></script>

{block:IfInfiniteScrolling}<script type="text/javascript" src="//static.tumblr.com/anzluor/ycPn74dop/jquery.infinitescroll.min.js"></script>{/block:IfInfiniteScrolling}

<script type="text/javascript" src="//static.tumblr.com/anzluor/Jwrn7rcyd/copycat.min.js"></script>

不确定此信息是否足够。先感谢您!

0 个答案:

没有答案