悬停不适用于IPAD [英] Hover not working on IPAD

查看:106
本文介绍了悬停不适用于IPAD的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在开发具有响应能力的网站.
我的问题是,当我将光标移到图像(悬停)上时,它需要显示文本作为工具提示.
当我使用鼠标或移动鼠标指针时,此方法工作正常.
但它在IPAD中不起作用.如果我单击图像"工具提示文本,而不是在悬停上.

请帮助我解决此问题.

问候,
如注释中所述,平板电脑没有悬停事件,因为它是触摸屏.改为实施onclick.


Hi,
I am developing site which is responsive.
my problem is, when i move the cursor on image(hover), it need to display text as tooltip.
this works fine when i use mouse or move the mouse pointer.
but it doesn''t work in IPAD. if i click the image it tooltip text, but not on hover.

Please help me to resolve this issue.

Regards,
Lalitha

解决方案

As mentioned in comments, tablets do not have the hover event because it is touch screen. Implement the onclick instead.


这篇关于悬停不适用于IPAD的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆