简体   繁体   English

双击以在IOS for iFrame上建立工作链接

[英]Double Click to Make Working Links on IOS for iFrame

I am using html code using iFrame. 我正在使用iFrame使用html代码。 This make ios to click twice on making links workable. 这使ios在使链接可用时单击两次。 When I remove the iFrame, it works well on single click. 当我删除iFrame时,只需单击一下,效果很好。

However, I have to make the links workable on ios on single click having iFrame. 但是,我必须使单击具有iFrame的链接在ios上可用。

I prefer the solution using css rather than javascript or jQuery. 我更喜欢使用CSS而不是JavaScript或jQuery的解决方案。

Any suggestion? 有什么建议吗?

Are you using safari on IOS? 您在IOS上使用野生动物园吗? If so, this might be an explanation as to why it is happening. 如果是这样, 可能是对其发生原因的解释。

Also, I don't quite know the proper sollution as to how to get an element in an iFrame using css. 另外,对于如何使用css在iFrame中获取元素的方法,我还不太了解。 But it can be done with js as described right here 但它可以用JS做的正确的描述在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM