Is it possible to perform browser sniffing in Squiz Matrix and 'swap' out the design asset file based on the type of browser viewing the website?
The reason we are looking for this feature is that we have to support IE8 still (groans*).
We are using a Megamenu framework from "CodyHouse" and it only supports IE9+ because of the CSS and SVG within it. What we want to do is use a different design file with a different menu system in it if a computer using IE8 views the website pages.
mmm sounds great. Replace the MySource menu with another (i.e. swap the print from NO to YES, dependant on the outcome). Only issue is that I have no idea what the RegEx is to detect IE8.
Heck, I can't even get Squiz Matrix to detect any version of IE I am using. The MSIE on its own will now work.
We are using VirtualBox to test old versions of IE so I suppose we are faking it (I mean it's actually hard to find a real copy of IE8 these days!).
In the end we are going with MSIE which targets 8,9 & 10. IE11 uses Trident so it won't work for that anyway - which is actually a good thing because I would prefer if IE11 serves up the 'modern' content. Don't really care much for IE 8,9 & 10 anyhow - let them eat cake.
Shame could not target a particular version of the user agent but that's the compromise.