Using X-UA-Compatible with valid HTML5

If you were using <meta http-equiv=”X-UA-Compatible” content=”IE=edge” /> to force IE to use the most recent rendering engine and disable compatibility mode, you might have discovered that it’s not a valid HTML5 meta tag. The easiest way to solve it is to use .htaccess or your Apache config to always send X-UA-Compatible in the HTTP […]

Drag and drop image upload directive for Angular.js

While converting an application of mine to Angular.js, I could not come up with a reasonable way to support drag and drop uploads, so I have created my own. Browser support As with everything that is enjoyable on the web, this will only work in IE10+, Chrome and Firefox. This is because you will need […]

How to use the HTML5 full screen API (with examples)

The new HTML5 fullscreen API allows you to build full screen web applications very easily. Before we get started, there are a few things you need to know: Only user events (click, keyup etc.) can trigger full screen mode. This prevents pop up ads from going full screen. The API is supported by IE9+, Chrome […]