Has anyone run into any troubles declaring if statements for html5 and css3 media queries for anything <IE9?
<!--[if lt IE 9]>
All I have in the header is:
<link href="css/master.css" rel="stylesheet" type="text/css"/>
<link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700|Economica:400,700' rel='stylesheet' type='text/css'/>
<link href="css/media-queries.css" rel="stylesheet" type="text/css"/>
And it's crashing IE7 and IE8 - like the page won't load and IE literally crashes.
Let me know if you need some more info about the issue or markup.
Have you narrowed down the page to just those scripts causing it? Aka, if you take them out, does it not crash?
Could you share the complete HTML so we can play around with it? It's interesting to hear it's flat out crashing.
I'm not in the least surprised -- scripted shims are fragile enough; trying to run TWO of them at the same time; that's just begging for it to blow up in your face. Tossing jquery nonsense on top of that and you've likely so completely over-thought your page you'll be lucky if the traffic isn't 100% bounce and it crashes even modern browsers.
To me it sounds like you are ice-skating uphill with technologies not ready for use on production websites. Likely not your fault with all the idiotic bad advice out there about HTML 5 that seems to exist for the sole purpose of nube predation; selling new books and seats at lectures, instead of promoting good coding habits, practical and easy to maintain methodologies, and doing what the web is actually for -- delivering content to users.
That said, your snippets are gibberish without seeing what it is all that scripting is being applied TO. The shivs could be getting confused by invalid markup -- whatever it is you're loading the jquery for could be latching onto the window events impropery or conflicting -- Without actually seeing the page in question, anything we tell you is a wild guess based on no real facts.
This topic is now closed. New replies are no longer allowed.