文本框多行 变更

    技术2022-05-11  74

    <html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><link rel="stylesheet" href="../css/top.css" type="text/css"><STYLE type=text/css><!--TD{ line-height:150%; font-size: 12px;}A:link { TEXT-DECORATION: none; font-size: 12px; line-height: 120%;}A:visited { TEXT-DECORATION: none; font-size: 12px; line-height: 120%;}A:hover { COLOR:red; TEXT-DECORATION: underline; font-size: 12px; line-height: 120%;}A:active { COLOR:red; TEXT-DECORATION: none;} .f01 {color: #FF0000;}.style4 {color: #000000}.style16 {font-size: 10pt}.tab_01 {height: 26px;}.aaa { line-height: 21px;}

    --></STYLE><script language="JavaScript" type="text/JavaScript"><!--function MM_reloadPage(init) {  //reloads the window if Nav4 resized  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; οnresize=MM_reloadPage; }}  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();}MM_reloadPage(true);//--></script></head>

    <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0"><center>  <table width="960" border="0" cellspacing="0" cellpadding="0">    <tr>      <td width="744" align="right" valign="top"><table width="734" height="90" border="0" align="left" cellpadding="0" cellspacing="1" bgcolor="#6BC331">        <tr>          <td width="722" height="88" background="http://www.120ask.com/images/ask_bg.gif" bgcolor="#C6FF9C"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">              <tr valign="top">                <td height="42" colspan="2"><table width="675" height="38"  border="0" align="center" cellpadding="0" cellspacing="0">                    <form action="http://www.120ask.com/Ask.asp" method="get" target="_blank" name="askandsearch">                      <tr>                        <td width="14" height="38" style="padding-left: 8px;  padding-right: 5px; "> </td>                        <td width="476" style="padding-left: 8px;  padding-right: 5px; "><input name="key" type="text" class="tab_01" style="BORDER-BOTTOM: #6BC310 1px solid; BORDER-LEFT: #6BC310 1px solid; BORDER-RIGHT: #6BC310 1px solid; BORDER-TOP: #6BC310 1px solid" value="" size="65" height="20" onClick="flush()"></td>                        <td width="185" style="padding-left: 8px;  padding-right: 5px; "><img  style="cursor: hand" src="http://www.120ask.com/iframe/images/asktg_01.gif" name="Submit22" width="80" height="23" onClick="javascript:flush();if(document.askandsearch.key.value==''){alert('请输入要提问的内容!');return false;}else{window.open('/Ask.Asp?title='+document.askandsearch.key.value);}" type="image"><img style="cursor: hand" src="http://www.120ask.com/iframe/images/asktg_02.gif" name="Submit2" width="80" height="23"  onClick="javascript:if(document.askandsearch.key.value==''){alert('请输入要搜索的内容!');return false;}else{window.open('http://www.120so.com/search.aspx?cols=13&query='+document.askandsearch.key.value);}" type="image"> </td>                      </tr>                    </form>                </table></td>              </tr>          </table></td>        </tr>      </table></td>    </tr>  </table></center>

    </body><script language="JavaScript"> var msg  = "中国最大的医患在线交流平台。               " ; var interval = 100 var spacelen = 100; var space10=" "; var seq=0; var cont=truefunction Scroll() { len = msg.length; document.askandsearch.key.value = msg.substring(0, seq+1); seq++; if ( seq >= len ) {  seq = 0;    var per=Math.round(Math.random()*(4-1))+1;  switch (per){ case 1: msg="中国最大的医患在线交流平台。               ";break;  case 2: msg="提交成功即有数名专家于24小时内为您解答问题。           ";break;  case 3: msg="点击“我要提问”,输入问题内容。            ";break;  case 4: msg="只需在此输入您的问题,例如:不吃早餐会得什么病?          ";break;  }  if (cont) {  window.setTimeout("Scroll();", interval );   }else{  document.askandsearch.key.value="";  }} else   if (cont) {   window.setTimeout("Scroll();", interval );  }else{  document.askandsearch.key.value="";  }}  Scroll();

    function flush(){   if(cont){   document.askandsearch.key.value="";   cont=false;   }   else cont=false;}

    </script>  </html>


    最新回复(0)