I’ve found similar questions here but haven’t found the exact thing I am looking for.
Specifically, I need a script to detect older versions of IE (those that do not support PNG transparency) and that will redirect the browser to a specific page.
Still there, still works. It prompts ALL versions of IE to get Firefox, though. I need to revamp it to set a minimum acceptable level. IE 10 is supposedly pretty good.
Walter
On May 29, 2013, at 3:47 AM, Richard van Heukelum wrote:
LOL … I can remember an action (by Walther Davis if I recall correctly) that prompted IE users to download Firefox instead
Not quite. That’s close but not quite the correct syntax for a conditional comment. You need a few more characters in there. If you want to redirect IE 6 and lower, you would do this:
The ‘lte’ part means ‘less than or equal to’, which is exactly what would match lt IE 7 (less than 7). I prefer the lte because it’s more explicit what you mean, and you’re less likely to write lt IE 7 when you mean to exclude 7 and below.
Walter
On May 29, 2013, at 8:29 AM, Trey Yancy wrote:
In other words, (?)
<if lt IE 7>
<meta HTTP-EQUIV=“REFRESH” content="0; url=“www.example.com/whatever/”>