使用css禁用工具提示 [英] Disable tooltips using css

查看:144
本文介绍了使用css禁用工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法禁用css中的< a> 标记的工具提示?

Is there a way to disable the tooltips of the <a> tag in css?

推荐答案

只需将此代码粘贴到HTML的底部即可。

just paste this code at the bottom of your html.

此代码使用jQuery:

this code uses jQuery:

$('.titleHidden').removeAttr('title');

那么你需要设置一个css类名 titleHidden 为您要隐藏其工具提示的每个 a 标签。

then you need set a css class name titleHidden for each a tag you want to hide its tooltip.

这篇关于使用css禁用工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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