将光标更改为手指指针 [英] change cursor to finger pointer

查看:229
本文介绍了将光标更改为手指指针的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个 a ,我不知道我需要插入到onmouseover,以便光标将更改为手指指针像一个普通的链接:

I have this a and I don't know that I need to insert into the "onmouseover" so that the cursor will change to finger pointer like a regular link:

<a class="menu_links" onclick="displayData(11,1,0,'A')" onmouseover=""> A </a>

我读的地方,我需要:

onmouseover="cursor: hand (a pointing hand)"

但它不适合我。

此外,我不确定这是否被视为JavaScript,CSS或纯HTML。

Plus I'm not sure if this is considered JavaScript, CSS, or just plain HTML.

推荐答案

<a class="menu_links" onclick="displayData(11,1,0,'A')" onmouseover="" style="cursor: pointer;"> A </a>

这是css。

样式表:

a.menu_links { cursor: pointer; }

这篇关于将光标更改为手指指针的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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