Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 04-10-2008, 10:03 PM Changing Cursor
Banned

Posts: 2,898
Location: Canada
Trades: 0
I am trying to change the Cursor.

I added to *.css
body {
cursor: url(http://domain/images/finger.cur); }

but cursor wouldn't change

What I am doing wrong?


fastreplies
fastreplies is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-11-2008, 05:00 AM Re: Changing Cursor
akratellio's Avatar
Experienced Talker

Posts: 30
Location: Berlin Germany Europe World
Trades: 0
Hi fastreplies,

i guess cursor is limited to jpg or gif

mfg

akratellio
__________________
I'm always lying...
Ich lüge immer...

Please login or register to view this content. Registration is FREE
akratellio is offline
Reply With Quote
View Public Profile Visit akratellio's homepage!
 
Old 04-11-2008, 05:22 PM Re: Changing Cursor
angele803's Avatar
Perfectly Imperfect

Posts: 1,772
Name: Stephanie
Location: Oklahoma
Trades: 2
the .cur is the correct extension, but I am not sure it will work in all browsers. I think it might only work in IE. Also, you might try adding quotes around the url, so it would look like:
body {
cursor: url("http://domain/images/finger.cur");
}
__________________

Please login or register to view this content. Registration is FREE
angele803 is offline
Reply With Quote
View Public Profile
 
Old 04-12-2008, 04:03 AM Re: Changing Cursor
Banned

Posts: 2,898
Location: Canada
Trades: 0
Thanks Stephanie

I tried both ways but it wouldn't work anyway

More suggestions?




fastreplies
fastreplies is offline
Reply With Quote
View Public Profile
 
Old 04-12-2008, 09:23 AM Re: Changing Cursor
Gilligan's Avatar
Website Designer

Posts: 1,670
Name: Stefan
Location: London, UK
Trades: 0
Quote:
Originally Posted by W3Schools
The url of a custom cursor to be used.
Note: Always define a generic cursor at the end of the list in case none of the url-defined cursors can be used
p
{
cursor : url("first.cur"), url("second.cur"), pointer
}
__________________

Please login or register to view this content. Registration is FREE
Gilligan is offline
Reply With Quote
View Public Profile
 
Old 04-12-2008, 10:41 AM Re: Changing Cursor
Webmaster Talker

Posts: 560
Trades: 0
Try doing this in your case:

HTML Code:
body {
cursor: url("images/finger.cur"); 
}
Matt
__________________

Please login or register to view this content. Registration is FREE

Last edited by 170 Designs; 04-12-2008 at 10:42 AM..
170 Designs is offline
Reply With Quote
View Public Profile
 
Old 04-12-2008, 11:31 AM Re: Changing Cursor
Gilligan's Avatar
Website Designer

Posts: 1,670
Name: Stefan
Location: London, UK
Trades: 0
thats what he already done
__________________

Please login or register to view this content. Registration is FREE
Gilligan is offline
Reply With Quote
View Public Profile
 
Old 04-12-2008, 11:49 AM Re: Changing Cursor
Webmaster Talker

Posts: 560
Trades: 0
Gilligan,
He used the absolute URL to point to the image, so the location he is referring to may not be correct. The way I listed it, it does not have to deal with this.

I was clarifying for the poster, since I do not know his experience level. Your code posted was more generic than mine, I just edited it to his particular case, as I mention in my post.

Matt
__________________

Please login or register to view this content. Registration is FREE
170 Designs is offline
Reply With Quote
View Public Profile
 
Old 04-12-2008, 12:16 PM Re: Changing Cursor
Banned

Posts: 2,898
Location: Canada
Trades: 0
170 Designs

Thanks for suggestion but I tried that before.

Should I mention that change I am trying to make will be used in phpBB3 prosilver style Forum?

Gilligan

I'm not sure about your code
First cursor is default one used by IE and second, I'm trying to replace the first one.


fastreplies
fastreplies is offline
Reply With Quote
View Public Profile
 
Old 04-12-2008, 12:24 PM Re: Changing Cursor
Webmaster Talker

Posts: 560
Trades: 0
Quote:
Originally Posted by fastreplies View Post
170 Designs

Thanks for suggestion but I tried that before.

Should I mention that change I am trying to make will be used in phpBB3 prosilver style Forum?

fastreplies

So, you are sure the image location of the cursor (.cur) is correct then?

Matt
__________________

Please login or register to view this content. Registration is FREE
170 Designs is offline
Reply With Quote
View Public Profile
 
Old 04-12-2008, 02:19 PM Re: Changing Cursor
Banned

Posts: 2,898
Location: Canada
Trades: 0
Quote:
Originally Posted by 170 Designs View Post
So, you are sure the image location of the cursor (.cur) is correct then?

Matt
See for yourself (no offence intended )
http://www.middlefingeraward.com/images/finger.cur


fastreplies
fastreplies is offline
Reply With Quote
View Public Profile
 
Old 04-12-2008, 05:37 PM Re: Changing Cursor
Gilligan's Avatar
Website Designer

Posts: 1,670
Name: Stefan
Location: London, UK
Trades: 0
haha, love it

not sure how things work with phpbb3 and customization. Try randomly creating a html page using this style, see if that works first.
__________________

Please login or register to view this content. Registration is FREE
Gilligan is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Changing Cursor
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.51910 seconds with 12 queries