Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OnMouseOver

Status
Not open for further replies.

zzfive03

Programmer
Joined
Jun 11, 2001
Messages
267
I have a Javascript command that executes when I click on a text within my <span>.....</span> area. However, I want my users to know that something will happen if they are pointing to that area of the screen.

Can I do a OnMouseOver funciton that will turn the cursor into the URL hand? If so, how would I go about doing this?

Thanks in advance.
MH
 
Hi

Just add:

href=&quot;#&quot;

in the &quot;A&quot; code. So it will be something like:

Code:
<span><a href=&quot;#&quot; onCLick=&quot;javascript:something()&quot;>text</a></span>

Hopefully that should do the trick Derren
[The only person in the world to like Word]
 
or <span style=&quot;cursor:hand;&quot;></span>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top