sivant Posted November 1, 2005 Share Posted November 1, 2005 I'm trying to specify cursor type with url() and it doesn't work.I wrote:cursor: url("file:///C/WINDOWS/Cursors/something.cur");for working with cursor file existing on my local disk, but FireFox (in my case) didn't load it. When I wrote other cursor types it worked, e.g.cursor: help;What am I doing wrong? How can I use files with url() definitions? Link to comment Share on other sites More sharing options...
Paim Posted November 4, 2005 Share Posted November 4, 2005 http://www.w3schools.com/css/pr_class_cursor.asp Link to comment Share on other sites More sharing options...
sivant Posted November 5, 2005 Author Share Posted November 5, 2005 http://www.w3schools.com/css/pr_class_cursor.asp<{POST_SNAPBACK}> Thanks.I've read this, but the: cursor : url("first.cur");doesn't work for me... It does work when I write, for instance: cursor : help;Here's my userContent.css file that I use to customize FireFox behavior. FF reads it when it starts up:/* Change cursor for links that open in new window */:link[target=_blank], :visited[target=_blank],:link[target=_new], :visited[target=_new] { cursor: help;}What I really want is using some other cursor type, that I have in a .cur file, but I can't get it to work... Link to comment Share on other sites More sharing options...
boen_robot Posted November 5, 2005 Share Posted November 5, 2005 Can someone tell me why is the above page isolated and it's not visible in the CSS tutorial? What other "easter eggs" are there in this site?!?! Link to comment Share on other sites More sharing options...
F-Man Posted November 5, 2005 Share Posted November 5, 2005 Can someone tell me why is the above page isolated and it's not visible in the CSS tutorial? What other "easter eggs" are there in this site?!?!<{POST_SNAPBACK}> Because it's not part of the tutorial, it's part of the CSS2 reference. Go there and scroll down to cursor. Link to comment Share on other sites More sharing options...
F-Man Posted November 5, 2005 Share Posted November 5, 2005 sivant, please post your cursor file so we may test it. Maybe it's corrupted? Link to comment Share on other sites More sharing options...
sivant Posted November 13, 2005 Author Share Posted November 13, 2005 sivant, please post your cursor file so we may test it. Maybe it's corrupted?<{POST_SNAPBACK}> Here I re-post the content of the working version of the file:/* Change cursor for links that open in new window */:link[target=_blank], :visited[target=_blank],:link[target=_new], :visited[target=_new] {cursor: help;}The file is in my Win XP system as C:\Documents and Settings\<my_username>\Application Data\Mozilla\Firefox\Profiles\4bvayeer.default\chrome\userContent.cssNow, what I consistently failed to do, is to replace the cursor type from 'help' to using my own custom cursor file, by writing:cursor: url("some_valid_path_name_of_cursor_file");It just didn't work for me. If anyone manages to work this out, I'll be glad to get the details, and may be undestand what I am missing... Link to comment Share on other sites More sharing options...
Chocolate570 Posted November 13, 2005 Share Posted November 13, 2005 cursor: url("file:///C/WINDOWS/Cursors/something.cur");cursor: url("file:///C:/WINDOWS/Cursors/something.cur");Is that your mistake? Link to comment Share on other sites More sharing options...
sivant Posted November 14, 2005 Author Share Posted November 14, 2005 cursor: url("file:///C/WINDOWS/Cursors/something.cur");cursor: url("file:///C:/WINDOWS/Cursors/something.cur");Is that your mistake?<{POST_SNAPBACK}> No - that's not it. I tried that and various other combinations which I thought might have helped, but FF refuses to parse it... Link to comment Share on other sites More sharing options...
sivant Posted November 16, 2005 Author Share Posted November 16, 2005 Well.....After I entered the same topic on Mozilla FireFox forum, it turned out that url definition for cursor is only supported in version 1.5, and not in version 1.0.x that I have.For some reason, the page with the tip I followed didn't bother to mention that Link to comment Share on other sites More sharing options...
Chocolate570 Posted November 16, 2005 Share Posted November 16, 2005 Maybe because of the saying:"If at first you don't succeed, call it v 1.0" Link to comment Share on other sites More sharing options...
Leyrson Posted November 19, 2005 Share Posted November 19, 2005 I'm trying to specify cursor type with url() and it doesn't work.I wrote:cursor: url("file:///C/WINDOWS/Cursors/something.cur");for working with cursor file existing on my local disk, but FireFox (in my case) didn't load it. When I wrote other cursor types it worked, e.g.cursor: help;What am I doing wrong? How can I use files with url() definitions? <{POST_SNAPBACK}> cursor: url("/Windows/Cursors/something.cur"); try, if all right the problem is in your arquive(something.cur). sorry my bad english cursos: url("/Windows/Cursors/horse.ani"); If you have the something.cur arquive, Can use too url("%SYSTEMROOT%/Cursors/something.cur"); Link to comment Share on other sites More sharing options...
Jack McKalling Posted November 23, 2005 Share Posted November 23, 2005 Sorry if I don't get the point, but isn't it easier to just upload the file? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now