(function($){
$.fn.datetime = function(o){
//默认配置
var def = {
year: 2012,//显示年
month: 5,//显示月
template:'<div class="clear h15 bsbtm_e"></div>\
<ul class="gray6 h30">\
<li class="fleft w20 pdtop1 pointer datetime_leftbtn"><span class="fright disp mtop10 black_left_icon"></span></li>\
<li class="fleft textcenter w180 datetime_showhtml">2012年4月</li>\
<li class="fleft pdtop1 w20 pdtop1 pointer datetime_rightbtn"><span class="fleft mleft5 black_right_icon disp mtop10"></span></li>\
</ul>\
<div class="pdleft5 pdright5">\
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="datetime_content textcenter gray6 h20">\
<tr>\
<th class="fb tcenter">日</th><th class="fb tcenter">一</th><th class="fb tcenter">二</th><th class="fb tcenter">三</th><th class="fb tcenter">四</th><th class="fb tcenter">五</th> <th class="fb tcenter">六</th>\
jquery - 日历插件(自定义模板的日历插件)
最新推荐文章于 2023-02-28 11:40:50 发布