Active content blocked when having page offline

December 28th, 2006 | Categories: Web design

Another issue when making offline web pages is the Windows XP service pack 2 issue, which blocks active content like javascript or flash animations.

When viewing offline page that contains flash animation or JavaScript with Internet explorer you can run into a problem. A yellow security bar or a notification about blocking active content.

Microsoft has an official workaround for this, named “Mark of the Web comment”. Here’s also description of it in Adobe’s site.

To make it short. If you don’t want your users to be troubled with this, just add the following to the top of your html code:

or

yoururl .com –>

(the number in brackets represents the length of your URL – including http://)

This tells Internet Explorer to treat the page like Internet zone for which usually has the permissions for active content.