⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 calendardlg.js

📁 博克后台的开发,有很多使用的方法和例子可以提供给大家学习
💻 JS
字号:
function CalendarDlg(ctrlobj)
{
	showx = event.screenX - event.offsetX - 4 - 10 ; // + deltaX;
	showy = event.screenY - event.offsetY -168; // + deltaY;
	newWINwidth = 210 + 4 + 18;

	retval = window.showModalDialog("/wsm/js/cis/calendar.htm", "", "dialogWidth:197px; dialogHeight:210px; dialogLeft:"+showx+"px; dialogTop:"+showy+"px; status:no; directories:yes;scrollbars:no;Resizable:no; "  );
	if( retval != null ){
		ctrlobj.value = retval;
	}
}
function CalendarSDlg(ctrlobj)
{
  showx = event.screenX - event.offsetX - 4 - 10 ; // + deltaX;
  showy = event.screenY - event.offsetY -168; // + deltaY;
  newWINwidth = 210 + 4 + 18;

  retval = window.showModalDialog("/wsm/js/cis/calendar.htm", "", "dialogWidth:197px; dialogHeight:210px; dialogLeft:"+showx+"px; dialogTop:"+showy+"px; status:no; directories:yes;scrollbars:no;Resizable:no; "  );
  if( retval != null ){
    ctrlobj.value = retval+" 00:00:00";
  }
}
function CalendarLDlg(ctrlobj)
{
  showx = event.screenX - event.offsetX - 4 - 10 ; // + deltaX;
  showy = event.screenY - event.offsetY -168; // + deltaY;
  newWINwidth = 210 + 4 + 18;

  retval = window.showModalDialog("/wsm/js/cis/calendar.htm", "", "dialogWidth:197px; dialogHeight:210px; dialogLeft:"+showx+"px; dialogTop:"+showy+"px; status:no; directories:yes;scrollbars:no;Resizable:no; "  );
  if( retval != null ){
    ctrlobj.value = retval+" 23:59:59";
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -