www.webdeveloper.com
Results 1 to 2 of 2

Thread: textbox keyboard layout

  1. #1
    Join Date
    May 2003
    Posts
    3

    textbox keyboard layout

    I wonder whether it is possible to change the keyboard layout when getting focus on a new textbox...

    When moving from one textbox to the next the language of the keyboard changes automatically instead of pressing alt+shift.

  2. #2
    Join Date
    Feb 2003
    Location
    Michigan, USA
    Posts
    5,773
    At www.w3schools.com in the CSS pseudo-class section, there is a :lang pseudo-class that you can specify for any element.

    I've never played around with it, but you can specify what language is used in any given element, and it goes a little something like this:

    tag.class:lang(language) {}

    * You can leave out the ".class" if you want, then it's just:

    tag:lang(language) {}

    Since I've never played around with this, I don't have much more info. Also, try reading the following page:

    http://www.w3.org/TR/REC-CSS2/selector.html#lang

    It's a good place to start. The only problem is, only the newest browsers are going to have support for this. In fact, I'd bet a six-pack that IE/PC doesn't support the :lang attribute. NS 7 and Mozilla >1.0 will probably support it though.

    The six-pack could be Labat, but preferably Killian's. Or Root Beer if you're under 21

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles