Henrik Sjökvist - Web Standards
/taxonomy/term/2/0
enSpruce up your Drupal search box for Safari users (Updated for Drupal 6)
/archive/2008/8/spruce-up-your-drupal-search-box-for-safari-users-updated-for-drupal-6
<p>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.</p>
<p>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.</p>
<p><a href="/archive/2008/8/spruce-up-your-drupal-search-box-for-safari-users-updated-for-drupal-6" target="_blank">read more</a></p>/archive/2008/8/spruce-up-your-drupal-search-box-for-safari-users-updated-for-drupal-6#commentsBrowsersDrupalJavaScriptUsabilityWeb StandardsFri, 29 Aug 2008 09:22:17 +0000Henrik Sjökvist13 at Duplicate id attributes for submit buttons in Drupal 5.x
/archive/2008/7/duplicate-id-attributes-for-submit-buttons-in-drupal-5x
<p>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 <code>edit-submit</code> id causing the page to fail validation.</p>
<p><a href="/archive/2008/7/duplicate-id-attributes-for-submit-buttons-in-drupal-5x" target="_blank">read more</a></p>/archive/2008/7/duplicate-id-attributes-for-submit-buttons-in-drupal-5x#commentsCSSDrupalWeb StandardsThu, 31 Jul 2008 17:03:10 +0000Henrik Sjökvist14 at XStandard module version 1.0 released
/archive/2007/12/xstandard-module-version-10-released
<p>I've finally decided to roll out version 1.0 of my <a href="http://drupal.org/project/xstandard">XStandard module for Drupal</a>.</p>
<p>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 <a href="http://xstandard.com/en/documentation/xstandard-dev-guide/features/">feature list</a>.</p>
<p><a href="/archive/2007/12/xstandard-module-version-10-released" target="_blank">read more</a></p>/archive/2007/12/xstandard-module-version-10-released#commentsAccessibilityDrupalWeb StandardsTue, 25 Dec 2007 23:16:21 +0000Henrik Sjökvist9 at