06/07/2001
Using Javascript in your
HTML email
:
Thomas Granger

send feedback

Register for Template Kit email updates

Free templates, royalty-free photos and more!

Using Javascript in Your HTML Email

Since Javascript's are mainly a unique and proprietary element, and by this we mean that you can write 100 different scripts which all do basically the same thing but in a different manner, complex JavaScripts will always have trouble in your HTML email.

Due to the wide variety of email clients, browsers, security settings, updates, and service packs installed, it is difficult to predict how a script will execute against any given email client. Javascripts can cause browsers & Outlook 2000 to disable and active scripting contained in an email document (there has been an increase in email security due to malicious scripts).

For more information on Microsoft Outlook & Office Security visit:

Outlook E-mail Security Update Information
http://support.microsoft.com/support/kb/articles/q262/7/01.asp

How Outlook Renders HTML
http://support.microsoft.com/support/kb/articles/q249/9/72.asp

You would be wise to test any Javascript you wish to include in a mailing. Not all email clients can handle the scripts, and most web-based systems disable scripts as a general rule to prevent malicious code from being executed on a system.

Javascript Navigation forms such as jumpmenu forms can easily be use, but even these will only work in non web-based email clients. Most other navigation forms are not supported because they do not work on the majority of web-based email clients.

Most Forms, which use the GET/POST method, will render and test correctly in web-based email clients.. You can often use this to get around many Javascript problems in HTML email.

Remember! Most web-based email browsers are a <FORM> themselves and use Javascript to power their product in some way or another. Your script has to be fairly inocculous in order to not interfere with their product.

We'll be providing some more examples as we expand of this collumn in the near future.

In the meantime, here is a list of HTML email FAQs & Resources

Back to Articles home


Attention Web Developers! Do you need more clients for your business? Do you need to make more money? Proposal Kit helps you demonstrate that you are the right professional for your customers.

Florentine Design Group is a coalition of web designers, marketers, artists, animators, and other hired guns who work in the start-up arena. Sometimes cheap, sometimes for free, always getting the job done. If you can find them, maybe you can hire them....just like the A-Team..grrrr

Related Topics :
     ›› Contracts, Proposals, Bids, and other Forms
     ›› E-Business Cards by Cyber-i,

(c) 2001.  All Rights Reserved.      

 
Products - Purchase - Information - Freebies - Articles - Contact Us
©Copyright 2001 All rights reserved Templatekit.com and
Florentine Design Group