Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 16th, 2014, 07:07 PM
Authorized User
 
Join Date: Aug 2011
Posts: 44
Thanks: 14
Thanked 0 Times in 0 Posts
Default Modernizr and polyfills

Hello Imar,

on page 83, you explain how to add Modernizr to the site and say that "Modernizr fixes the HTML5 compatibility issues for older browsers".

Looking for further documentation, I found on Wikipedia that
"Modernizr does not add missing functionality to browsers. However, the HTML5Shiv JavaScript library adds basic support for HTML5 elements in Internet Explorer prior to version 9, and this and other such polyfills are listed on the Modernizr Wiki".

As the list of HTML5 Cross Browser Polyfills is frightening long, can you give us some hints on what to do to improve the HTML5 cross browser compatibility ?

Thank you

Antonius
 
Old December 17th, 2014, 05:01 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Antonius,

Quote:
can you give us some hints on what to do to improve the HTML5 cross browser compatibility ?
Use Modernizr;-)

There really isn't a way to add many of the missing features to an old browser. If the browser doesn't support a location API, there's no way to emulate that using JavaScript. Modernizr does a great job but it can't do magic.

What's the reason you care about IE prior to version 9?

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
Antonius Block (December 20th, 2014)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install Modernizr ( pg 83) desperadoom BOOK: Beginning ASP.NET 4.5 : in C# and VB 4 March 7th, 2017 08:44 PM
A question on Modernizr Antonius Block BOOK: Beginning ASP.NET 4.5 : in C# and VB 1 November 25th, 2013 03:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.