Hello,

On 5/23/07, Maciej Stachowiak <[EMAIL PROTECTED]> wrote:

On May 23, 2007, at 10:02 AM, Charles Iliya Krempeaux wrote:

>
> So... perhaps we can come up with a way for them to get this effect,
> while preserving semantics.
>
> Maybe a new attribute?  "innerlabel" maybe... or something like that.
>
> So, maybe something like....
>
> <input type="search" innerlabel="search in vancouver...">
>
> (And this would have the effect described in the original post.  I.e.,
> a text input box with "search in vancouver..." inside of it.  When the
> use clicks in the text input box, that text disappears.)

Did you see the proposal to use WebKit's "placeholder" attribute for
this purpose? It already works the way you suggest.

Guess that's another reason to have an attribute like that in HTML5 :-)

--
   Charles Iliya Krempeaux, B.Sc.

   charles @ reptile.ca
   supercanadian @ gmail.com

   developer weblog: http://ChangeLog.ca/

Reply via email to