A number of HTML editors actually modify your HTML code and can break JavaScript scripts. We have tested many HTML editors to identify the safe HTML editors and to develop fixes for the others.
This section identifies quick fixes for a number of HTML editors, to help you with the code insertion process.
If you do not find your editor in this chapter and your code does not work properly, please insert the code using a simple text editor (Notepad, UltraEdit, Wordpad etc.). Do not use MS Word to write your code.
This section describes working with the following HTML editors:
- Working with Adobe Page Mill
- Working with AOL Press
- Working with Dreamweaver
- Working with Front Page
- Working with Front Page 2000
- Working with HotDog Pro
- Working with HotMetal Pro
- Working with Net Objects Fusion
- Working with Visual Page 2.0
Working with Adobe Page Mill
In Edit mode (but not in Source mode), choose Insert > Placeholder and do one of the following:
- Select the placeholder icon, display the Inspector, and then paste the JavaScript code into the scrollable text box.
- Alternately, choose View > Source Mode and paste the JavaScript code between <!--NOEDIT--> and <!--/NOEDIT--> comments.
Working with AOL Press
We recommend that you do not use AOLPress for pages where you want to use this script. The currently available version of AOLPress does not support the Yahoo! Web Analytics tracking code. Please use a different HTML editor or a text editor such as Notepad when adding the tracking code.
Working with Dreamweaver
- In Design view: Paste the copied code anywhere in the design view.
- In HTML view: Paste the copied code anywhere between the <Body> and </Body> tags.
- Ignore the broken image tags.
Working with Front Page
For Front Page & Front Page Express:
- In Design view (default view), click on bottom of page.
- Click Insert > HTML Markup (in menu bar).
- Paste the copied code into the text box.
- Click OK.
Working with Front Page 2000
In Design view (default view):
- Click on bottom of page.
- Click Insert > Advanced and select "HTML".
- Paste the copied code into the text box.
- Click OK.
Working with HotDog Pro
- Paste the copied code anywhere between the <Body> and </Body> tags.
- Ignore the red highlighted code errors.
Note: Do not attempt to edit any code!
Working with HotMetal Pro
- Paste the copied code anywhere between the <Body> and </Body> tags.
- Ignore the red highlighted code errors.
Note: Do not attempt to edit any code!
Working with Net Objects Fusion
- Right click in the layout.
- Click on Layout HTML.
- Click on the Beginning of Body tab.
- Paste the copied code.
- Click OK.
Working with Visual Page 2.0
- Go to View > Source (in menu bar).
- Paste the copied code anywhere between the <Body> and </Body> tags.
- Return to Page View (View > Page).
- Ignore all extraneous code on the page. (It will not affect how the page displays in a browser.)
Note: Do not edit or delete any code!