Script for Mailto link in footer of page with the URL of the page

[RH9]

I'm trying to place the following script in the footer of a master page. It produces script errors. Can anyone he set for me please?

I'm inserting two text and graphics versions below incase the text isn't displayed correctly.

mailto script.png

< p > < script type = "text/javascript" >

var mailSubject = "user feedback";

var mailBody = ' please leave this page in the message: "+ document.title + location.href;

var mailDisplay = "click here to send your comments to support.";

document. Write)

"" < a href = 'mailto:[email protected]' "

+ ' ? subject =' + escape (mailSubject)

+ "& body =' + escape (mailBody)"

+ ' "> ' + mailDisplay + '< /a >'"

) ; < /script > < / p >

http://forums.Adobe.com/message/3976683#3976683

At the above page, I found a script that seems to work pretty well even if it are the things about it, I don't understand (no wonder, but I make progress). For example, it contains a variable called mailDisplay which does not seem to do anything.

Tags: Adobe

Similar Questions

Maybe you are looking for