The current css i'm using to get custom cursors is:
BODY {
cursor: url(cursor.cur);
... etc. ...
}
and this gives me custom cursors fine, but when i roll over scrollbars - on the window, scrolling divs and iframes - it goes back to the default cursors defined by the user's pc.
Is there any way to change this?
Thanks.The cursor for the window scrollbar can not be changed.
For elements in the window try defining the cursor for them in the css;
div .box {cursor: url(cursor.cur);}wouldn't that just make all divs with a class name of box have that cursor? divs already use the cursor i want, but it changes back when you hover over scrollbarsFang is correct. The scrollbars are a part of the browser, and you can't change the cursor when mousing over them.Just a note: Even if you could, you shouldn't. Since scrollbars are part of the GUI of the system a webpage should not be able to alter them.
This also goes for coloring scrollbars with CSS (which isn't a standard, anyway).
// freakwell, ok i was just wondering wether it could be done for the scrollbars on iframes and the such
BODY {
cursor: url(cursor.cur);
... etc. ...
}
and this gives me custom cursors fine, but when i roll over scrollbars - on the window, scrolling divs and iframes - it goes back to the default cursors defined by the user's pc.
Is there any way to change this?
Thanks.The cursor for the window scrollbar can not be changed.
For elements in the window try defining the cursor for them in the css;
div .box {cursor: url(cursor.cur);}wouldn't that just make all divs with a class name of box have that cursor? divs already use the cursor i want, but it changes back when you hover over scrollbarsFang is correct. The scrollbars are a part of the browser, and you can't change the cursor when mousing over them.Just a note: Even if you could, you shouldn't. Since scrollbars are part of the GUI of the system a webpage should not be able to alter them.
This also goes for coloring scrollbars with CSS (which isn't a standard, anyway).
// freakwell, ok i was just wondering wether it could be done for the scrollbars on iframes and the such