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

Javascript popup windows, rel attributes and naming conventions

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

What do you do if you want to semantically indicate to clever user agents that your link goes to an external site? You use rel="external".

What do you do if you’ve also got a window that pops up, for example, terms & conditions when clicked on?

The pop up window is fairly obtrusive and moves away focus: what you need is a way of presenting this information non-modally, so that focus is not pulled from the activity at hand?

Read more...

Tags , , , , , ,  | no comments | no trackbacks