PDA

View Full Version : how to add mouse icon in web sites


wilbasket168
08-08-2003, 05:56 PM
i have some question, i recently create a new web site. i want to create a mouse cursor icon. everytime the user visit my sites the mouse cursor will change to my mouse coursor. isn't there any way to do this, and how to do it. do i need specific software to make the icon. and how would i be able to put in my web sites. thank you

miranda
08-08-2003, 06:05 PM
You can change a cursor using css, however if it is a custom cursor only those with that cursor loaded on their machine would be able to see it. If you make it a download, and tell the users which file to download it to, then they would be able to see the cursor.

Roy Sinclair
08-08-2003, 07:11 PM
<style type="text/css">
body
{
cursor: url('mouse.cur')
}
</style>


Place the cursor file into the same directory as your page or alter the url to point to where the cursor file is located.

Not every browser recognizes a cursor defined this way but those that do recognize it will work.

oracleguy
08-09-2003, 06:43 PM
However, you really shouldn't be changing the mouse cursor like that. It is the same kinda thing with not changing the color of the scrollbars.

The cursor is part of the user interface. For example, say someone doesn't have very good sight, so they may have turned on enlarged cursors to make it easier to find. Then if they try to visit your site, it will make it hard for them to use it.