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

求助:My97DatePicker 控件时间修改

WBOY
Release: 2016-06-23 13:59:26
Original
1143 people have browsed it


哪位熟悉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

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template