jquery基于bootstrap自定义双日期选择器插件

所属分类: 网页特效-日期时间    2023-11-26 04:11:31

jquery基于bootstrap自定义双日期选择器插件 ie兼容6
 查看演示  登录后下载 温馨提示
登录会员即可享受免费下载
 我要建站

jquery基于bootstrap自定义双日期选择器插件(共3个文件)

    • index.html

使用方法

var date = new Date();
var today = new Date(date.getFullYear(), date.getMonth(), date.getDate());

var optSimple = {
  format: 'mm-dd-yyyy',
  todayHighlight: true,
  orientation: 'bottom right',
  autoclose: true,
  container: '#sandbox'
};

var optComponent = {
  format: 'mm-dd-yyyy',
  container: '#datePicker',
  orientation: 'auto top',
  todayHighlight: true,
  autoclose: true
};

// SIMPLE
$( '#simple' ).datepicker( optSimple );

// COMPONENT
$( '#datePicker' ).datepicker( optComponent );

// ===================================

$( '#datepicker1' ).datepicker({
  format: "mm : dd : yyyy",
  todayHighlight: true,
  autoclose: true,
  container: '#box1',
  orientation: 'top right'
});

$( '#datepicker2' ).datepicker({
  format: 'mm \\\\ dd \\\\ yyyy',
  todayHighlight: true,
  autoclose: true,
  container: '#box2',
  orientation: 'top right'
});

$( '#datepicker1, #datepicker2, #simple, #datePicker' ).datepicker( 'setDate', today );

站长提示:
1. 苦力吧素材官方QQ群:950875342
2. 平台上所有素材资源,需注册登录会员方能正常下载。
3. 会员用户积极反馈网站、素材资源BUG或错误问题,每次奖励2K币
4. PHP源码类素材,如需协助安装调试,或你有二次开发需求,可联系苦力吧客服。
5. 付费素材资源,需充值后方能下载,如有任何疑问可直接联系苦力吧客服
相关资源 / 日期时间

jquery响应式超漂亮的事件日历插件

evo-calendar是一个响应式自定义的事件日历插件,可在日期中标记当天有无事件信息,点击即可在右侧显示事件内容。
  日期时间
 41069  0

jquery显示当前本地时间模拟时钟插件

jquery显示当前本地时间模拟时钟特效!
  日期时间
 5844  0

SVG创建的带有进度倒计时的循环时钟特效

一款环状SVG圆形进度在线时钟特效代码,该方法计算小时、分钟和秒的时间百分比。它用不同的圆圈表示时间,这个时钟直观的显示了当前时间的进程。
  日期时间
 81124  0

HTML5&SVG彩色线条动画在线时钟特效代码

一款彩色的数字时钟动画特效,时钟显示当前时间:时分秒,呈现多个颜色的线条在时钟数字上不停的移动,非常的有动感好看。
  日期时间
 8841  0

评论数(0) 回复有机会获得K币 用户协议

^_^ 还没有人评论,快来抢个沙发!
😀
  • 😀
  • 😊
  • 😂
  • 😍
  • 😑
  • 😷
  • 😵
  • 😛
  • 😣
  • 😱
  • 😋
  • 😎
  • 😵
  • 😕
  • 😶
  • 😚
  • 😜
  • 😭
发表评论