PDA

View Full Version : changing cursor on links.


atalante
08-05-2002, 10:17 PM
Hi, I already have a code that changed the appearance of my cursor;

BODY{
cursor: crosshair;
}
</style>

Now I would like to know if anyone can help me find a code to change the cursor when i go over a link.

Thanks:D

jkd
08-05-2002, 10:26 PM
Change the "body" tag selector to "a"

Roy Sinclair
08-05-2002, 10:26 PM
a { cursor: wait; }

boxer_1
08-06-2002, 01:02 AM
You can also set the cursor style from within the anchor:

<a href="blah.html" style="cursor: help;">Your Link</a>

sjc_unique
08-06-2002, 03:51 PM
Dont suppose anyone can give me a list or link to a list that has the different kinds of cursors and their codenames (ie crosshair, hair, help, wait etc)

thanks.

ps. or is there anyway to design your own ones (jpgs or gifs) and set them up to use???

totalhosting
08-06-2002, 05:19 PM
Something like this:
http://www.yourhtmlsource.com/stylesheets/csscursors.html :D

HTH

Pete

Roy Sinclair
08-06-2002, 06:56 PM
ps. or is there anyway to design your own ones (jpgs or gifs) and set them up to use???

a {cursor url(insert url to cursor file here ); }

boxer_1
08-06-2002, 07:12 PM
You can download a collection of custom cursors from the link near the bottom of this page (http://www.dynamicdrive.com/dynamicindex11/customcursor.htm) (Quiet Storms collection of .cur images).