troubleshooting Question

Add mail icon to existing button code

Avatar of rtod2
rtod2Flag for United States of America asked on
JavaScriptHTMLWordPress
4 Comments1 Solution343 ViewsLast Modified:
I have the following button code which produces the Email button shown here http://www.frugalmule.com/sandbox/.  What I need now is to add a little mail icon to the left of the word email so that the button is more consistent with the Tweet and Like buttons shown above the page.  Assistance is greatly appreciated.
<script type="text/javascript">// <![CDATA[
function getTitle(){
var subOFEmail=document.title;
var bodyOfEmail= window.location.href;
window.location.href='mailto:'+""+'?subject='+subOFEmail+'&body='+bodyOfEmail;
}
// ]]></script>
<input onclick="javascript:getTitle();" type="button" style="font-size:small" title="Pass It On" value="Email" />
ASKER CERTIFIED SOLUTION
Sudaraka Wijesinghe
Web Application Programmer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros