Link to home
Start Free TrialLog in
Avatar of elieazzi
elieazziFlag for United States of America

asked on

location.href --> mailto... how ?

Hello Experts,

Into the contact i want the mailtoo how can i fix that ?

<DIV class=item
            onmouseover="showMenu(this, -1, 'iportfolio_right', 'icontact_us_right');"
            onmouseout="hideMenu(this, -1, 'iportfolio_right', 'icontact_us_right');"
            onclick="location.href='info@abc.com'">Contact
            Us</DIV>
Avatar of rati_ge
rati_ge
Flag of Georgia image

Hallo
All you need to do is to declare you href in this way

<a href="mailto:recipient@somedomain.com">SenMail</a>

Do not forget to mark this post as useful.
this is the right code for your request:

<a href="mailto:info@abc.com">Contact Us</a>

bty: the rest of the code is wrong too!

look here to get more familiar with html:

http://www.w3schools.com/
and java script of course ;)
ASKER CERTIFIED SOLUTION
Avatar of Pieter Marais
Pieter Marais
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of elieazzi

ASKER

Thank you.