阅读背景:

禁用/取消绑定单击活动项目,在不活动时重新绑定单击

来源:互联网 

I have a left-positioned navigation that shows/hides content on the right. Currently, when you click a link, it fades in the corresponding content on the right and adds an active class to that link. My problem is that if you click the active link again, the content on the right keeps on fading in again. I would like to unbind that click while the link is active, and if you click on another navigation link (subsequently removing the class from the previous link and adding it to the current one) rebind the click event to all inactive links.I have a left-positioned navigation that shows/




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: