Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 13 of 13
  1. #1
    New to the CF scene
    Join Date
    Apr 2003
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Stop Cursor Changing On Hyperlinks?

    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

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Why don't you want it to?
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark

  • #3
    New to the CF scene
    Join Date
    Apr 2003
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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>
    Last edited by brothercake; 04-09-2003 at 12:39 PM.
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark

  • #5
    New to the CF scene
    Join Date
    Apr 2003
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?

  • #6
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You'll confuse your visitors. Unless that's what you want, maybe for a game or something?

  • #7
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark

  • #8
    New to the CF scene
    Join Date
    Apr 2003
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #9
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Code:
    <style type="text/css">
    
    body {
      cursor: url(cursor.cur);
    }
    
    a {
      cursor: url(cursor2.cur);
      color: blue;
    }
    
    a:hover {
      color: red;
    }
    
    </style>

  • #10
    New to the CF scene
    Join Date
    Apr 2003
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by x_goose_x
    Code:
    <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?

  • #11
    New to the CF scene
    Join Date
    Apr 2003
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    dont worry, i sorted it, thanx a lot!

  • #12
    New to the CF scene
    Join Date
    Apr 2003
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?

  • #13
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •