webdu 2012: web developer conference

Christian Cantrell's Perspective on Macromedia server products and web development in general.

Show all feed information | Ping Blog Update

Prototyping in HTML 2 days ago

Over the weekend, I built an e-book reader prototype to demonstrate some ideas that might make the digital book reading experience better. Although I was prototyping a native application, I found the easiest way to build it was with HTML, JavaScript, and CSS. Once CSS regions make it into all …

CSS Regions: What’s Possible Now, and What’s Coming last week

I just made a quick screencast to show the current state of CSS Regions, and to demonstrate some new capabilities that will be here soon. In general, there are two aspects to CSS Regions: The ability to have text automatically flow between regions. The ability to hook into that flow using …

CSS Regions Support in Google Chrome for Android last week

I’ve been working on some CSS Regions prototypes recently (if you’re new to CSS Regions, check out this post), so when the Chrome for Android beta came out the other day, I decided to see how some of my samples looked on mobile. It turns out, they work perfectly: The CSS Regions …
keywords android, beta, capabilities, css, google, html, prototypes, regions

Setting Text Selection Colors in JavaScript 2 weeks ago

If you’re building any kind of a text editor in JavaScript, you might want to be able to dynamically set or change the text selection color. I discovered it wasn’t as easy to do as I expected it to be, so I thought I’d share the code. I created this extreme (and admittedly, …

How to Create a Custom File Input (For Use With the HTML5 … 3 weeks ago

I’m working on an HTML/JS application that lets users work with local files directly in the browser, and I’m using some new HTML5 APIs to access local files. It works great (in Chrome and Firefox, anyway — see note below), however my UI calls for a custom file input rather than …

How to Download Data as a File From JavaScript 3 weeks ago

I’m currently working on an HTML/JavaScript application that allows you to author content entirely on the client. I want to let users download that content and save it locally, but without bouncing it off a server. After some trial and error, I have it working fairly well using a data URI. …

A Summary of the WebKit Developer Tools last month

I use the WebKit developer tools extensively in both Chrome and Safari, but it occurred to me the other day that I was probably only using a fraction of their capabilities. After researching them more fully, I was pleasantly surprised by how comprehensive they are, so I decided to make a quick …

Creating a Loading Spinner Animation in CSS and JavaScript 2 months ago

Since I’m not a very good designer, I usually try to do as much styling, design, and graphics in code as I can. For instance, when I wrote this mobile compass application in HTML, I did all the graphics programmatically using Canvas and CSS. I’m now working on a project that requires …

Loading Data Across Domains with JavaScript 2 months ago

I’m working on a project now that makes heavy use of XHR (XMLHttpRequest) to load data from a server. I’m writing the HTML/JS portion of the application on my local machine, but my server development environment is on a remote server under a different domain. Typically cross-domain …

Adding prependChild to Element 2 months ago

If you’ve ever done much DOM scripting, you have almost certainly used the appendChild function on Element. For instance, you might have done something like this: var hello = document.createElement('p'); hello.innerText = 'Hello, world!'; document.getElementById('myDiv').appendChild(hello); …

Christian Cantrell

Technical Product Manager at Adobe, science fiction writer, and toy photographer. http://www.microkosmic.com

Lots of detail about the future of Flash and AIR: http://t.co/1vgLS0NK@cantrell

Northern, VA