How to make this transfer the copied text with the formatting...
Not a programmer at all. Played with some scripting a few years back, but I was wondering how to get this to send the selected text to the email message with the correct formatting and not just crunched together plain text..
//Very simple indeed! Translated into English:
//The variable "getText" is equal to the selected text in the browser window;
//Redirect the user to a new mail message where the body equals the variable "getText."
function sendstory() {
var getText=window._content.window.getSelection();
var getTitle=window._content.document.title;
var getURL=window._content.document.URL;
location="mailto:?subject="+getTitle+"&body="+getRichtext+" -- "+getURL;
}
//Very simple indeed! Translated into English:
//The variable "getText" is equal to the selected text in the browser window;
//Redirect the user to a new mail message where the body equals the variable "getText."
function sendstory() {
var getText=window._content.window.getSelection();
var getTitle=window._content.document.title;
var getURL=window._content.document.URL;
location="mailto:?subject="+getTitle+"&body="+getRichtext+" -- "+getURL;
}
Frank
May 1,