Menu icon Foundation

My Posts

No Content

My Comments

Kareem Davies commented on James Cocker's post over 3 years

Sorry people, the JS snippet from my code got stripped out.

Basically, if it isnt IE8 or below. Load JQuery 2 and Foundation 5 minified JS (or whatever Foundation JS you want)

If not. Load JQuery 1.9 and Foundation 4's minified JS ( or whatever Foundation 4 JS you want)

I've been using that for a project, and so far, everything seems to be working quite well in IE8.

Kareem Davies commented on James Cocker's post over 3 years

To add an approach that works for me, building on Trevor's solution, here's my approach.

```
var ie = !(navigator.userAgent.indexOf("MSIE 8.0") < 0);
if (ie == false) {
document.write("");
document.write("");
} else {
//Load JQuery 1.9 & Foundation 4 JS for IE 8
document.write("");
document.write("");
}

Posts Followed


Following

    No Content

Followers

My Posts

No Content

My Comments

You commented on James Cocker's post over 3 years

Sorry people, the JS snippet from my code got stripped out.

Basically, if it isnt IE8 or below. Load JQuery 2 and Foundation 5 minified JS (or whatever Foundation JS you want)

If not. Load JQuery 1.9 and Foundation 4's minified JS ( or whatever Foundation 4 JS you want)

I've been using that for a project, and so far, everything seems to be working quite well in IE8.

You commented on James Cocker's post over 3 years

To add an approach that works for me, building on Trevor's solution, here's my approach.

```
var ie = !(navigator.userAgent.indexOf("MSIE 8.0") < 0);
if (ie == false) {
document.write("");
document.write("");
} else {
//Load JQuery 1.9 & Foundation 4 JS for IE 8
document.write("");
document.write("");
}

Posts Followed


Following

  • No Content

Followers

  • No Content