button for email link

Results 1 to 2 of 2

Thread: button for email link

  1. #1
    Join Date
    Dec 1969

    Default button for email link

    I want to use a button instead of a text link for an email address. This is what I have:<BR><BR>&#060;a href="mailto:me@mydomain.com"&#062;&#060;input type="button" Value="Contact"&#062;&#060;/a&#062;<BR><BR>When I click the button, nothing happens. Is it possible to even do this?

  2. #2
    Join Date
    Dec 1969

    Default RE: button for email link

    &#060;input onclick="self.location.href=&#039;mailto:me@mydoma in.com&#039;" type="button" Value="Contact"&#062;<BR><BR>you can&#039;t wrap a button in a link. that coide MIGHT work, but this is a pretty duff solution anyway<BR><BR>1. it&#039;s a spamtrap<BR>2. what about users in internet cafes, or with only web-based email?<BR><BR><BR><BR>j<BR>http://rtfm.atrax.co.uk/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts