Home  >  Article  >  Web Front-end  >  使用jquery自定义鼠标样式满足个性需求_jquery

使用jquery自定义鼠标样式满足个性需求_jquery

WBOY
WBOYOriginal
2016-05-16 17:17:241204browse

1、浏览器自带的鼠标样式:
使用jquery自定义鼠标样式满足个性需求_jquery 
2、如果某些时候为了保持鼠标样式的统一,或者想指定特定的鼠标样式该怎么办呢?

复制代码 代码如下:

$('#divContainer').css('cursor', 'url(../Images/CrimeAnalysis/ThematicMap/grab.cur), move');

将移到某个div或者元素上的鼠标样式修改成某个指定的.cur文件就可以了。
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn