嘿,我有一个 PHP+mySQL+jQuery 特色部分被 Isotope 阻止,我工作得很好,你可以在这里看到
我想在 EE 矩阵中执行此操作,但我遇到了 ajax 分页问题
这是我将矩阵行输出到同位素的代码
<div id="container" class="photos clearfix variable-sizes">
{exp:channel:entries channel="featured" url_title="main-featured" limit="1"}
{featured_items search:active="Yes" sort="asc" limit="5" offset="0"}
{if type == "Video"}
<div class="photo video">
{thumb_image}
<img src="{path}_thumbnails/{filename}.{extension}" />
{/thumb_image}
<a href="{vlink}" class="featuredVideoIcon" t = "video" title="{overlayed_title}"></a>
<a href="{vlink}" class="FeaturedTitleLink" t = "video" title="{overlayed_title}"><h2 class="FeaturedTitle">{overlayed_title} -- {row_count} of / {total_rows}</h2></a>
</div>
{if:else}
<div class="photo image">
{thumb_image}
<img src="{path}_thumbnails/{filename}.{extension}" />
{/thumb_image}
<a class="featuredEnlargIcon" href= "{thumb_image}" title="{overlayed_title}" t = "image"></a>
<a class="FeaturedTitleLink" href= "{thumb_image}" t = "image" title="{overlayed_title}"><h2 class="FeaturedTitle">{overlayed_title} -- {row_count} of / {total_rows}</h2></a>
</div>
{/if}
{/featured_items}
{/exp:channel:entries}
</div>
有什么想法可以让 ajax 分页工作吗?