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ÏÂÀ¿ò
Ïà¹ØÎĵµ£º
ÎÄÕÂÀàÐÍ:¼¼ÊõÎĵµ ¸üÐÂʱ¼ä:2009-03-03 ·¢²¼Õß:HIT-ASP ÎÄÕÂÀ´Ô´:HIT-ASP µã»÷´ÎÊý:550
Õª×Ô:
http://www.zzsky.cn/build/content/658.htm
http://www.blueidea.com/tech/multimedia/2 ......
ÀϵĻ°ÌâÁË£¬µ«ÊÇÎÒ»¹ÊÇ´ÓÀ´Ã»ÓÐÕûÀí¹ý¡£ÕâÀïÕûÀíÒ»ÏÂ:
ÔÚXHTMLÖУ¬<html>¡¢<head>¡¢<body>¶¼ÊDZØÐèµÄ±êÇ©¡£
±ØÐëÉèÖÃ<html>±êÇ©µÄxmlnsÊôÐÔ£¬ÇÒÆäֵΪ“http://www.w3.org/1999/xhtml”¡£
ËùÓÐÔªËض¼±ØÐë½áÊø¡£ÈκÎÆðʼ±êǩҪôÓÐÒ»¸ö¶ÔÓ¦µÄ½áÊø±êÇ©£¨Èç¹ûËüÊÇÒ»¸öÈÝÆ÷µÄ»°£©£¬ÒªÃ ......
ÔÎĵØÖ·£ºhttp://aspalliance.com/1092_Rich_Text_Editor_Part_I
[ÔÎÄÔ´ÂëÏÂÔØ]
¿ª·¢Ò»¸ö×Ô¼ºµÄHTMLÔÚÏß±à¼Æ÷£¨Ò»£©
ÕªÒª
ÔÚ±¾ÎÄÖУ¬Haissam Abdul Malak½«¸ø´ó¼ÒÏêϸ½éÉÜÈçºÎʹÓÃjavascript¿ª·¢Ò»¸öHTMLÔÚÏß±à¼Æ÷£¬Ëü¿ÉÒÔÓ¦ÓÃÓÚwebÓ¦ÓóÌÐòÖУ¬ÌرðÊÇÂÛ̳£¬ÉçÇøºÍ²©¿Í¡£Õâ¸ö±à¼Æ÷Ö§³Ö»ùÓÚXHTML´´½¨Îı¾µÄ¹¦ÄÜ¡£
......
ÌØÊâ·ûºÅ
ÃüÃûʵÌå
Ê®½øÖƱàÂë
ÌØÊâ·ûºÅ
ÃüÃûʵÌå
Ê®½øÖƱàÂë
ÌØÊâ·ûºÅ
ÃüÃûʵÌå
Ê®½øÖƱàÂë
Α
Α
Α
Β
Β
Β
Γ
Γ
Γ
Δ
Δ
Δ
Ε
Ε
Ε
Ζ
Ζ
Ζ ......
<body>
<iframe name="pic" src=""; width="400" height="300" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe>
<p>
<a href="www.163.com" mce_href="www.163.com" target="pic">ÍøÒ×</a>
<a href="www.sina.com.cn" mce_href="www.sina.com.cn" ......