Category Archives: Web Development

The Problem With innerHTML

The innerHTML property is extremely popular because it provides a simple way to completely replace the contents of an HTML element. Another way to do that is to use the DOM Level 2 API (removeChild, createElement, appendChild) but using innerHTML … Continue reading

Posted in Web Development | 30 Comments

Adding Back Button and Bookmarking Support to Your DHTML Slide Show

YUI 2.4.0, which was just released today, comes with a minor update to its history library. To celebrate this new release, I thought I would write a short article demonstrating how to use the YUI Browser History Manager to add … Continue reading

Posted in Web Development | 6 Comments

Introducing CrossFrame, a Safe Communication Mechanism Across Documents and Across Domains

The mashup problem According to my coworker Douglas Crockford, Mashups are the most interesting advancement in software development in decades. They are also unsafe in the current generation of browsers. Lately, Douglas has been spending some time convincing the main … Continue reading

Posted in Web Development | 7 Comments

Getting Rid of the Navigation Click Sound on IE

Internet Explorer plays a little click sound when the location of a page changes. This is a great usability feature as it lets the user know that something is happening. However, this little click sound can become really annoying with … Continue reading

Posted in Web Development | 7 Comments

Running CPU Intensive JavaScript Computations in a Web Browser

The pattern discussed below is a well known pattern that has been used for 10 years. The goal of this article is to present this pattern under a new light, and most importantly to discuss ways of reducing its overhead. … Continue reading

Posted in Web Development | 5 Comments

The Birth Of Web 3.0

Is Web 3.0 yet another buzz word, or is it a real turnaround in our industry? Web 1.0 was the good old web of the 1990s. In those times, all client-side changes were the result of a server round-trip. The … Continue reading

Posted in Web Development | 7 Comments

Adobe MAX

I am currently attending the Adobe MAX conference in Chicago, IL. Yesterday’s keynote was a great showcase of what Adobe’s latest technologies are about to bring to the web and to the desktop. Here are a few pictures of … Continue reading

Posted in Web Development | Comments Off

YUI Compressor Version 2.2.1 Now Available

I implemented a few enhancement requests and fixed a bug in this new version of the YUI Compressor. Let me know if you encounter any issue with it. Update (9/27/07): YUI Compressor version 2.2.2 is now available. It fixes a … Continue reading

Posted in Web Development | 27 Comments

Trimming comments in HTML documents using Apache Ant

This short article, explaining how to trim unnecessary code (comments, empty lines) from HTML documents, is a follow-up to an article published a couple of weeks ago on this blog: Building Web Applications With Apache Ant. Basically, the idea is … Continue reading

Posted in Web Development | 6 Comments

YUI Compressor Version 2.2 Now Available

This new version of the YUI Compressor supports stdin and stdout. This means that you can now call the YUI Compressor using the following command line: java -jar yuicompressor-2.2.jar -type js < input.js > output.js You can still use the … Continue reading

Posted in Web Development | 12 Comments