需要一个响应的datepicker而不是pickadate.js [英] Need a responsive datepicker rather than pickadate.js

查看:373
本文介绍了需要一个响应的datepicker而不是pickadate.js的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个适合旅行网站的日期选择器。我尝试过大量的Google搜索,但是除了pickadate.js之外找不到任何响应日期选择器,但是我想同时显示两个月...

I need a responsive date picker for travel site. I've tried lots of Google searches but can't find any responsive date picker except pickadate.js but I want to show two months at a time...

我也试图使jQueryUI日期选择器响应如下:

I also tried to make the jQueryUI date picker responsive like:

 @media (max-width: 480px) {    
   #ui-datepicker-div{ width:70%!important;}
  .ui-datepicker-multi, .ui-datepicker-group {float: none!important;}
  .ui-datepicker-multi-2 .ui-datepicker-group{width:100%!important;}
}

但问题是压光机向上打开方向;见附件

but the problem is the calender open in up direction; see the attached photo

推荐答案

尝试使用这个,

jtsage / jquery-mobile-datebox

OR

jQuery UI的日期戳标样式为移动

这篇关于需要一个响应的datepicker而不是pickadate.js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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