Topic “JavaScript”

HCI Niceties

One huge peeve of mine is the addition of JavaScript that uses the body onload event to trigger a focus() call to put the cursor into the login field.

I know it’s well intentioned, and probably works fine for all those fortunate enough to have broadband access.

If you’re stuck with dial-up, however, you often find yourself filling out a login form while you wait for the rest of the page to load. I can tell you from repeated experience that it is DAMN annoying to be halfway through entering your password, only to have your cursor picked up and dropped back in the username field.

Why not spruce up that ‘onload’ call to first check and see whether the the username field is empty? If yes, by all means focus on it. If no, assume somebody’s already filled it in.

Syndicate content
Syndicate content

Twitter

  • The Bruins' inconsistency is nothing if not consistent. #bruins #epicfail 4 years 14 weeks ago
  • Test-driving Netbeans for PHP/#Drupal development, quite nice so far. Good autocomplete support & nbgit plugin may obviate GitX. 4 years 14 weeks ago
  • RT @tommysalami: catchy song becomes national disease: The Hut Sut Song http://youtu.be/7kKU1S0lWxo 4 years 14 weeks ago
  • Kudos to Garrett Albright for the Zenophile module for #drupal - quite handy! http://bit.ly/bg0OyD 4 years 14 weeks ago
  • @wstites There is an admittedly fine line when it comes to talking about "social media expertise". 4 years 14 weeks ago

Older

Contact

Andy Chase
(978) 297-6402
andychase [at] gmail.com
GPG/PGP Public Key