简体   繁体   English

锚标签onimg周围的img标签在iphone iOs 9中不起作用

[英]Anchor tag onclick around img tag not working in iphone iOs 9

I have created a web page and added 2 links <a onclick=""> around image tags <img> , this seems to work fine on all operating systems and devices, except for iOS Mobile 9. Can some one please help me in the issue? 我已经创建了一个网页,并在图像标签<img>周围添加了2个链接<a onclick=""> ,这似乎在所有操作系统和设备上<a onclick="">正常运行,但iOS Mobile 9除外。问题?

I have already tried to add the style cursor: pointer to the link and also tried to put onclick in <img> tag but none of it works. 我已经尝试过添加样式cursor: pointer链接的cursor: pointer ,并且还尝试将onclick放在<img>标记中,但是没有一个起作用。

Since I don't have a MAC OS machine, I am not able to troubleshoot the issue as it can be replicated only on iPhone iOS 9 devices. 由于我没有MAC OS计算机,因此无法解决此问题,因为它只能在iPhone iOS 9设备上复制。

Page : http://www.zebrify.com/qr_events/141?qrhash=c2691670cfe74ba90b2ef7fe3b1dc0bf0e0eae61_EVT_141 页面: http : //www.zebrify.com/qr_events/141?qrhash=c2691670cfe74ba90b2ef7fe3b1dc0bf0e0eae61_EVT_141

Make Anchor display:inline-block; 使锚显示:内联块; its working then. 然后它的工作。 worked for me. 为我工作。

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

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