开发者

jQuery tools tab - how can I stop the mouse event listener on the content area?

开发者 https://www.devze.com 2023-03-25 17:52 出处:网络
I think it is a simple question but I am not that used to jQuery. The example at the bottom is exactly my problem.

I think it is a simple question but I am not that used to jQuery. The example at the bottom is exactly my problem. When you click on the conten开发者_StackOverflow中文版t area, jQuery fades to the next div, but I want to stop that behavior. I only want to switch the contents when I click on one of the arrow buttons.

But I think I don't even need jQuery Tools for that simple problem, but I am not that experienced in jQuery.

Example

Greets Max


try unbinding the click event for the content.

use http://api.jquery.com/unbind/

you have to find the element the click event is registered on.

0

精彩评论

暂无评论...
验证码 换一张
取 消