开发者

jquery-ui : ThemeRoller > How to apply a specified theme?

开发者 https://www.devze.com 2022-12-31 10:44 出处:网络
i use the ThemeRoller from jquery UI, as follow : HTML: <div id=\"switcher\"></div> jQuery: $开发者_开发问答(\'#switcher\').themeswitcher({ .... });

i use the ThemeRoller from jquery UI, as follow :

     HTML: <div id="switcher"></div>

     jQuery: $开发者_开发问答('#switcher').themeswitcher({ .... });  

How to apply a specified theme (for example : "Start") when i click on a input button ?


In fact, I did not find solution to my problem, although I took time to do it!

In other words here is my problem: i would like to offer the user only 3 themes for the UI, e.g. "Smoothness, Start and Flick". To change and choose the next theme, the user simply presses an "input button".

How to do it ?


Try the solution given here:

http://www.filamentgroup.com/lab/using_multiple_jquery_ui_themes_on_a_single_page/

HTH

0

精彩评论

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