Home  >  Article  >  Backend Development  >  求助:My97DatePicker 控件时间修改

求助:My97DatePicker 控件时间修改

WBOY
WBOYOriginal
2016-06-23 13:59:261090browse


哪位熟悉My97DatePicker 的帮个忙呗
我点击time里的秒就会弹出红色圈中的数字分别是0,10,20,30,40,50
现在我想让它们的间隔为30,只显示0,30,应该修改哪个文件?


回复讨论(解决方案)

WdatePicker.js 中
hmsMenuCfg:{H:[1,6],m:[5,6],s:[ 30,2]},
你原来的这个地方应该是 10,6

{H:[1,6] 含义是 间隔 1 小时,每行放 6 个
其他类同

WdatePicker.js 中
hmsMenuCfg:{H:[1,6],m:[5,6],s:[ 30,2]},
你原来的这个地方应该是 10,6

{H:[1,6] 含义是 间隔 1 小时,每行放 6 个
其他类同
我用的版本是My97 DatePicker 4.72 Release,没找到你说的这个代码

那就换个版本的,毕竟他也在不断地更新

你看看wdatepicker,js

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:awesome PHP之monologNext article:php实时显示当前时间