使用 jQuery UI 主题滚轮自定义主题实现问题

Using jQuery UI ThemeRoller Custom Theme Implementation Issue

本文关键字:自定义 实现 问题 jQuery 使用 UI      更新时间:2023-09-26

我只是使用主题滚轮并下载主题,我无法实现它我尝试导入文件,但是当我为日期选择器添加输入时,它仍然只是文本框......如何使用这个我只需要"日期选择器"我做错了什么?感谢任何帮助。

<html>
<head>
    <script src="~/Content/jquery.js"></script>
    <link href="~/Content/jquery-ui.min.css" rel="stylesheet" />
    <script src="~/Content/jquery-ui.min.js"></script>
    <link href="~/Content/jquery-ui.structure.min.css" rel="stylesheet" />
    <link href="~/Content/jquery-ui.theme.min.css" rel="stylesheet" />
    <title>Test</title>
</head>
<body>
    <div> 
        <input id="date" type="text" />
    </div>
</body>
</html>

<script>
   $(function() {
      $('#date').datepicker();
         });
</script>

这些足以使自定义ThemeRoller工作(当然还要添加图像)

<link href="~/jquery-ui.min.css" rel="stylesheet" />
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>

希望它能帮助其他正在寻找jQuery UI自定义主题滚轮实现的人。