I have cobbled together some code from two different posts in the forum to add an 'Email a Friend' link for all products. The code is:
<!-- Begin
var thisloc=location.href + '#NETQUOTEVAR:PRODUCTANCHOR';
document.write('<b><SPAN class="actxxsmall">Send </SPAN><A HREF=\"mailto:\?body\=Take a look at this page I found at ' + document.title + '. You can see this item by clicking : ' + thisloc + '\" onMouseOver="window.status=\'E-Mail this item to a friend\'; return true" TITLE="Send your friends e-mail about this page"><SPAN class="actxxsmall">this page</SPAN><\/A> <SPAN class="actxxsmall">to a friend</SPAN></b>');
// End -->
My question is where do I add the ?subject part so I can give the email a subject rather than just a body?
<!-- Begin
var thisloc=location.href + '#NETQUOTEVAR:PRODUCTANCHOR';
document.write('<b><SPAN class="actxxsmall">Send </SPAN><A HREF=\"mailto:\?body\=Take a look at this page I found at ' + document.title + '. You can see this item by clicking : ' + thisloc + '\" onMouseOver="window.status=\'E-Mail this item to a friend\'; return true" TITLE="Send your friends e-mail about this page"><SPAN class="actxxsmall">this page</SPAN><\/A> <SPAN class="actxxsmall">to a friend</SPAN></b>');
// End -->
My question is where do I add the ?subject part so I can give the email a subject rather than just a body?
Comment