326 posts
  • Sold between 10 000 and 50 000 dollars
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Referred between 100 and 199 users
  • Bought between 50 and 99 items
  • Has been a member for 3-4 years
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Portugal
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
  • Envato Studio (Microlancer) Beta Tester
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
s4nji says
326 posts
  • Sold between 10 000 and 50 000 dollars
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Referred between 100 and 199 users
  • Bought between 50 and 99 items
  • Has been a member for 3-4 years
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Portugal
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

1184 posts How's the surf doing?
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • United Kingdom
  • Referred between 200 and 499 users
  • Exclusive Author
  • Has been a member for 3-4 years
  • Envato Studio (Microlancer) Beta Tester
+1 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 :)

326 posts
  • Sold between 10 000 and 50 000 dollars
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Referred between 100 and 199 users
  • Bought between 50 and 99 items
  • Has been a member for 3-4 years
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Portugal
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.

1320 posts
  • Elite Author
  • Has been a member for 5-6 years
  • Sold between 250 000 and 1 000 000 dollars
  • Author had a Free File of the Month
  • Referred between 200 and 499 users
  • Bought between 10 and 49 items
  • Europe
  • Exclusive Author
+1 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
114 posts
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Exclusive Author
  • Bought between 100 and 499 items
  • Referred between 50 and 99 users
  • Most Wanted Bounty Winner
  • Envato Studio (Microlancer) Beta Tester
  • Has been a member for 2-3 years
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 :)

1184 posts How's the surf doing?
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • United Kingdom
  • Referred between 200 and 499 users
  • Exclusive Author
  • Has been a member for 3-4 years
  • Envato Studio (Microlancer) Beta Tester
+1 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! :)

326 posts
  • Sold between 10 000 and 50 000 dollars
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Referred between 100 and 199 users
  • Bought between 50 and 99 items
  • Has been a member for 3-4 years
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Portugal
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