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

📄 input.asp

📁 大家好
💻 ASP
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>输入页面</title>
<style type="text/css">
<!--
.Button {  border-color: #CCFFCC #00FF00 #00FF00 #CCFFCC; background-color: #00FFCC; cursor: hand; color: #FF00FF; font-family: "楷体_GB2312"; font-size: 12pt; font-style: italic; border-style: solid; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px}
-->
</style>
<base target="_self">
<script Language='JavaScript'>
<!--
function InputOnload(str){
document.forms[0].newmsg.focus();
}

function selectwho(str){
document.forms[0].towho.value=str;
}

function SendMsg(){
document.forms[0].says.value='';
if (document.forms[0].newmsg.value!=''){
	document.forms[0].says.value=document.forms[0].newmsg.value;
	document.forms[0].newmsg.focus();
	document.forms[0].newmsg.value='';
	return true;}
return false;
}

function openURL(URL){
window.open(URL,'newwindow','menubar=0,toolbar=0,location=no,status=no,directories=0,scrollbars=1,width=400,height=300');
}

function select_onclick() {
    
    //window.document.FormMsg.says.value=window.document.FormMsg.select(window.document.FormMsg.select.selectedIndex).value;
    //window.document.FormMsg.newmsg.value=window.document.FormMsg.says.value;  
    //window.alert(window.document.FormMsg.newmsg.value);
    window.document.FormMsg.newmsg.value=window.document.FormMsg.select(window.document.FormMsg.select.selectedIndex).value; 
    document.FormMsg.newmsg.focus();
    //SendMsg(); 
}

-->
</script>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--

function select2_onclick() {
   switch(FormMsg.select2.selectedIndex){
      case 1:{ 
              window.open( "Clear.htm","Msg");
              break;
             }
      case 2:{ 
              window.open( "hand.asp?IsAuto=1","hand");
              break;
             }       
      case 3:{ 
              window.open( "hand.asp?IsOnlyToOne=1","hand");
              break;
             }
       case 4:{ 
              window.open( "help.htm");
              break;
             }
                    
   }  

}

//-->
</SCRIPT>
</head>

<body  onload="InputOnload();" bgcolor="#FFFFFF">
<table width="100%" border="0" bgcolor="#00CC99">
  <tr> 
    <td width="67%" valign="middle"> 
      <form name=FormMsg method=POST action='hand.asp' target='hand' onsubmit='return(SendMsg());'>
        <input TYPE="hidden" NAME="towho" VALUE="大家">
        <input TYPE="hidden" NAME="nicknamecolor" VALUE="#008888">
        <input TYPE="hidden" NAME="sayscolor" VALUE="#660099">
        <input TYPE="hidden" NAME="addsays" VALUE="对">
        <input TYPE="hidden" NAME="says" VALUE="">
        <input TYPE="hidden" NAME="IsOnlyToOne" VALUE="0">
        <input TYPE="hidden" NAME="picURL" VALUE="ball.gif">
        <table width="100%" border="0">
          <tr>
            <td width="38%">
              <input type="text" name="newmsg" size="45">
            </td>
            <td width="14%">
              <select name="select" onClick="return select_onclick()">
                <option selected>常用对话</option>
                <option value="//bye">后会有期</option>
                <option value="//faint">晕倒</option>
                <option value="//hi">打招呼</option>
                <option value="//shy">害羞</option>
                <option value="//agree">同意</option>
                <option value="//welcome">欢迎</option>
                <option value="//sorry">对不起</option>
                <option value="//help">帮助</option>
                <option value="//admire">奉承</option>
              </select>
            </td>
            <td width="16%">
              <select name="select2" onClick="return select2_onclick()" >
                <option selected>系统功能</option>
                <option>清屏</option>
                <option>滚屏</option>
                <option>密谈</option>
                <option>帮助</option>
              </select>
            </td>
            <td width="12%">
              
            </td>
            <td width="20%" align="right"> 
              <input type="button" name="Button" value="我要回家" language="javascript" onClick= "javascript:parent.window.close()" class="Button">
            </td>
          </tr>
        </table>
      
      </form>
    </td>
  
  </tr>
</table>

</body>

</html>

⌨️ 快捷键说明

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