I understand that the newest version of SSI has the ability to switch from one CSS to a more mobile friendly CSS based on window size. Can something similar be done for older versions? I can write the CSS, but am trying to figure out how to tell survey which file to use. I imagine it is something in the head tag including this:
TextExists(UserAgent(),"iPhone") or TextExists(UserAgent(),"iPod") or TextExists(UserAgent(),"BlackBerry") or TextExists(UserAgent(),"Android") or TextExists(UserAgent(),"SymbianOS") or TextExists(UserAgent(),"Teleca") or TextExists(UserAgent(),"IEMobile")
Maybe combined with something such as this (This is was a piece of code written for someone trying to use a different CSS based on their "id", so I realize it will be different):
[% Begin Unverified Perl
if (VALUE("id") <= 100)
{
return "<link rel='stylesheet' type='text/css' href='" . GRAPHICSPATH() . "style.css'>";
}
End Unverified %]
Any insights would be greatly appreciated! Thank you!