NetTalk Central

NetTalk Web Server => Web Server - Share Knowledge => Topic started by: Larry Sand on November 30, 2009, 10:26:47 AM

Title: Remove IE 8 Compatibility View button from address bar
Post by: Larry Sand on November 30, 2009, 10:26:47 AM
This isn't NetTalk specific but it may help someone.  If your site is tested with and compatible with IE 8, you can add this meta tag to remove the "broken page" compatibility view button from the address bar in IE 8

<meta content="IE=EmulateIE8" http-equiv="X-UA-Compatible"/>


Larry Sand
Title: Re: Remove IE 8 Compatibility View button from address bar
Post by: Bruce on December 02, 2009, 01:26:32 AM
I've added a property for the next NetTalk 5 build called
.MetaHeaders

Set this (typically in WebHandler, ProcessLink method, before parent call) to whatever you like, and this will get added to the <head> part of the HTML.

For example
  self.MetaHeaders = '<meta content="IE=EmulateIE8" http-equiv="X-UA-Compatible"/>' & '<13,10>

Cheers
Bruce
Title: Re: Remove IE 8 Compatibility View button from address bar
Post by: Larry Sand on December 02, 2009, 08:03:23 AM
Thanks Bruce, that'll be very useful.

Larry Sand