Home > Web Front-end > JS Tutorial > body text

Use jquery to customize mouse styles to meet individual needs_jquery

WBOY
Release: 2016-05-16 17:17:24
Original
1257 people have browsed it

1. The mouse style that comes with the browser:
Use jquery to customize mouse styles to meet individual needs_jquery
2. What should you do if you want to keep the mouse style unified or want to specify a specific mouse style?

Copy code The code is as follows:

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

Modify the mouse style moved to a certain div or element to a specified A .cur file will do the trick.
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!