Keep Coding Tidy: Maintaining a tidy DOM for the future.

Posted by Dan Eastwell Fri, 23 Mar 2007 16:58:00 GMT

In the beginning… we littered our code with <td>s <font>s, whatever. Now, through scripting, we’re doing exactly the same thing, and not caring about it.

Read more...

Posted in , , ,  | Tags , , , , , , ,  | 2 comments | no trackbacks

Journeys in Javascript and the DOM: Remote Scripting

Posted by Dan Eastwell Mon, 30 Oct 2006 13:12:00 GMT

A sub-selector selector

I would class myself as a Javascript and the DOM beginner, and have been called to use it recently in something of a baptism of fire. In what I'm hoping is a series of articles about my (re)discovery of javascript with help from the DOM, I'll expose what I find out, so you don't make the same mistakes I'm likely to! So as a caveat to this example, it shouldn't serve as a script you should use, as it could well do with improving, comments welcome.

More importantly, the script shown here is inaccessible to users without javascript, so should be taken as an academic example only.

Read more...

Posted in ,  | Tags , , ,  | no comments | no trackbacks