Archive for the 'JavaScript' Category

fahrner image replacement

Digital Web Magazine has a good article discussing the pros and cons of the fahrner image replacement technique.

I recently had a need to automate JavaDoc style documentation for JavaScript code on a Windows platform. After reviewing what was out there, I put together an obscure hybrid that combines the following technologies: Ant, Doxygen, JavaScript, and Perl. It works, but there has to be a better way of doing this.

Peter-Paul has released a new version of his w3c dom css compatibility table.

When using document.createElement(“script”) to add a javascript file to an html document, Internet Explorer does not provide consistent error messages. Instead, I have found a combination of failing silently and giving error messages for the line number that was used to append the script to the document.

netwindows api

NetWindows, an open source api project started by Alex Russell, is much improved. I took a second look at it recently and am very impressed with how well it handles a number of application like interfaces. It uses a signals and slots event mechanism, and despite there not being much in the way of updated […]

I had never considered using XQuery for generating html and xml. Until now.

svg and dom mutation events

An article describing the benefits and shortcomings of using DOM mutations events in SVG. Much of the recent innovation in JavaScript is closely coupled with SVG. Unfortunately, mozilla and IE do not yet come by default with native SVG support.

This article describes using the DOM 2 Range with JavaScript and describes its support in mozilla. I put this together rather quickly and it isn’t very robust, but it is better than nothing. Send bugs and comments to mail[@]dylans.org (without the brackets) Overview: A Range selects all content between a pair of boundary points, and […]

dom vs. innerHTML

A good summary and debate of using dom standards vs. innerHTML by Tim Scarfe and Alex Russell. In my coding practices, I use dom compliant methods. I do tend to use innerHTML for debugging purposes. For example, if I want to see what a method is doing to a dom structure, I’ll often do a […]

css box-sizing

A mostly unknown CSS 3 property called box-sizing allows developers to set the definition of width and height to the W3C CSS box model or the box model implemented in Internet Explorer 4 and 5. The CSS model includes the width of the content… padding, borders and margin are excluded. The IE box model includes […]

« Prev