Tae*_*hin 1 themes asp.net-mvc-4
好像我可以从jquery网站下载我喜欢的jquery主题来创建新的主题.但是在我的MVC网站上这并没有太大变化.谁能告诉我如何在MVC4应用程序中更改主题?
小智 5
据我了解你的问题:
如何使用jquery ui主题滚轮中的自定义生成主题替换MVC4应用程序中的基本主题?
我的步骤为我的剃刀MVC4 visual studio 2012应用程序创建了一些用于Intranet应用程序的MS标准模板.jQueryUI已经安装在我的应用程序中,其基本主题来自nuget.
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include("~/Scripts/jquery-ui-1.10.1.js"));bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include("~/Scripts/jquery-ui-1.10.3.custom.js"));bundles.Add(new StyleBundle("~/Content/themes/my-theme/css").Include(
"~/Content/themes/my-theme/jquery-ui-1.10.3.custom.css"));
//bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
// "~/Content/themes/base/jquery.ui.core.css",
// "~/Content/themes/base/jquery.ui.resizable.css",
// ...@Styles.Render("~/Content/themes/kjr-theme/css")
@Styles.Render("~/Content/themes/base/css")如果有更好或更清晰的方法来替换MVC4应用程序中的主题,请告诉我!
迈克尔
| 归档时间: |
|
| 查看次数: |
10440 次 |
| 最近记录: |