Is it possible to disable tooltips for links?

与世无争的帅哥 提交于 2019-12-30 13:23:42

问题


I don't have any title or alt tags set on my links so IE10 uses the href content for tooltips when I hover or click and hold a link. I've been looking around but I can't find any solutions for overriding this functionality.

Update:

I've figured a solution for another problem I've had. When you touched and held, a weird square would pop up. To fix that I used this line of code.

document.addEventListener("MSHoldVisual", function(e) { e.preventDefault(); }, false);

I'm still trying to find a solution to disable the tooltip for touch actions.

来源:https://stackoverflow.com/questions/17790768/is-it-possible-to-disable-tooltips-for-links

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!