Posted by Philip Ronan on 11/19/58 11:24
"Mark" wrote:
> Hi all
>
> I want to recreate the search box that is at the top right of most eBay
> pages.
>
> The aspect that I am specifically talking about, is the "START NEW SEARCH"
> test that is in the box by default, that disappears immediately you click in
> the text box.
Is this what you mean?
<INPUT type="text" value="Search" onfocus="if
(this.value==this.defaultValue) this.value='';" onblur="if (this.value=='')
this.value=this.defaultValue;">
--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/
[Back to original message]
|