#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    Honolulu, Hawaii
    Posts
    60
    Rep Power
    12

    custom cursor CSS


    I found two different sytlesheets for displaying custom cursors on my website and they both worked on my computer with IE 6.0. But neither of them worked on the site after I uploaded the new cursor files.

    Here's the whole stylesheet:

    <style>
    <!--
    a{text-decoration:none}
    A:hover {
    CURSOR:url(redhand.cur);
    color:red;
    text-decoration:none;
    background-color:yellow;
    }
    BODY{
    CURSOR:url(redarrow.cur);
    scrollbar-face-color:'#000000';
    scrollbar-arrow-color:'#FFFF00';
    scrollbar-track-color:'#408080';
    scrollbar-shadow-color:'#FF8000';
    scrollbar-highlight-color:'#FF8000';
    scrollbar-3dlight-color:'#FF8000';
    scrollbar-darkshadow-Color:'#000000';
    }
    -->
    </style>

    I've tried putting the cursor filename in double and single quotes, using the full URL path in quotes, etc. All work on my computer, but none on the website. What's wrong?
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    Bussigny, Switzerland
    Posts
    8
    Rep Power
    0
    CURSOR:url(redarrow.cur); means that the image must be in the same directory as the css file. If not, you have to set the path from the css file.

    wimb
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    Honolulu, Hawaii
    Posts
    60
    Rep Power
    12
    Originally posted by wimb
    [B]CURSOR:url(redarrow.cur); means that the image must be in the same directory as the css file. If not, you have to set the path from the css file.
    The CSS is not a file, it's in the <head> section of the HTML. And the cursor image files are in the same directory as the index.html. Why does this work on my computer and not on Netfirms?
  6. #4
  7. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2003
    Posts
    804
    Rep Power
    101
    On a different note, I am interested in supressing the mouse pointer altogether (so it doesn't appear on an overhead projector). Does anyone know how to do this?
  8. #5
  9. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2003
    Posts
    804
    Rep Power
    101
    Does IE 5.50 support a url() cursor?
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    Honolulu, Hawaii
    Posts
    60
    Rep Power
    12
    Originally posted by Clone53421
    Does IE 5.50 support a url() cursor?
    No. As far as I know, the custom cursor feature started with IE 6.0.
  12. #7
  13. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2003
    Posts
    804
    Rep Power
    101
    Oh. Well I'll have to check the version on the computer I'll be using then. It might be newer. But what I had in mind won't work when I test it on my home computer. I was intending to make a blank cursor (nothing visible) so the mouse wouldn't interfere with the display on an overhead projector.

    No biggie. Thx for the info.
  14. #8
  15. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    Singapore
    Posts
    6
    Rep Power
    0
    I tried the stylesheet as stated in post 1, however, there is error which states syntax error in the status bar of the Windows (IE6). How do I remove that error or issit a BUG ??
  16. #9
  17. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    Honolulu, Hawaii
    Posts
    60
    Rep Power
    12
    Originally posted by birnerd
    I tried the stylesheet as stated in post 1, however, there is error which states syntax error in the status bar of the Windows (IE6). How do I remove that error or issit a BUG ??
    Must be a bug because that code works fine now with my IE 6.0. All I had to do was move the page to a web host that had no banners. The banner code on the original site wrapped the stylesheet in its HTML, which is why the cursors wouldn't display.
  18. #10
  19. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    Singapore
    Posts
    6
    Rep Power
    0
    wad host you using?? I using Geocities.

    The cursors would display, but there is syntax error in the status bar, which says Line 2, Char 29. any scripts to catch such errors or changes in the css ??
  20. #11
  21. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    Honolulu, Hawaii
    Posts
    60
    Rep Power
    12
    Originally posted by birnerd
    wad host you using?? I using Geocities.

    The cursors would display, but there is syntax error in the status bar, which says Line 2, Char 29. any scripts to catch such errors or changes in the css ??
    The Geocities floating ad may be the source of your error. I use Brinkster, free web hosting without banners or ads of any kind.
  22. #12
  23. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    Singapore
    Posts
    6
    Rep Power
    0
    Sorry to digress from the topic, is brinkster better in terms of bandwith then Geocities??
  24. #13
  25. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    Honolulu, Hawaii
    Posts
    60
    Rep Power
    12
    Originally posted by birnerd
    Sorry to digress from the topic, is brinkster better in terms of bandwith then Geocities??
    I have no idea since I have never had to worry about bandwidth issues at any of my sites. You can find the answer to your question at http://www.brinkster.com
  26. #14
  27. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    Singapore
    Posts
    6
    Rep Power
    0
    thanks, my problem was solved. Mine was more of an informative site, hence was always down in Geocities.. need two accounts to distribute traffic...

IMN logo majestic logo threadwatch logo seochat tools logo