You are here: Re: Creating an eBay style search form... « HTML « IT news, forums, messages
Re: Creating an eBay style search form...

Posted by Jasen Betts on 08/24/05 16:40

In article <1124363346.4748cc1f2b359c6ed4061513fe72c2c8@teranews>, 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.
>
> I have looked at the source code for the page but nothing is jumping out at
> me...
>
> Any ideas?

<input type="text" name="this" value="START NEW SEARCH"
onfocus="if (this.value == 'START NEW SEARCH') this.value='';" >

or something similar.

Bye.
Jasen

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация