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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Greetings, First, is it possible

Status
Not open for further replies.

Draug

Programmer
Apr 18, 2001
77
CA
Greetings,

First, is it possible to change the cursor (in IE5+) to one that is not built in to the browser? Either with Javascript, or with Cascading Style Sheets???

I know how to change the cursor using the style="CURSOR: 'wait'" attribute. And I can change the cursor using style sheets. However, both methods only seem to work if the cursor that I am changing to is one of the dozen or so standard ones.

I want to change the cursor to the combination of an hourglass and the pointer. This is the cursor that Windows displays when an application is loading. I retrieved that wait_m.cur file from windows and tried to set my cursor to that file but it did not work.

How can I change the cursor to a custom icon? It only has to work in IE5+.

Thanks so much,
Draug
 
The W3C Spec on this issue is at this url:

An example taken from there would be:
P { cursor : url("mything.cur"), url("second.csr"), text; }

If IE supports this, then thats probably how it will work.
===
Supports Mozilla and Web Standards
Knows HTML/XHTML, CSS1, JavaScript, PHP, C++, DOM1
===
 
Hi,

First, sorry about forgetting to put in a subject header.

Trevman, I have tried that exact thing, but in IE 5 it does not work. I was told it does work in IE 6. I have tried files like:
myCursor.cur
myCursor.gif

Thanks,
Draug
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top