Monthly Archives: March 2007

YUI Button Lite

Do you want the cool clean look of the new YUI Button component, but without all the seedy overhead of split buttons or button groups or components that shouldn’t even be pigeonholed into a button component to begin with? Keep in mind that this approach only works for the method called “Using pre-defined Button Control [...]
Posted in JavaScript | Tagged , | Leave a comment

Logical XOR in JavaScript

Of course there wouldn’t be an XOR function in JavaScript when I needed one. So I googled around and found an implementation at How To Create. But it only took two arguments. So I rolled my own supporting a variable number of arguments. In my personal stuff, I’ve put it into a Math library under [...]
Posted in JavaScript | Tagged | Leave a comment

Conservative Design Example: Hierarchical Options

Welcome, one and all, to the second installment of actual code examples for the Conservative Design series. The decision was made (by me) to rename the component in question from the original Hierarchical Select to Hierarchical Options, due to the fact that the hierarchy can consist of any multiple option component, and is not limited [...]
Posted in Interface Design, JavaScript | Tagged , | Leave a comment

Fundamental Problem with YUI Button

Buttons! Let’s make them obvious and good looking. Let’s make them have inline images and cool hover colors. Let’s make them three dimensional. Especially so, let’s make them from markup so that we don’t take functionality away from technology disabled users. Ruh roh Shaggy! The YUI Button component is misbehaving. It is taking away the [...]
Posted in JavaScript | Tagged , | 1 Comment

OMG SOA

In today’s Web 2.0 world of ultimate abstraction, you don’t need to be bothered with the rudimentary low level programming functions of everyday languages. Client Side implementation of JavaScript functions across the browser landscape is unreliable at best, so why should you trust it for anything? So using forward thinking and futureproof compatibility design, naturally [...]
Posted in Humor | Tagged , | Leave a comment

Conservative Design Example: Multiple Option List

All of the posts in the Conservative Design series so far have been brainstorming of design patterns. But how about some real life examples, some actual code? Let’s dive in. The first example I decided to tackle was the Option List, specifically the variant that allows multiple options to be selected. Let me start out [...]
Posted in Interface Design, JavaScript | Tagged | Leave a comment

Conservative Design: Command Line Interface

This is another post in the series entitled Conservative Design Patterns for Form Elements. The argument has existed since the dawn of the Graphical User Interface (GUI). Which is better, keyboard-exclusive Command Line or mouse-intensive GUI’s? As more enterprise architectures are moving from terminals to web interfaces for their products, and as time is moving [...]
Posted in Interface Design | Tagged , | Leave a comment

Namespaces in Ext DomQuery

Do you want to use custom attributes in your XHTML? Do you use the YUI Library and Jack Slocum’s wonderful DomQuery selector engine? If you want to select attribute nodes with a namespace in your XHTML, DomQuery does not support namespaces as an option to do so. But by adding a small snippet of code [...]
Posted in JavaScript | Tagged , , | Leave a comment