...

View Full Version : Stop Cursor Changing On Hyperlinks?



reddevil
04-09-2003, 12:00 PM
Hi, can someone please give me a script to stop the cursor from changing when on a hyperlink? i.e. it always changes to that pointing hand, and i don't want it to. Thanx :thumbsup:

brothercake
04-09-2003, 12:04 PM
Why don't you want it to?

reddevil
04-09-2003, 12:11 PM
Originally posted by brothercake
Why don't you want it to?

cos i have a little red cursor with a document crosshair. check this link.....i don't like it changing :(

http://www.freewebs.com/bhalsod/home.htm

brothercake
04-09-2003, 12:37 PM
The cursor change is important; I strongly advise against messing with it.


But it's your choice - you can apply your body cursor also to <a>:

<style type="text/css">
body,a{
cursor: url(cursor3.cur);
}
</style>

reddevil
04-09-2003, 12:49 PM
Originally posted by brothercake
The cursor change is important; I strongly advise against messing with it.


But it's your choice - you can apply your body cursor also to <a>:

<style type="text/css">
body,a{
cursor: url(cursor3.cur);
}
</style>


thanx for the help, but why do u advise against messing with it?

x_goose_x
04-09-2003, 12:53 PM
You'll confuse your visitors. Unless that's what you want, maybe for a game or something?

brothercake
04-09-2003, 12:55 PM
Yeah, that's why. Cursors signify different meanings - text cursor for selectable text, pointer for links, and so on. It's better not to mess with that because people often rely on the cursor to tell them what they can interact with and how.

You do do a very obvious colour change onrollover, and that certainly helps, but all the same, I wouldn't do it personally.

reddevil
04-09-2003, 12:56 PM
Originally posted by x_goose_x
You'll confuse your visitors. Unless that's what you want, maybe for a game or something?

well i have mouseover text color change for the links.....I still can't get this to work by the way. say if I have another cursor, cursor1.cur. How can I make the cursor change to this on a hyperlink. Please can I get the exact code from someone, because I am a newbie at this. thanx

x_goose_x
04-09-2003, 01:10 PM
<style type="text/css">

body {
cursor: url(cursor.cur);
}

a {
cursor: url(cursor2.cur);
color: blue;
}

a:hover {
color: red;
}

</style>

reddevil
04-09-2003, 01:12 PM
Originally posted by x_goose_x


<style type="text/css">

body {
cursor: url(cursor.cur);
}

a {
cursor: url(cursor2.cur);
color: blue;
}

a:hover {
color: red;
}

</style>



thanx....where do i place it?

reddevil
04-09-2003, 01:15 PM
dont worry, i sorted it, thanx a lot!

reddevil
04-09-2003, 01:39 PM
whenever i scroll over a hyperlink now, the busy cursor appears before it changes to a differnet cursor. is there any way to stop this? :confused:

brothercake
04-09-2003, 07:00 PM
Maybe it's reloading the cursor image every time; IE has a number of bugs to do with continual image reloading. Might be that - can you upload your in-progress to that URL so we can see what's happening.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum