Fancybox图库无法正常运行

时间:2015-09-01 15:47:47

标签: jquery wordpress

我有一个工作人员会员页面,每个会员的照片和名字都在div中构建。点击工作人员照片后,它会打开一个灯箱并显示他们的照片和生物。我有" rel"设置为" fancybox-gallery"每张照片。

当您打开页面上的任何照片灯箱时,会显示"下一步"箭头链接。点击它将带您到下一个工作人员的灯箱,其中有两个" next"和"之前"箭头链接。单击这些链接中的任何一个都会导致这些链接和"关闭"链接确实消失,灯箱不会前进。

我对于为什么会发生这种情况一无所知。这是我的一名员工div的一个例子。

<div class="staff-member even ">
<div class="staff-summary">
<div class="staff-thumb">
<a id="inline" class="fancybox-inline" rel="fancybox-gallery" href="#lacy-arant">
<img class="staff-member-photo" src="http://midtownpilates.com/wordpress/wp-content/uploads/2015/08/MidtownPilates-Lacy.jpg">
</a>
</div>
<div class="staff-member-info-wrap">
<h3>
<a id="inline" class="fancybox-inline" href="#lacy-arant">Lacy Arant</a>
</h3>
<p class="staff-position">Owner + Instructor</p>
</div>
</div>
<div style="display:none">
<div id="lacy-arant" class="staff-full" style="width:760px;max-width:100%">
<img class="staff-member-photo" src="http://midtownpilates.com/wordpress/wp-content/uploads/2015/08/MidtownPilates-Lacy.jpg">
<h1>Lacy Arant</h1>
<p class="staff-position">Owner + Instructor</p>
<a class="staff-member-email" title="Email Lacy Arant" href="mailto:"></a>
Lacy is the reason we have Midtown Pilates today! As a graduate of Mississippi State University, it was Lacy’s dream to bring a new, fun, functional fitness resource to the Starkville community. Lacy received her training from Pilates Academy International in NYC, and holds certifications in mat, barre, reformer, cadillac, chair, barrels, cardiolates, and pre- and post-natal therapy. She now trains all of our instructors right here in Starkville! Lacy has a passion for health and fitness, as well as for the people of Starkville which is apparent in her personal teaching style. You’ll rarely see Lacy without an MP Glow spray tan and a dark magenta lipstick on her lips! Lacy recently got married to Stephen in November 2014, and just adopted the second of their two puppy children.
</div>
</div>
</div>

任何人都可以给我任何建议,为什么这个功能会以这种方式工作?这是一个Wordpress网站,我使用Easy Fancybox插件和Simple Staff List插件来创建此页面。

谢谢你, 基思

1 个答案:

答案 0 :(得分:0)

Easy Fancybox插件的作者刚刚提供了解决此问题的测试版,因为当前版本不支持内联内容。这个新的测试版很快就会向公众发布。

基思