Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

HtmlµÄSelect¼ÓÒ»¸öÊäÈëµÄ·½·¨

<Html>
<Head>
<SCRIPT LANGUAGE="JavaScript">
  <!--
  //¶¨Òå select Ô­Öµ
  var oldValue,oldText;
  //selectÏÂÀ­¿òµÄonkeydownʼþ£¬ÐÞ¸ÄÏÂÀ­¿òµÄÖµ
  function catch_keydown(sel){
   switch(event.keyCode) {
    case 13: //»Ø³µ¼ü
     event.returnValue = false;
     break;
    case 27: //Esc¼ü
     sel.options[sel.selectedIndex].text = oldText;
     sel.options[sel.selectedIndex].value = oldValue;
     event.returnValue = false;
     break;
    case 8:  //¿Õ¸ñ½¡
     var s = sel.options[sel.selectedIndex].text;
     s = s.substr(0,s.length-1);
     if (sel.options[0].value==sel.options[sel.selectedIndex].text){
      sel.options[sel.selectedIndex].value=s;
      sel.options[sel.selectedIndex].text=s;
     }
     event.returnValue = false;
     break;
   }
   if (!event.returnValue && sel.onchange)
    sel.onchange(sel)
  }
  //selectÏÂÀ­¿òµÄonkeypressʼþ£¬ÐÞ¸ÄÏÂÀ­¿òµÄÖµ
  function catch_press(sel){
   if(sel.selectedIndex>=0){
    var s = sel.options[sel.selectedIndex].text + String.fromCharCode(event.keyCode);
    if (sel.options[sel.selectedIndex].value==sel.options[sel.selectedIndex].text){
     sel.options[sel.selectedIndex].value=s;
     sel.options[sel.selectedIndex].text=s;
    }
    event.returnValue = false;
    if (!event.returnValue && sel.onchange)
     sel.onchange(sel)
   }
  }
  //selectÏÂÀ­¿ò


Ïà¹ØÎĵµ£º

±ðÒÔΪǶÈëFlashµÄhtml²»ÖØÒª

ÎÄÕÂÀàÐÍ:¼¼ÊõÎĵµ   ¸üÐÂʱ¼ä:2009-03-03   ·¢²¼Õß:HIT-ASP   ÎÄÕÂÀ´Ô´:HIT-ASP   µã»÷´ÎÊý:550
   Õª×Ô: 
   http://www.zzsky.cn/build/content/658.htm  
   http://www.blueidea.com/tech/multimedia/2 ......

Ö´ÐÐJSPºóÉú³ÉHTML¾²Ì¬Îļþ

import java.io.ByteArrayOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletContext;
import javax.servlet.Servl ......

Ôõô½«html±êÇ©µ±×öÎı¾ÏÔʾ?

string s="<font style=font:60pt face=Á¥Êé color=ff0000>ÍøÂçÊÀ½ç</font>";
//Ìæ»»
string ss= s.Replace("&", "&amp;").Replace("<", "&lt;").Replace(">", "&gt;");
label2.text=ss; ......

XHTMLÓëHTMLÖ®¼äµÄ7¸öÇø±ð

ÀϵĻ°ÌâÁË£¬µ«ÊÇÎÒ»¹ÊÇ´ÓÀ´Ã»ÓÐÕûÀí¹ý¡£ÕâÀïÕûÀíÒ»ÏÂ:
ÔÚXHTMLÖУ¬<html>¡¢<head>¡¢<body>¶¼ÊDZØÐèµÄ±êÇ©¡£
±ØÐëÉèÖÃ<html>±êÇ©µÄxmlnsÊôÐÔ£¬ÇÒÆäֵΪ“http://www.w3.org/1999/xhtml”¡£
ËùÓÐÔªËض¼±ØÐë½áÊø¡£ÈκÎÆðʼ±êǩҪôÓÐÒ»¸ö¶ÔÓ¦µÄ½áÊø±êÇ©£¨Èç¹ûËüÊÇÒ»¸öÈÝÆ÷µÄ»°£©£¬ÒªÃ ......

delphi ¶ÁÈ¡¼ôÕ³°åÄÚµÄhtml¸ñʽÊý¾Ý

¸ù¾Ý¼ôÌù°åµÄÔ­Àí£¬ÔÚ»ñÈ¡¼ôÌù°åÄÚÈÝ֮ǰ£¬±ØÐëÖ¸¶¨Òª»ñÈ¡ÄÚÈݵĸñʽ¡£ÓÉÓÚ¼ôÌù°åÖеÄÊý¾Ý¿ÉÄÜ´æÔÚ¶àÖÖ¸ñʽ£¬ËùÒÔÓбØÒª¶Ô¼ôÌù°åµÄ¸ñʽÀàÐÍÏÈ×öһЩÁ˽⡣WдÏÂÁËÒÔϵIJâÊÔ´úÂ룺
procedure TForm1.Button3Click(Sender: TObject);
var
  i: integer;
  Buffer: PChar;
  s: string;
begin
  M ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ