Geeks With Blogs
Steve Albers JavaScript
For Modernizr, Don’t Stop with NuGet
The ASP.NET MVC template drops a copy of Modernizr 1.7 in your project automatically, and if you check for NuGet updates the library is brought up to the current version - 2.5.3. The NuGet package is a a great way to introduce developers to Modernizr and makes checks for updates easy. But when adding Modernizr to your projects consider two alternatives: Alternative One – Content Delivery Network: Microsoft CDN currently hosts two Modernizr versions – 1.7 and 2.0.6. By using a CDN copy you increase ......

Posted On Sunday, March 25, 2012 1:36 AM

Using HTML5 Today part 3– Using Polyfills
Shims help when adding semantic tags to older IE browsers, but there is a huge range of other new HTML5 features that having varying support on browsers. Polyfills are the tool to work with many of these new features. Polyfills are JavaScript code and/or browser plug-ins that can provide older or less featured browsers with API support for recent browser advances. The best polyfills will detect the whether the current browser has native support for a given feature, and only adds the functionality ......

Posted On Tuesday, March 20, 2012 2:33 AM

Fix a jQuery/HTML5 dynamic content issue by upgrading jQuery
The default NuGet template for MVC3 pushes down jQuery 1.5.1. You can upgrade to a new version (1.7.1 is current when this was written) to avoid a problem with the creation of “unknown” HTML5 tags in IE6-8: Take this sample HTML page using HTML5Shiv to provide support for new HTML5 tags in IE6 – IE8. The page has a number of <article> tags that are backwards compatible in Internet Explorer 6-8 thanks to the HTML5Shiv. After the article elements there is a jQuery 1.5.1 script tag, and a ready() ......

Posted On Saturday, March 17, 2012 12:52 AM

JavaScript Now
I am a reformed former JavaScript hater. In the 90s and early 2000s I muddled through JavaScript compatibility issues, poor performance and a lack of development & debugging tools. When ASP.NET came out, promising to hide me from the complexity of browser incompatibilities, I fully embraced server-side web development. This approach may have worked in 2002, but it does not today. The world's expectations have been reset by Ajax, Google Maps, mobile web sites, high performance JavaScript engines, ......

Posted On Sunday, August 28, 2011 4:49 PM

Copyright © Steve Albers | Powered by: GeeksWithBlogs.net