342 posts
  • Affiliate Level 4
  • Author Level 5
  • Beta Tester
  • Collector Level 3
+6 more
vtimbuc
says

Hi guys,

Does any one know how to make window.matchMedia(); work on IE8, I’ve tried using https://github.com/weblinc/media-match, added the script on head tag and it still does not work, any hints?

Thanks

159 posts
  • Author Level 2
  • Beta Tester
  • Collector Level 2
  • 3 Years of Membership
+1 more
s4nji
says
342 posts
  • Affiliate Level 4
  • Author Level 5
  • Beta Tester
  • Collector Level 3
+6 more
vtimbuc
says

Already using it and works great for stylesheets. The problem is that I have a couple of JS media queries to move content around the page based on the screen size. I’m doing this using window.matchMedia and works great on recent browsers the problem is with IE9 and IE8 (as always). I’ve tried using this polyfill https://github.com/weblinc/media-match (and a few others) and cant get it to work, also tried enquirejs but no success as well, maybe I’m doing something wrong, was hopping someone could give me hint, I’ve already spend a lot of time on this, getting tired and angry :D

1763 posts How's the surf doing?
  • Power Elite Author
  • Trendsetter
  • Top Monthly Author
  • Community Superstar
+10 more
tommusrhodus
says

Why on earth does a site need to be responsive in IE8? No mobile devices use IE8, it seems a bit backward to bloat a site with hacks just to get a resizing effect in an ageing browser.

I think sometimes we forget that people don’t sit there resizing windows like we do :)

342 posts
  • Affiliate Level 4
  • Author Level 5
  • Beta Tester
  • Collector Level 3
+6 more
vtimbuc
says

If it was for me I wouldn’t even spend a minute on it. But when the client asks for it is a different story. I work as freelancer for an other company so I don’t have much say on this.

Also this is more common on mobile first designs. I will see if I come up with an solution tomorrow.

1642 posts
  • Elite Author
  • Featured Author
  • 6 Years of Membership
  • Author Level 10
+8 more
fuelthemes
says

Why on earth does a site need to be responsive in IE8? No mobile devices use IE8, it seems a bit backward to bloat a site with hacks just to get a resizing effect in an ageing browser. I think sometimes we forget that people don’t sit there resizing windows like we do :)
Exactly
252 posts
  • Elite Author
  • Author Level 8
  • Weekly Top Seller
  • Trendsetter
+7 more
nagaemas
says

Ever since working with Respond.js for Bootstrap 3 compatibility on IE8 and seeing the bad performance and bugs it caused, I decided to stop supporting responsiveness on IE8 for all upcoming themes. Envato allows that now luckily :)

1763 posts How's the surf doing?
  • Power Elite Author
  • Trendsetter
  • Top Monthly Author
  • Community Superstar
+10 more
tommusrhodus
says

I work as freelancer for an other company so I don’t have much say on this.

Ugh, I know that feeling, never good. Good luck with this then, I can’t imagine it’s much fun! :)

342 posts
  • Affiliate Level 4
  • Author Level 5
  • Beta Tester
  • Collector Level 3
+6 more
vtimbuc
says

Ugh, I know that feeling, never good. Good luck with this then, I can’t imagine it’s much fun! :)

Thanks mate, yeah lots of fun for me :)

by
by
by
by
by
by