Henrik Sjökvist - Usability /taxonomy/term/5/0 en Spruce 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#comments Browsers Drupal JavaScript Usability Web Standards Fri, 29 Aug 2008 09:22:17 +0000 Henrik Sjökvist 13 at