gpt4 book ai didi

javascript - 更改网页中的鼠标指针

转载 作者:太空狗 更新时间:2023-10-29 13:33:28 26 4
gpt4 key购买 nike

我使用 html 创建了一个框架

<frame></frame>

标签。有没有一种方法可以在鼠标进入框架时更改鼠标指针。

最佳答案

You may find here.

这是光标的 css。

尝试:

<frame style="cursor:auto"></frame>

除了 auto 之外,您还可以使用以下任何一种:

auto    Default. The browser sets a cursor
crosshair The cursor render as a crosshair
default The default cursor
e-resize The cursor indicates that an edge of a box is to be moved right (east)
help The cursor indicates that help is available
move The cursor indicates something that should be moved
n-resize The cursor indicates that an edge of a box is to be moved up (north)
ne-resize The cursor indicates that an edge of a box is to be moved up and right (north/east)
nw-resize The cursor indicates that an edge of a box is to be moved up and left (north/west)
pointer The cursor render as a pointer
progress The cursor indicates that the program is busy (in progress)
s-resize The cursor indicates that an edge of a box is to be moved down (south)
se-resize The cursor indicates that an edge of a box is to be moved down and right (south/east)
sw-resize The cursor indicates that an edge of a box is to be moved down and left (south/west)
text The cursor indicates text
w-resize The cursor indicates that an edge of a box is to be moved left (west)
wait The cursor indicates that the program is busy

关于javascript - 更改网页中的鼠标指针,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14807868/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com