0

我正在使用 jquery Cycle 创建特色内容滑块。在我的寻呼机中,我有来自每个帖子的图像和指向永久链接的链接。我无法链接到该页面,但我希望这张图片能让我了解我在做什么:

替代文字

我的问题是,当我单击右侧导航中的永久链接时,它们没有打开。链接形成正确,我可以右键单击并在新窗口中打开。似乎滑块将我的点击拦截为 JS 点击,而不是点击 acutaly href 链接。

有人遇到过这个问题吗?

这是我的 JS

    jQuery('#slideWrap').cycle({
    speed:       200, 
    timeout:     0, 
    pager:      '#featuredNav ul', 
    pagerEvent: 'mouseover',
    pagerAnchorBuilder: function(idx, slide) { 
    
    return '<li><img src="' + jQuery(slide).find(".featuredSlideImage > img").attr("src")  + '" height="50" width="75" />' + jQuery(slide).find(".featuredSlideDesc > h3").html()  + ' </li>'; 
    
} 
});     
4

1 回答 1

1

http://jquery.malsup.com/cycle/options.html,我建议尝试以下选项:

允许PagerClickBubble

并将其设置为 true 而不是默认值 false。

于 2010-06-28T01:45:21.147 回答