同一页面上的两个不同的jQuery UI主题 [英] Two different jQuery UI themes on the same page

查看:101
本文介绍了同一页面上的两个不同的jQuery UI主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在同一页面上有两个不同的jQuery UI手风琴菜单,但我希望它们具有不同的主题.这可能吗?

I want to have two different jQuery UI accordion menus on the same page, but I want them to have different themes. Is this possible?

推荐答案

绝对. jQuery UI CSS框架具有可靠且完整的主题解决方案.只需为您的手风琴提供单独的CSS类-jQuery UI类本质上就是语义-然后就可以使用!让我知道您是否想举个例子.

Absolutely. The jQuery UI CSS Framework has a robust and complete theming solution. Just give your accordions separate CSS classes - jQuery UI classes are semantic in nature - and off you go! Let me know if you'd like an example.

有许多不同的方法可以执行此操作,具体取决于您的需求.有关如何使用的更多信息,请参见此页面的底部.用手风琴主题化

There are many different ways to do this, depending on what your needs are. See the bottom part of this page for more information on how to use theme-ing with the accordion

这篇关于同一页面上的两个不同的jQuery UI主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆