-
mailto body javascript
I have written a code that will place an email button on each post I create on blogger. I need the body of the email to load with the url of the page from which it originiated. I have written the button's code in blogger's template therefore no code relating to the post resides on each individual post. I need the email element to deal with a variable and generate the right url to go into the email.
Does anyone know if this is possible?
-
-
Can you explain in more detail? I don't understand the situation.
I do not believe this is possible in Javascript (since JS can't send emails), but you may be able to do it with a serverside language like PHP. At least I think that's what you're asking about...
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
-
The code
The code in the blogger template is:
<a href='mailto:52parallelnorth+discountreview@gmail.com?subject=Discount%20Review&Body=I would like for the url to be generated here...'><img src='http://farm5.static.flickr.com/4075/4853780771_bbf132e129_o.gif' width='250'/></a>
I really have very little knowledge about codes except the above basic html so have no clue as to whether it would indeed be javascript or php or other that I would need. Have you any ideas?
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks