1, the introduction of JS file<script language= "javascript" src= "Js/my97datepicker/wdatepicker.js" ></script>
2,JS Code<script language= "JavaScript" > Function Createtime () {Wdatepicker ({datefmt: ' Yyyy-mm-dd ', mindate: ' 2010-10-01 ') , MaxDate: ' 2012-10-01 '}); } </script>
3,html Code<input type= "text" id= "Counttimestart" onfocus= "Createtime ()"/>
4, introduceThis is the most basic use method, if you need to increase or decrease the content, you can change the Wdatepicker (), the function of the parameter implementation.
My97datepicker Directory is a whole, not to destroy the inside of the directory structure, also can not be renamed inside the file, you may change the directory name
My97datepicker.htm is a required file and cannot be deleted (4.8 does not exist after this file)
Purpose of each catalogue and document:
Wdatepicker.js configuration file, only use the file at the call place, can be multiple coexistence, named in Xx_wdatepicker.js Way
Config.js language and skin profiles, without introduction (merge into wdatepicker.js after 4.8)
Calendar.js Date Library Master file, no need to introduce
My97datepicker.htm temporary paging file, not deleted (4.8 does not exist after this file)
Directory Lang holds language files, you can clean or add language files as needed
Directory skin The skin files, you can clean or add skin packages as needed
When the Wdatepicker.js attributes: $wdate =true, add class= "wdate" in the input box will appear on the right side of the selection of the date icon, if you do not like this style, you can class= "wdate" removed, In addition, you can modify the Wdatepicker.css file in the skin directory to change the browser IE 6.0+, Firefox 2.0+, Chrome, Opera 9.5+, Safari 3.0+, a very easy to use The date control, the function is very excellent, absolutely you always want the date control, not much said, download the address. Demo address: http://www.my97.net/dp/demo/download 1:http://www.cnblogs.com/files/my97/my97datepicker.rar Download 2:http://my97.net/ Dp/down/my97datepicker.rar Technical Support: http://www.my97.net/dp/support.asp Skin Center: http://www.my97.net/dp/skin.asp