2010年8月10日火曜日

jQuery UIの Themeを簡単に切り替えて見せられる Widget

jQuery UI - Documentation: UI/Theming/ThemeSwitcher
Theme Switcher Widget

If you have a demo page using the jQuery UI CSS Framework, you can easily add our theme switcher widget to your page to show off a variety of themes. This is also very useful for development as it can reveal areas where your CSS is not quite flexible enough to be fully themeable using our framework.

To put a Theme Switcher Widget on any page, simply add a script tag referencing our plugin and call themeswitcher(); on any element to which you'd like to append the widget. Here's a code sample:

Bookmarklet版よりもスマートで良い。
WidgetはCSSで"posion:aboslut;top:0:right:0"とかした方が使いやすい場合が多い。

jQuery UIのトップページからこれを探しにくいのが難点。

0 件のコメント:

ブログ アーカイブ

カテゴリー