I need a locally storable link-share javascript, along the lines of addtoany, addthis, sharethis. What are my options?
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$3 Answers
A nice jQuery one can be found at http://keith-wood.name/bookmark.html
An e-mail button requires a script on your backend to create the e-mail and send it off. This script can be written in any backend language like PHP, .NET, Ruby, or Python etc. but they all generally work the same.
1. A form is submitted from the HTML page containing variables like the senders e-mail address, custom message etc.
2. Your backend script recieves those variables and constructs an e-mail message.
3. The backed script sends the e-mail to the recipient specified by the user.
Example scripts:
PHP http://www.w3schools.com/PHP/php_mail.asp
.NET http://wiki.lessthandot.com/index.php/ASP.NET:_Send_an_email
If you're not able to access a backend to do something like this you can always use a mailto: link which will open the users e-mail program and pre-fill certain fields.
Here is how to build a mailto: link http://www.ianr.unl.edu/internet/mailto.html
The JavaScript needed to make this work is pretty basic. Here is the basic algorithm:
1. Create a form so the user can input recipient email address, message etc.
2. Capture the input as variables.
3. Set the users browser location (aka the address bar) to the mailto: link using the variables to fill in the email address and other information.
You can see a brief example of this here -> http://snipt.org/mZi
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$http://script.wareseeker.com/Flash/email-me-button.zip/329571140b
It doesn't use a third party email server, as it opens the user email client, but I think it serves the main purpose of what you are looking for.
Other options, I think are only available through programs like ShareThis: http://sharethis.com/
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$http://www.vivekmodi.com/2011/01/sending-mail-in-php/
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$