I'm looking for some java script which will help me perform the the following function:-
I want to have a 'mail this page to a friend button on each of my pages which automatically opens up a new e-mail in the users microsoft outlook and insets the page url in the body of the e-mail (using the mailto: function).
I know you would insert a link like this:
<a href="mailto:?subject=send a page url&body=URL of current page">Send this page
to a friend</a>
BUT: Is there any way that I can do this (possibly using a JS function) that would automatically enter the URL of the 'current page' into body= , rather that hand coding it for every page?
I've got over 600 page so handcoding would be a real chore!