Welcome to WebmasterWorld Guest from 54.166.46.226

Forum Moderators: not2easy

Message Too Old, No Replies

Custom cursor pointer?

   
2:53 am on Aug 7, 2003 (gmt 0)

10+ Year Member



Just for fun, can I make a custom cursor pointer for my site? And could it be only used on one page?

Do I just enter it in the html or how can I do it?

12:37 pm on Aug 7, 2003 (gmt 0)

10+ Year Member



Hi Doood

You could use CSS, the cursor [w3.org] property. I havenít tested myself, but it is suppose to accept an URI for the user agent to download the cursor.

* {cursor: url(mycursor.cur);}

Hope it helps. Let us know if it worked.

5:15 pm on Aug 8, 2003 (gmt 0)

10+ Year Member



It worked! Had to add a:hover like this

<style type="text/css">
<!--
body {
cursor: url("arrow.cur") ;
}
a:hover {
cursor: url("black.cur") ;
}
-->
</style>

the only problem is that there is a split second where it has to locate the rollover image (black.cur)for links and in that split second you slighly see the default cursor with a sand timer.

Not sure if I'll use it, just wanted to see if it could be done and actually work.

I'd show you what it looks like but I don't think they allow it on this forum.