如何更改 jQuery UI 日期选择器的主题?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1309601/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-26 11:11:40  来源:igfitidea点击:

How to change the theme of jQuery UI datepicker?

jqueryjquery-uijquery-ui-datepicker

提问by leora

I have been testing and playing around with jquery date picker below.

我一直在测试和使用下面的 jquery 日期选择器。

http://jqueryui.com/demos/datepicker/

http://jqueryui.com/demos/datepicker/

on this page, you can click on different links and it will change the whole formatting of the datepicker (colors, etc) when i download and test it, its coming up with a theme that i dont like.

在这个页面上,你可以点击不同的链接,当我下载和测试它时,它会改变日期选择器的整个格式(颜色等),它提出了一个我不喜欢的主题。

How can I change the theme of my own website for this datepicker?

如何为这个日期选择器更改我自己网站的主题?

采纳答案by Marc

In addition to Chris's answer, a more direct link is here.Using themeroller, you can choose to use either a pre-built theme or .. well.. roll your own.

除了Chris 的回答这里还有一个更直接的链接。使用themeroller,您可以选择使用预先构建的主题或……好吧……推出您自己的主题。



Instructions on how to use the themeroller is located here

有关如何使用 themeroller 的说明位于此处

回答by escist

See this page http://learn.jquery.com/jquery-ui/getting-started, section titled "After downloading: Intro to using jQuery UI."

看到这个页面http://learn.jquery.com/jquery-ui/getting-started章“下载后:介绍使用jQuery UI。

回答by Chris Missal

You can go to http://jqueryui.com/and pick a new one.

您可以访问http://jqueryui.com/并选择一个新的。