The Artima Developer Community
Sponsored Link

Java Buzz Forum
To focus() or not to focus()

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
To focus() or not to focus() Posted: Dec 31, 2006 9:53 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: To focus() or not to focus()
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement

I remember getting frustrated going to a search site that wouldn't focus() on the only element on the page. Do not make me tab or mouse click in there!

For the first time I have seen the other side of the coin. I am used to using the space bar to jump down the page (both with mobile and computer). Since I have snazzed up google.com with a personalized home, I often go there to NOT just search for something, but to rather get a glimpse of my word.

When this happens, I hit space to go down and then wonder why nothing has happened for a micro-second, until I realise that the search element is auto focused and I am typing in space characters.

Hmm, so sometimes I want it focused (when I go to google.com for a search, which is rarer since these days you normally search from the browser chrome itself), and other times I don't. To make things work, I wish that the app would capture the keypress, and if it is anything other than A-z0-9"' don't type it in (so space would still scroll down. Of course, this is just for the first keypress.

Read: To focus() or not to focus()

Topic: Bigger And Better Flag Images For Angsuman's Translator Plugin Pro (for WordPress) Previous Topic   Next Topic Topic: Book excerpt: Using WSIF for integration

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use