Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- Prompting for a Subject using Mailto


Marshall - 7:21 pm on Feb 6, 2012 (gmt 0)


This is a script I have seen used in web pages. Not sure if/how you could adapt it for your purpose.

<!-- Begin

function isPPC() {

if (navigator.appVersion.indexOf("PPC") != -1) return true;

else return false;

}

if(isPPC()) {

document.write('A HREF=\"mailto:\?subject\=Take a look at this page I found, ' + document.title + '?body=You can see this page at: ' + window.location + '\" OnMouseOver="status=\' \'; return true;" TITLE="Send your friends an e-mail about this page">Email this page to a friend<\/A>');

}

else { document.write('<A HREF=\"mailto:\?body\=Take a look at this page I found, ' + document.title + '. You can see this page at: ' + window.location + '\" OnMouseOver="status=\' \'; return true;" TITLE="Send your friends an e-mail about this page">Email this page to a friend<\/A>');

}

// End -->

</script>

Marshall


Thread source:: http://www.webmasterworld.com/html/4414306.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com