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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

little hand for a link

Status
Not open for further replies.

hooger

Programmer
Feb 15, 2002
4
CA
Hi!

I have a link like that :

<a onclick=&quot;Soumettre()&quot;><font face = &quot;Tahoma&quot; size = &quot;2&quot;><u>Show
détails</u></font></a>
...
function Soumettre()
{
document.form1.submit();
}
...
The problem is that when a user put the mouse over the link, the little hand
is not displayed and &quot;Show details&quot; doesn't seem to be a link. Is there a
way to display the little hand without specifying a href????

Thanks,

Melanie
 
You need the href but you dont have to give it a value. Just use href=&quot;&quot; or href=&quot;_self&quot;
 
haven't you forgot something?
<a href=url>link</a> Victor
 
oops.. **ed up again.. :)

i'm veeery slow person Victor
 
also if you have something that you want a hand over you can add a little CSS bit.... style=&quot;cursor:hand(or crosshair or whatever you want)&quot;
 
Hi Melanie,

I don't think the href=&quot;&quot; or href=&quot;_self&quot; will work, but the style=&quot;cursor: hand&quot; will.

You can make it look like a real link with text-decoration.

<a onclick=&quot;Soumettre()&quot; style=&quot;cursor: hand; text-decoration: underline;&quot;>

Erik
 
Just because this thread needs one more suggestion:

<a href=&quot;javscript:history.void()&quot; onClick=&quot;Soumettre()&quot;>

(this takes care of messing up the browser history)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top