modify search.php Hi -
I've modified search.php, so that the text "enter keyword" initially appears in the search field when a page loads. What I would like to have happen is that the words "enter keyword" disappears as soon as someone clicks in the search box so that they can enter the keyword they would like to search for.
This is what I have so far -
$boxContent .= tep_draw_hidden_field('search_in_description','1') . tep_draw_input_field('keywords', 'enter keyword', 'size="12" maxlength="30" ') . ' ' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>';
If you look at lands' end's web site, their search box behaves the way I want the oscMax search box to behave.
With my solution so far, the person needs to highlight "enter keyword" and manually delete it before they type in the keyword they want to search on.
All pointers are greatly appreciated. Thank you!
Barb |