One of my coworkers has shown me a very nice little U.I. feature that the youTube (account) interface provides.
If you start to type Arabic text into a textarea or text input, the form element’s direction attribute automatically gets set to “rtl” (right to left), the correct direction for Arabic text. Should you type in standard Latin text, the direction gets set to “ltr” (left to right); again, the correct direction for Latin text.
Posted Dec 12, 2008 · Read more…
