← Back to team overview

gwibber-team team mailing list archive

set notices direction automatically

 

hi guys

i have made a simple jquery plugin that detects language & can
set class/css/dir to elements that contains (at beggining or at end)
right-to-left languages! i have inregrated it to gwibber!

so gwibber will set direction of notice depending on notice
contents! it currently supports more than 8 languages (like:
Hebrew, Persian, ...)

example: http://i44.tinypic.com/e6rf69.png

i have attached my modified theme to email. it's an initial
version so i wait for reports :)

detection is based on:
  1. http://www.unicode.org/charts/
  2. http://www.i18nguy.com/temp/rtl.html

happy nowrooz :) - http://en.wikipedia.org/wiki/Nowrooz

-- 
You Rock! Your E-Mail Should Too! Signup Now at Rock.com and get 250MB of Storage!

http://webmail.rock.com/signup/

Attachment: default.tar.bz2
Description: Binary data