Web Standards

Using the HTML5 <video> tag with a Flash fallback

The HTML5 <video> tag makes it possible to embed video clips in web pages much like how the <img> tag works for images. The browser itself provides the playback functionality without any need for plugins like Quicktime or Flash.

A Markdown WYSIWYM solution for Drupal (or: Markdown for clients that don't sport neck beards)

WYSIWYG editors like FCKeditor and TinyMCE are popular, but in some ways they do more harm than good.

Spruce up your Drupal search box for Safari users (Updated for Drupal 6)

My favourite browser Safari has support for a snazzy custom input field type called "search". This gives the field a rounded look and the ability to remember search history (amongst other things). The major drawback is of course that the HTML will no longer validate since this feature isn't part of the official spec.

In order get around this problem I whipped up a jQuery snippet that dynamically changes the Drupal search input field to a Safari search field if the visitor uses Safari.

Duplicate id attributes for submit buttons in Drupal 5.x

Drupal 5 doesn't generate unique id attributes for form submit buttons. This means that if there's both a login form and a search box on the same page they will both use the same edit-submit id causing the page to fail validation.

XStandard module version 1.0 released

I've finally decided to roll out version 1.0 of my .

So why choose XStandard over FCKeditor or TinyMCE? Simply put, it produces valid markup. The pro version can actually filter material pasted from Word into semantic XHTML while retaining structure. Here's a full .

Syndicate content