E-Mail This Page 2
General
Let your visitors recommend your Web site to their friends. (Requires the use of your visitor's e-mail client.)
Notes
- Created by: Toicontien
- Web Site: WebDeveloper.com Forums
- Posted: July 25, 2007
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!
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
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.
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
Not sure what you mean. It works as it should.