How to change the cursor pointer from arrow to hand?

V

Venkat

Hi,

I wrote this piece of html code
<p style='font-size:100%' title="His Name is Venkat">Your Name</p>
to display the text "Your Name" in my browser and also when u
take ur cursor to the text("Your Name") it shows a tooltip just below
the text saying "His Name is Venkat".

Usually the mouse pointer will be a arrow, is it possible to change
the pointer to show "hand" when i take my cursor to the text.

Regards
Venkat



Pre Defined Tags

Pre Defined T
 
M

Mark Parnell

Venkat said:
Hi,

Usually the mouse pointer will be a arrow, is it possible to change
the pointer to show "hand" when i take my cursor to the text.

cursor: pointer;

But then the user will think it is a link, so you should rethink why you
want to do that.
 
V

Venkat

Yes thats a good point that user may get confused.
My requirement is there should be some indication(changing
the cursor from pointer to any other symbol) to
user when he takes the mouse to the text so that it can
have his attention that their is some explanation about
that text provided as a tooltip.

Can we change the cursor from pointer to some other
X.gif image(when he moves his cursor to text)
assuming that i have got X.gif file located at "C:\images\X.gif".

Regards
Venkat
 
M

Mark Parnell

Venkat said:
My requirement is there should be some indication(changing
the cursor from pointer to any other symbol) to
user when he takes the mouse to the text so that it can
have his attention that their is some explanation about
that text provided as a tooltip.

Can we change the cursor from pointer to some other
X.gif image(when he moves his cursor to text)
assuming that i have got X.gif file located at "C:\images\X.gif".

You can change it to a custom cursor file
cursor : url("mything.cur");

but I'm pretty sure a gif file won't work. I don't know offhand of a
program that will allow you to create your own cursors, but I'm sure someone
here can help. brucie?

BTW: How am I supposed to post my replies in a newsgroup?:
http://allmyfaqs.com/faq.pl?How_to_post
 
K

Kris

cursor: pointer;

But then the user will think it is a link, so you should rethink why you
want to do that.

Yes thats a good point that user may get confused.
My requirement is there should be some indication(changing
the cursor from pointer to any other symbol) to
user when he takes the mouse to the text so that it can
have his attention that their is some explanation about
that text provided as a tooltip.[/QUOTE]

How about
cursor: help;
 
D

Danin

On Thu, 3 Jul 2003 15:57:34 +1000, "Mark Parnell"
| I don't know offhand of a program that will allow you to
| create your own cursors

Whether it will show depends on the browser. You could expand that for
compatibility to:

cursor: url("mycursor.cur"), url("mycursor.gif"), auto;

Icon editors such as Iconforge will do the .cur files, though -
www.cursorarts.com





- return address is altered slightly to reduce spam.
 
J

Jacques Koorts

Sorry I'm so late by replying, i've just started html,css and all this new
shit.

That cursor:pointer is that true css? My css editor complains about it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,905
Latest member
Kristy_Poole

Latest Threads

Top