Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

making your own cursor

Status
Not open for further replies.

KryptoS

Programmer
Feb 7, 2001
240
BE
Hey,

I want my own cursor on my website. I know it's something like this: cursor:url("mycursor.cur"); ... but I can't figur out how I can change the cursor when the page is loaded, you know something with hour-glass (or how do we call that in english).

The One And Only KryptoS
 
You will need to assign that value to an element on a page. In your case I would suggest the body:
Code:
<style type="text/css">
 body {
    cursor: url("mycursor.cur"), default;
 }
</style>
Remember to put a generic cursor type at the end so that if the client's browser cannot download your specific cursor it will get the correct one.
 
yes, I know that one. But I want to change the hour-glass. When you click eg a link and the page needed to be loaded a few seconds, normally the cursor changes to a hour-glass. I want to change that one.

The One And Only KryptoS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top