I need to check if ie 6 and if so load all js files locally or else anything higher or difference ie chrome etc then load from cdn (google, or any other)
I am already using conditional comments for styles
<!--[if lte IE 6]>
<link href="Content/themes/bootstrap/css/bootstrap-ie6.css" rel="stylesheet" />
<link href="Content/Site-ie6.css" rel="stylesheet" />
<![endif]-->
But i know that we have a number of users using ie6 and all those users are in the same location and need to load js files from the site not cdn's. So if ie6 load js files from local site, else anything else load from cdn.
How can i do this?
Would the below work:
similar to: (How do I make an "else" in an IE HTML conditional?)
<!--[if lte IE 6]>
You're using IE 6!
<![endif]-->
<![if ! lte IE 6]>
You're using something else!
<![endif]>
Thanks