homepage Welcome to WebmasterWorld Guest from 54.226.213.228
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
Forum Library, Charter, Moderators: not2easy

Site Graphics and Multimedia Design Forum

    
Custom cursor pointer?
Doood




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

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?

 

trismegisto




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

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.

Doood




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

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved