Bill Moseley wrote:
At 11:59 PM 03/04/02 +0800, Stas Bekman wrote:

OK, I've brought the submit button back. Though I've called it 'go' and left the search title in front. The best of all worlds? Or is it still bad. Looks horrible in NS4, but I gave up on this one.


How about just a button that says "search"? I think whatever we do it people will figure it out. I think search and a go button is overkill.

ok

Tried that. but then it's not obvious that we have a button. I think if we use a shorter submit button, like I've added it will not look too outstanding/prominent.


At least it is a button, unlike the word "search".



I have used javascript to place the cursor in the field before, and feel
like that is a reasonable thing to do, as it doesn't really change what
happens on the page if they don't have javascript enabled, and it means you
can just type and hit enter.

do you really think it worth the risk of having js messing up someones browser?


Seems far more likely that CSS will mess up someone's browser ;). As Wim says, google uses it, and we all like google.

CSS may render pages in a weird way, but the site will be still usable. I saw enough js that won't let me use the page and pop up js errors all the time.


Personally I'm used that most sites don't focus automatically, so I'm always
clicking to focus anyway. Are you habits different?



On a page that has all hytertext and a single box, the focus is nice. A tiny problem is that if you hit enter it tries to search, when maybe you didn't intend to search.

Depends on the site, and how you are using it.  For me, I would often times
go to perl.apache.org, and do a search first thing, since I typically know
(or think I know) what I'm looking for.  So in that case it's nice not to
have to click in the box first.

thanks Bill, what others think?
in any case please send me the snippet I should add. depending on what others think we decide whether we add it or not. sounds good?


_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to