- 博客(6)
- 资源 (2)
- 收藏
- 关注
转载 解决Eclipse打开UTF-8文件乱码的几种方式
eclipse的中文乱码问题,多是由操作系统平台编码的不一致导致,将Linux和Windows下的eclipse/Myeclipse项目源码在不同平台间的拷贝,都会出现乱码,原因就是中文字符编码的不一致。
2015-08-04 11:28:06
7138
转载 ubuntu 14.04 安装chrome及给chromium 安装 flash player
在网上尝试很多方法,大多数是拷贝 libflashplayer.so,尝试之后,没有用。
2015-07-29 16:19:59
267
mobile-calendar
mobile-calendar
简易版移动端版日期插件,没第三方库依赖
安装
# 安装 mobile-calendar
npm install --save mobile-calendar
引入方式和使用
<link rel="stylesheet" href="/dist/calendar.min.css">
<script src="/dist/calendar.min.js"></script>
<input type="text" class="calendars" />
API
通过在元素上添加属性的方式
start-year 开始年份 String defalut:1915
end-year 结束年份 String defalut:2050
start-date 起始日期 String defalut:当前日期
min-date 起始日期 String defalut:null
max-date 起始日期 String defalut:null
format 显示的格式 String defalut:'yy/mm/dd' 只支持 yy/mm/dd 或 yy-mm-dd
shield 指定禁用日期 Array defalut:undefined 例: shield="[2015/3/8, 2015/3/9]"
past 不可选择过去日期 defalut:false 只需要设置属性即可,不需要值
hours 可以选择时间 defalut:false 只需要设置属性即可,不需要值
hours-past 不可选择过去时间 defalut:false 只需要设置属性即可,不需要值
2020-03-10
mobile-calendar-master.zip
How to use
Download mobile-calendar folder and include it in your HTML document :
<link href="./mobile-calendar/index.css" rel="stylesheet" type="text/css" />
<script src="./mobile-calendar/index.js"></script>
$(document).date();
//or
$(document).date({
theme:"date",
fromat: 'yyyy/mm/dd'
});
Of course, in your HTML you should add <div id="datePlugin"></div>. Or you can refer to my demo: ./test/index.html
Parameters
theme:default data , only show date;datetime show date and time.
fromat:Style . default yyyy/mm/dd and yyyy/mm/dd hh:ii. Example:
yyyy-mm-dd and yyyy-mm-dd hh:ii
yyyy年mm月dd日 and yyyy年mm月dd日 hh时ii分
2020-03-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人