javascript - Custom jQuery UI download with only datepicker doesn't include all css - Stack Overflow

I'm puzzled by what might be a really simple thing to do or understand.So I downloaded jQuery UI p

I'm puzzled by what might be a really simple thing to do or understand.

So I downloaded jQuery UI package with the themeroller with these settings. I only chose datepicker and a custom theme. But when I try to use it the calendar doesn't look right:

I'v added these to my test page:

<link rel="stylesheet" type="text/css" href='Scripts/jqueryui/css/redmond/jquery-ui-1.10.4.custom.min.css' />
<script type="text/javascript" src='<%= Page.ResolveUrl("~/Scripts/jquery-1.11.0.min.js") %>'></script>
<script type="text/javascript" src='<%= Page.ResolveUrl("~/Scripts/jqueryui/js/jquery-ui-1.10.4.custom.min.js") %>'></script>

After investigating more, I realized that the custom css file that was created for me doesn't include the class .ui-datepicker.

So the question is, is this by design? Do I need to add still another base jquery ui css-file? I did not see any mention of this if that is the case. And why is that not included in my package if I need to do that? Or is this a bug? What should I do to get a package that only includes the css/js I need for only datepicker?

Thanks!

I'm puzzled by what might be a really simple thing to do or understand.

So I downloaded jQuery UI package with the themeroller with these settings. I only chose datepicker and a custom theme. But when I try to use it the calendar doesn't look right:

I'v added these to my test page:

<link rel="stylesheet" type="text/css" href='Scripts/jqueryui/css/redmond/jquery-ui-1.10.4.custom.min.css' />
<script type="text/javascript" src='<%= Page.ResolveUrl("~/Scripts/jquery-1.11.0.min.js") %>'></script>
<script type="text/javascript" src='<%= Page.ResolveUrl("~/Scripts/jqueryui/js/jquery-ui-1.10.4.custom.min.js") %>'></script>

After investigating more, I realized that the custom css file that was created for me doesn't include the class .ui-datepicker.

So the question is, is this by design? Do I need to add still another base jquery ui css-file? I did not see any mention of this if that is the case. And why is that not included in my package if I need to do that? Or is this a bug? What should I do to get a package that only includes the css/js I need for only datepicker?

Thanks!

Share Improve this question edited Apr 11, 2014 at 10:18 Esko asked Apr 11, 2014 at 7:51 EskoEsko 4,2072 gold badges24 silver badges38 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 3

Try using this Google Code source

EDIT: got it. Simply u need to select the Widget tick like this page

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745281698a4620313.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信