-
DOM access control using cross-origin resource sharing
By Tiffany Brown · Wednesday, December 14, 2011 8
This article provides an introductory guide to cross origin resource sharing, or CORS, a technology allowing you to control communication and access between resources residing at different origins in a secure manner, getting around problems associated with the traditional same-origin security policy. Read more…
-
Better error handling with window.onerror
By karlcow · Wednesday, December 14, 2011 22
In this article we will look at when and how to use window.onerror, a new programmatic error handling mechanism available in JavaScript, including some examples to get you started. Read more…
-
Introducing ECMAScript 5.1
By Mike Taylor · Tuesday, December 6, 2011 2
The newest version of ECMAScript to get widespread browser support, ES5, brings with it many useful changes from ES3 and new additions to the language. In this introductory article we'll review these, showing what is available. Read more…
-
HTML5 custom protocol and content handlers
By Mike Taylor · Tuesday, December 6, 2011 12
This article introduces the HTML5 custom scheme and content handlers, showing how you can employ them to allow use of custom content types on your sites. Read more…
-
Porting 3D graphics to the web — WebGL intro part 2
By Luz Caballero · Thursday, November 24, 2011 10
This article explores importing existing 3D models into WebGL — a much easier way to go than creating them from scratch in WebGL! The steps include exporting models from 3D packages (including Blender, SketchUp and Shade) into .obj format, converting them from there into JSON, then rendering them from there using the Three.js WebGL library. Read more…
-
Love your devices: adaptive web design with media queries, viewport and more
By Chris Mills · Thursday, November 24, 2011 16
In this article Chris Mills takes a look at techniques and technologies that we can adopt to create adaptive (or responsive) web sites, including percentage units, media queries and viewport. He also discusses some recent happenings in the area, such as considerations for display on tablet browsers, object-fit, and the @viewport CSS rule. Read more…
-
Building a web mapping application with Pergola and Polymaps
By Domenico Strazzullo · Wednesday, November 16, 2011 4
Mapping applications are very popular, and it is easy to embed a simple map on a page using something like the Google Maps API. In this article we are going to show how to build a fully fledged SVG-based, windowed mapping application using the Pergola framework and its libraries, with the Polymaps library plugged in, and tiles imported from Bing. Read more…
-
Opera Reader: a new way to read the Web!
By Chris Mills · Wednesday, October 19, 2011 13
In this article, we'd like to present Opera Reader, a new technology that builds on top of CSS to allow us to split content into pages that can be "turned" in a natural manner through gestures rather than point and click, control the positioning/floating of figures in multi-column layouts more precisely and provide a consistent navigation system for such content that is independent of your documents. Read more…