码迷,mamicode.com
首页 > Web开发 > 详细

时间选择插件 Jquery

时间:2014-12-01 12:48:06      阅读:298      评论:0      收藏:0      [点我收藏+]

标签:android   style   blog   http   io   ar   color   os   sp   

//    时间选择
        var currYear = (new Date()).getFullYear()
        var opt_data = {
             preset: ‘date‘, //日期
              theme: ‘android-ics  light‘,  //皮肤其他参数【android-ics light】【android-ics】【ios】【jqm】【sense-ui】【wp light】【wp】
            display: ‘modal‘, //显示方式
               mode: ‘mixed‘, //操作方式【scroller】【clickpick】【mixed】
         dateFormat: ‘yy-mm-dd‘, // 日期格式
            setText: ‘确定‘, //确认按钮名称
         cancelText: ‘取消‘,//取消按钮名籍我
          dateOrder: ‘yymmdd‘, //面板中日期排列格式
           yearText: ‘年‘, monthText: ‘月‘,  dayText: ‘日‘,  //面板中年月日文字
            endYear:2020, //结束年份
            showNow:true,
            nowText:‘今天‘,
           hourText:‘小时‘,
         minuteText:‘分‘,
           startYear:currYear, 
            display:‘bottom‘,//显示方式【modal】【inline】【bubble】【top】【bottom】
        };
        $("#demos").mobiscroll(opt_data);


插件的css和js


http://files.cnblogs.com/xinlinux/mobiscroll.custom-2.6.2.min.css

http://files.cnblogs.com/xinlinux/mobiscroll.custom-2.6.2.min.js





微信分享:

window.shareData = {
"imgUrl": "http://wx.podapi.com/resource/attachment/headimg_135.jpg",
"timeLineLink": "http://wx.podapi.com/index.php?act=module&do=lostDetails&name=edu&weid=135&id=&page=&type=lost",
"tTitle": "",
"tContent": ""
};

 

时间选择插件 Jquery

标签:android   style   blog   http   io   ar   color   os   sp   

原文地址:http://www.cnblogs.com/xinlinux/p/4134717.html

踩
(0)
赞
(0)
   
举报
评论 一句话评论(0)
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!