How can I tell if IE support is on

Is there an API method for testing whether IE support is on, and if so, what level of support? Or do I need to convert the head to a string and grep through it for the conditional comment tags?

Thanks in advance,

Walter


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,
Try fwPage.fwBrowserCompatibility which should return the following values depending on the page compatibility setting;
//normal = 0
//ie8 = 8
//ie7 = 12
//ie6 = 14
I have no idea where those values came from.They suggest to me that there may be others although I’ve yet to find any while playing with Freeway’s output options.
Regards,
Tim.

On 2 Nov 2013, at 17:10, Walter Lee Davis wrote:

Is there an API method for testing whether IE support is on, and if so, what level of support?


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for both of your answers!

Walter

On Nov 2, 2013, at 3:00 PM, Tim Plumb wrote:

Hi Walter,
Try fwPage.fwBrowserCompatibility which should return the following values depending on the page compatibility setting;
//normal = 0
//ie8 = 8
//ie7 = 12
//ie6 = 14
I have no idea where those values came from.They suggest to me that there may be others although I’ve yet to find any while playing with Freeway’s output options.
Regards,
Tim.

On 2 Nov 2013, at 17:10, Walter Lee Davis wrote:

Is there an API method for testing whether IE support is on, and if so, what level of support?


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 02/11/2013 19:00, Tim Plumb wrote:

I have no idea where those values came from.

The value returned from fwBrowserCompatibility is a bitfield combining zero or more of the following values:

IE6: 0x02
IE7: 0x04
IE8: 0x08

Bitwise ANDing one of these with the returned value will tell you whether Freeway is exporting code compatible with that version of IE.

Stewart


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Stewart,
Thanks for the clarification. I just need to find out what that means! :slight_smile:
All the best,
Tim.

On 3 Nov 2013, at 11:40, Stewart Fellows wrote:

Bitwise ANDing one of these with the returned value will tell you whether Freeway is exporting code compatible with that version of IE.


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options