首页 > Web开发 > 详细

时间选择插件 Jquery

时间:2014-12-01 12:45:42      阅读:215      评论:0      收藏:0      [点我收藏+]
//    时间选择
        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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!