Adding an Email Link

For adding links to email in an HTML page or in a .js file like the menu.js.

For other types of links click here


Standard email link:
This is the standard link for adding an e-mail to an HTML page. This type of email link may be harvested by spammers. See "hidden e-mail link" below.




Hidden email link:
The following email link code uses Javascript so your e-mail is not seen on the page by search engines or email harvesters.



NOTE: To add the above code to a .js file you can remove the first and last line, the script start and end lines.

NOTE: For an image link in the above code, replace this line:

document.write(emailname + "@" + emailserver);

With the following:

document.write('<img src="picts/email.jpg" border="0">');


Email link in a .js file:
Javascript .js files are not read by search engines so you can add a standard email link with document write added. You can use the following in any .js file.




Image email link:
This is the standard link for adding an e-mail image link to an HTML page. This type of email link may be harvested by spammers. Place an image named "email.jpg" in your template picts folder. Also see "hidden email link" above.







TROUBLESHOOTING: Links not working:
If you have added links and they do not seem to work when testing, see the links not working support page.

NOTES: When testing your template on your hard drive with Internet Explorer, the links to ".pdf", and other document types may not work in some cases. This will be resolved once the site is uploaded. Try testing your site in another browser, such as Firefox, to ensure the links are functioning properly.




Related Topics:
New Window Target Links
Links Not Working After an Edit
Editing the Menus


Allwebco Template Support


Allwebco Website Templates HTML Email Link Code


See Also...
Scripts & Add-ons
Adding Links



Allwebco Web Templates
Complete websites with built in scripts.
AllwebcoDesign.com
Web Template Support
Free Javascripts
Free scripts for any website or template.
Allwebco-Templates
Web Template Support
SE Optimization
Help to list better in search engines.
Allwebco-Templates
Web Template Support
Shopping Cart Templates
Professional templates with built-in Paypal.
AllwebcoDesign.com



Website Template Support
Website Template Support