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

how do I make it look like a link?

Status
Not open for further replies.

taval

Programmer
Jul 19, 2000
192
GB
I currenly have this piece of code in my program:

<a onclick&quot;deleteFunction();&quot;> delete </a>

the deleteFunction links to a page using javascript if the user confirms. The problem is the text does not look like a link, is there any way of making a link that does nothing but looks like a link so that users does not mistake the link for text.

Grateful for any help thanks.


 
Why don't you format the text so that it is underlined and blue.

eg
<font color=&quot;blue&quot;><u><a onclick&quot;deleteFunction();&quot;> delete </a></u></font>

Hope this helps!
 
Thats a good idea, and it will help, thanks.
But what about the change of color once the link has been visited?

 
oh yeah, and the hand doesn't pop over the link.
 
you should just try

<a href=&quot;javascript:yourfunction();&quot;>The Text</A>
 
Thanks wood and karl,

The last post works just fine.

:}

Taha
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top