I actually did the magnifying glass deal.
Code:
Search: <input id="UDSearchField" class="searchBox" name="q" size="24" onfocus='javascript: document.getElementById("UDSearchField").setAttribute("class", "");' onblur='javascript: document.getElementById("UDSearchField").setAttribute("class", "searchBox");' maxlength="256" value="" type="text" />
and the css
Code:
#UDSearchField {font: 11px Arial, Helvetica, Verdana, sans-serif;height: 12px;margin: 4px 0 0 0;padding:2px 5px 3px;border: 1px solid #7F9DB9;outline-style: none;}
.searchBox{background:url('/images/icon_magglass.gif') no-repeat; padding-left:20px;}
essentially what happens is the mag glass is there until you click in the field.
Bookmarks