E-Mail This Page 2 | JavaScriptSource

E-Mail This Page 2

JavaScriptSource Staff Jul 25, 2007

General

Let your visitors recommend your Web site to their friends. (Requires the use of your visitor's e-mail client.)


Email This Page!

Notes

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: emailThisPage.js


Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


Leave a Response

(10 comments)

You can always post the question over on [a href="http://www.webdeveloper.com/forum/forumdisplay.php?f=3"]the JavaScript forum[/a]. Thanks!

Lee Oct 31, 2008

How does this work again?[br /]I copy your code add it to my page and get the exact same result here?[br /][br /]Just need to make sure as it sure as hell aint workin'![br /]I would need to view source to find the fix.[br /][br /]Cheer

M.Dubb Sep 16, 2008

Yes, you would just use a text editor and place the code in the file. Make sure it has an extension of ".js" Then, you would place a link to it in your Web page in the head section like this:[br /][br /]<script type="text/javascript" src="/yourFile.js"></script>[br /][br /]Don't forget to add the correct path to the file if it is in a different directory.

Lee Oct 26, 2007

Hi there. How do I create an external .js file? Do I do this in Notepad or what program do I need?[br /][br /]Thank you![br /]Thuy

Twee Oct 12, 2007

Not sure what you mean. It works as it should.

Lee Oct 3, 2007