Previewing active content in Internet Explorer (Windows)

Previewing active content in Internet Explorer (Windows)

If you preview a document containing active content in Internet Explorer after installing the Windows XP Service Pack 2 update, the browser may not display the document correctly. The browser displays a message that tells you it has restricted the file from showing active content. You can fix this problem by inserting Mark of the Web code in your document.

Internet Explorer blocks active content and scripting that tries to run in the Local Machine zone. Because attackers try to take advantage of the Local Machine zone, Microsoft increased the restrictions on what can run in this zone by default. Mark of the Web code tells the browser to run active content in another zone, in this case the Internet zone.

To preview active content in Internet Explorer on Windows XP SP2:

  • With your document open in Dreamweaver, select Commands > Insert Mark of the Web.

    Dreamweaver inserts the following line in your code:

    <!-- saved from url=(0014)about:internet -->

    The line tells the browser to bypass the Local Machine zone and run the active content in the Internet zone.

You can also remove Mark of the Web code before pushing a file live.

To remove Mark of the Web code:

  1. In Dreamweaver, open the document containing the Mark of the Web code.
  2. Select Commands > Remove Mark of the Web.

For more information, see TechNote 19578 on the Macromedia website at

Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Inserting and Formatting Text
Adding Audio, Video, and Interactive Elements
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly