I've been testing libraries for enabling HTML5 and loading JavaScript. I'm experiencing some oddities with modernizer 2 in IE7, Firefox 4 on XP, and others. (Works fine in IE6 and 8)
When including the script the browser simply renders the screen blank white.
http://ibob.dk/velkommen-narrow-head-modrn.html
I've managed to get it to show content if removing all styling. However scrolling down causes the browser to smear the content.
I see no JavaScript or HTML interpretation errors. Anyone got a hint to what is going on?
The concept of feature detection The idea behind feature detection is that you can run a test to determine whether a feature is supported in the current browser, and then conditionally run code to provide an acceptable experience both in browsers that do support the feature, and browsers that don't.
HTML5 Modernizr: It is a JavaScript library that detects which next-generation web technologies feature our web browser supports. There are many new features that are being introduced in HTML and CSS but many browsers do not support these new features.
Resolved on github importing last version of modernizr REad Michael link: "I've opened an issue on modernizr on github github.com/Modernizr/Modernizr/issues/361 – Michael"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With