jQuery周期:pagerAnchorBuilder无法与LiveQuery一起使用 [英] Jquery Cycle: pagerAnchorBuilder not working with LiveQuery

查看:81
本文介绍了jQuery周期:pagerAnchorBuilder无法与LiveQuery一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

希望你会没事的.我正在与实时查询一起使用jquery循环插件.除了pagerAnchorBuilder之外,它都工作正常.任何人都知道如何解决此问题. jQuery循环代码如下:

Hope u people will be fine. I am using jquery cycle plugin togther with livequery. It is working fine except pagerAnchorBuilder. Any body know how to fix this problem. Jquery Cycle Code is following:

            $j('ul.slider-thumbs').livequery(function() {
                $j(this).cycle({ 
                    fx:     'fade', 
                    speed:  750, 
                    timeout: 0, 
                    cleartype: true, 
                    next: '.slider-nav span.control-next a',
                    prev: '.slider-nav span.control-prev a',
                    pager:   'ul.slider-pagination',
                    pagerAnchorBuilder:     pagerFactory

                    });

        function pagerFactory(idx, slide) {
            return '<li><a href="#"></a></li>';
        };      

        });

推荐答案

我在jquery论坛上找到了您的解决方案:

I found your solution over at the jquery forums:

http://forum.jquery.com/topic/jquery-cycle-pageranchorbuilder-not-working-with-livequery

使用循环精简版,寻呼机元素似乎不起作用.该方面需要完整周期的插件.

the pager element seems to not work w/ cycle lite. the full cycle plugin is needed for that aspect.

这篇关于jQuery周期:pagerAnchorBuilder无法与LiveQuery一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆