English 中文(简体)
jjQuery 循环插件 - 防止在点击Pcellr 时更改幻灯片
原标题:jQuery Cycle plugin - prevent slide change on pager click

I m 创建一个简单的幻灯片,以“pager”作为关于改变幻灯片的视觉信息(它们是子弹,活动信息是diffrent 颜色)。 问题是 - 我不想让传呼机元素被点击。 我如何防止这个错误?

?

问题回答

我不确定它是否有效,但您可以尝试重置 pager Event 值 :

$( .slideshow ).cycle({
    pagerEvent: null
});

默认 pager Event 值是 点击。 cound , 所以你需要重置它 。



上一篇:
下一篇:


相关问题
getGridParam is not a function

The HTML: <a href="javascript:void(0)" id="m1">Get Selected id s</a> The Function: jQuery("#m1").click( function() { var s; s = jQuery("#list4").getGridParam( selarrrow )...

selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

jQuery cycle page with links

I am using the cycle plugin with pager functionality like this : $j( #homebox ) .cycle({ fx: fade , speed: fast , timeout: 9000, pager: #home-thumbs , ...

How to clear all <div>s’ contents inside a parent <div>?

I have a div <div id="masterdiv"> which has several child <div>s. Example: <div id="masterdiv"> <div id="childdiv1" /> <div id="childdiv2" /> <div id="...

jquery ui dialog opens only once

I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.

jConfirm with this existing code

I need help to use jConfirm with this existing code (php & Jquery & jAlert). function logout() { if (confirm("Do you really want to logout?")) window.location.href = "logout.php"; } ...

jQuery/AJAX in IE : Object doesn t support this property or method

Ok, I m stumped. Basically, this script works fine in FF, but not in IE (6,7 or 8) - in which it returns an "Object doesn t support this property or method" error. Any ideas?: function ...

Wrap text after particular symbol with jQuery

What I m trying to do, is wrap text into div inside ll tag. It wouldn t be a problem, but I need to wrap text that appears particularly after "-" (minus) including "minus" itself. This is my html: &...

热门标签