jQuery UI Multi Date Picker停止在日期选择中旋转月份 [英] jQuery UI Multi Date Picker Stop rotating months on date select

查看:100
本文介绍了jQuery UI Multi Date Picker停止在日期选择中旋转月份的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请检查下面的小提琴.当在任何日历上选择日期作为第一个日历时,控件将旋转以使该日历成为第一个日历.我想停止这种行为.

Please check the fiddle below. When a date is selected on any calander accept first one, control rotates to make that calendar first one. I want to stop this behavior.

http://jsfiddle.net/URcqn/8/

我正在使用一个名为Multi Date Picker的插件,但它基本上是jQuery Date Picker.当您选择第2个月或第3个月中的日期时,控件会旋转月份,以使我在第一个日历上选择日期的月份.如何停止这种行为?

I am using a plugin called Multi Date Picker, but it is basically jQuery Date Picker. When you select a date in 2nd or 3rd month the control rotates months to make the month i selected date on first calendar. How can I stop this behavior ??

推荐答案

尝试使用 jQuery Datepicker 具有您要的功能.就个人而言,我不喜欢UI,但是您可以将其替换为Jquery-UI.

Try using Jquery Datepicker which has the feature you are asking for. Personally, i didnt like the UI but you can replace it with Jquery-UI.

此外,该页面上的导航是:您将看到n个选项卡,选择月"选项卡,并看到最后一个示例,它具有多个日期选择器,其行为可以使月份停止轮换.

Also, the navigation on that page is: You will see some n number of tabs, select "months" tab and see the last example it has multi date picker with behaviour to stop rotation of months.

有可用的代码... Njoy !!!

Code is available... Njoy!!!

这篇关于jQuery UI Multi Date Picker停止在日期选择中旋转月份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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