rtod2
asked on
Add mail icon to existing button code
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great stuff! Care to help with this one >> https://www.experts-exchange.com/questions/27433458/Move-button.html
Glad to help. Thanks for the points.
ASKER