jQuery 翻转! div 内的链接
嘿。我想使用 Flip (http://lab.smashup.it/flip/)我的项目。但我希望链接能够在要翻转的 div 内进行翻转操作。我这里偶然发现了一个问题,并且回复非常有帮助,通过使用这些代码,我成功地实现了我想要的目标。但现在的问题是,当页面首次加载时,它会在单击任何链接之前自动翻转。我对 jQuery 了解不多。所以我将不胜感激任何帮助。
Hey there. I want to use Flip (http://lab.smashup.it/flip/) for one of my projects. But I want the links to make the flip action inside the divs that are going to be flipped. I stumbled across a question here and the reply was very helpful, and by using that codes I managed to achieve what I want. But now the issue is when the page first loads it automatically flips before clicking any link. I don't know much about jQuery. So I would appreciate any help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
确保您没有在 document.ready 上调用 trigger() 或 click()
make sure you are not calling trigger() or click() on document.ready
如果您使用与您提到的问题完全相同的代码,则问题是这样的:
您在
document.ready
上调用.click
If you're using exactly the same code from the question you've mentioned, the problem is this:
You're calling
.click
ondocument.ready