By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,288 Members | 1,695 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,288 IT Pros & Developers. It's quick & easy.

Getting an index-finger-pointer

P: n/a
Greetings. (newbie apologies...) In FF, in

<SCRIPT LANGUAGE="JavaScript">
function whatever() { alert('whatever'); }
</SCRIPT>
<A HREF="javascript:whatever()">Clickable One</A>
<P><A onClick="whatever()">Clickable Two</A></P>
<P onClick="whatever()">Clickable Three</P>

when the pointer hovers over Clickable One it changes to a hand
with pointing index-finger, which indicates to the user that this
text is clickable. But over Clickable Two and Clickable Three,
the pointer only changes to a thin-I, intended to be used in
highlighting text; this is less helpful to the user.

What's the way to get a index-finger-pointer for Clickable Two and
Clickable Three?
Is there something that I should be doing with onMouseOver ?

Regards, Peter

--
Peter Billam www.pjb.com.au www.pjb.com.au/comp/contact.html
Aug 14 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Peter Billam meinte:
Greetings. (newbie apologies...) In FF, in

<SCRIPT LANGUAGE="JavaScript">
function whatever() { alert('whatever'); }
</SCRIPT>
<A HREF="javascript:whatever()">Clickable One</A>
<P><A onClick="whatever()">Clickable Two</A></P>
<P onClick="whatever()">Clickable Three</P>

when the pointer hovers over Clickable One it changes to a hand
with pointing index-finger, which indicates to the user that this
text is clickable. But over Clickable Two and Clickable Three,
the pointer only changes to a thin-I, intended to be used in
highlighting text; this is less helpful to the user.

What's the way to get a index-finger-pointer for Clickable Two and
Clickable Three?
Is there something that I should be doing with onMouseOver ?
Wrong NG. You are looking for the css property "cursor". In your case
"cursor: pointer".

Gregor

--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum
Aug 14 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.