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

📄 flow.htm

📁 vml 资料,安例精彩,希望对大家有帮助
💻 HTM
字号:
<html>
<head>
<title>流程图属性</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Generator" content="EditPlus">
<meta name="Author" content="Hi,Hi(support@tops.com.cn)">
<meta name="Keywords" content="TopFlow,Tops,WebFlow,在线工作流,http://www.tops.com.cn/">
<meta name="Description" content="流程图属性设置">
<link rel="stylesheet" type="text/css" href="css/style.css">
<script language=jscript src="js/common.js"></script>
<style>
</style>
<script language="JavaScript">
<!--
function getValue(){
  frm.txtFileName.value = Para.FileName;
  frm.txtText.value = Para.Text;
  frm.txtPwd.value = Para.Password;
  frm.txtFileName.readOnly = (Para.FileName == "default.xml");
}

function setValue(){
  Para.FileName = frm.txtFileName.value;
  Para.Text = frm.txtText.value;
  Para.Password = frm.txtPwd.value;
}

function btnOk_onClick(){
  try{
    if(!checkFormRule(frm)) return;
    setValue();
    window.returnValue = true;
    window.close();
  }
  catch(e){
    alert(e);    
  }
}

//-->
</script>
</head>
<body>
<form name="frm" action="" method="GET">
<table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="100%" height="80%" align="center">
      <fieldset><legend>流程图属性</legend> 
      <table width="95%" height="80%" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr>
          <td height="24" width="25%" nowrap>文件名</td>
          <td height="24">
             <input type="text" style="width:120px;" name="txtFileName" maxlength="15"rule="^[a-z0-9.]{1,10}.xml$" msg="[文件名]请输入1-15位小写字母或数字的组合,扩展名为xml!">
          </td>
        </tr>
        <tr>
          <td height="24" width="25%" nowrap>文件描述</td>
          <td height="24">
             <input type="text" style="width:120px;" name="txtText" maxlength="15"  rule="^\S+$" msg="[文件描述]不能为空且不能包含空字符如空格、TAB等!">
          </td>
        </tr>
        <tr>
          <td height="24" width="25%" nowrap>打开密码</td>
          <td height="24">
             <input type="password" style="width:120px;" name="txtPwd" maxlength="10"  rule="^[\w]*$" msg="[打开密码]请输入1-10位字母或数字!">
          </td>
        </tr>
      </table>
      </fieldset><br>
    </td>
  </tr>
  <tr height="40"> 
    <td align="right"> 
      <input type=button id="btnOk" class=MainButton value="确 定" onclick="btnOk_onClick(this);">
      <input type=button id="btnCancel" class=MainButton value="取 消" onclick="window.close();">
      &nbsp;&nbsp;&nbsp;&nbsp; </td>
  </tr>
</table>
</form>
</body>
<script language="JavaScript">
<!--
var Para = window.dialogArguments;
getValue();
//-->
</script>
</html>
<!---->

⌨️ 快捷键说明

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