The website mouse changes the change!

Source: Internet
Author: User
Now the design of the Web page pay attention to the overall unified style, whether it is the text of the page, image, or browser scroll bars are required to color and style consistent. But a lot of friends on the Web page does not change the appearance of the mouse to feel distressed, I will introduce two ways to change the mouse on the Web page:

first, using CSS (cascading style Sheets, cascading style sheet) method

First of all, to create or find a suitable web-style mouse, I use the mouse is Weste.ani and Weste2.ani, in the two files to the Web site folder Ani, and then in your Web page file between the code:

When you browse the Web again, you will find that the mouse display of the Web page has changed. When the mouse hovers over the link, display the Weste2.ani appearance, other times show Weste.ani.
Principle: In fact, this approach utilizes a cursor attribute Cursor:url (URL) of CSS2, which can use JPG, GIF, ANI, and cur multiple file formats. This is a way to be noted only in browsers above IE5.5.

second, the use of Third-party control methods

This is a simple way to add the following code to the of the Web page file:



After the modification, the browser will pop up a "Security Settings warning", click "Yes", the system automatically installs the control, the mouse can be displayed according to your needs.
So, how can you choose the mouse style you need? First landing site http://www.cometzone.com, this site has 14 large classes of more than 4,000 kinds of mouse, the content is very wide, the mouse file is also very beautiful, you can choose from the category according to the needs of the mouse, Click on the corresponding mouse picture can be previewed to different effects.
After selecting the mouse, click on the left navigation of the page "Get CURSOR Code" link, go to the next page, and then click the "Select CODE" button, the button in this multiline text box inside the content is the code I provided above, but the code in the Thecometcursor (' Cd_ Electric ', 0,626 is different, the display of the mouse state is also different.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.