开发者

jQuery language switcher?

Is there a langua开发者_运维知识库ge switcher plugin for jQuery?

It just should be a dropdown menu with languages and their flags. When you click on a language, it should add a ?lang=xx to the current URL. I know it's simple to code, but then I have to search flag icons, and I'm lazy :)


I now use http://wiki.jqueryui.com/Selectmenu with the flags from @Matt Ball's tip: http://www.famfamfam.com/lab/icons/flags/.
I did it myself because nothing could look better in my "jQuery UI looking" site than another UI widget.


'Polyglot' Language Switcher 2
jQuery Slide-Down Language Selector

...you'll still have to find your own flags if you want 'em. You're going to have more trouble implementing this that you would a single <select> box though.

Personally, my favorite is one found on Lutron's homepage (I might be biased since I worked on the site a bit).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜