Files
EasySoft-ZenTaoPMS/module/user/js/todo.js
2013-01-16 00:21:46 +00:00

16 lines
501 B
JavaScript

function changeDate(date)
{
location.href = createLink('user', 'todo', 'account=' + account + '&type=' + date.replace(/\-/g, ''));
}
startDate = new Date(1970, 1, 1);
$(".todo-date").datePicker({createButton:true, startDate:startDate, maxDate:'%y-%M-%d'})
.dpSetPosition($.dpConst.POS_TOP, $.dpConst.POS_LEFT)
.bind('click', function() {
$(this).dpDisplay();
this.blur();
return false;
});
$(".colorbox").colorbox({width:960, height:600, iframe:true, speed:350, scrolling:true});