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

JavaScriptÓÎÏ·ÂêÀöÒ½ÉúDr MarioʵÏÖÔ­Àí

ÔںܾúܾÃÒÔÇ°£¬ÎÒÃÇÕâЩ80ºóµÄСÅóÓÑÖÕÓÚÍæÉÏÁË×Ô¼ºµÄС°ÔÍõÓÎÏ·»ú£¬³¬¼¶ÂêÀö£¬ÂêÀöÒ½Éú£¬Ñ©ÈËÐֵܣ¬Öî¶à¾­µäÓÎÏ·ÈÃÈËÎÞ·¨Íü»³£¬³ÉΪһ¸öÐĽᣡ

ÔÚÍê³ÉÁ˶íÂÞ˹·½¿éºó£¬ÕâÊÇÎÒдµÄÓÖÒ»¸öJavaScriptÓÎÏ·£¬ÂêÀöÒ½ÉúDr.Mario¡£





ÓÎÏ··½·¨£º

3¿ÅÏàͬÑÕÉ«µÄÒ©ÍèÓëͬɫµÄ²¡¶¾ÔÚºáÏò×ÝÏòÉÏÏàÁ¬Ê±£¬Ôò¿ÉɱËÀ¸Ã²¡¶¾µÃ·Ö¡£

·½Ïò¼ü£ºÉÏ£ºÒ©ÍèÐÎ×´¼°ÑÕÉ«Çл»£¬×ó¡¢ÓÒ¡¢Ï£º×óÒÆ¡¢ÓÒÒÆ¡¢ÏÂÂä¡£

ʵÏÖÁ÷³Ì£º

Ò©ÍèÂäÏ -> ±ß½ç¼ì²â -> ²»¿ÉÔÙ¶¯ -> ¼ÓÈëµ½groups -> ɱ²¡¶¾¼ì²â -> Ïû³ý -> ÖØÐÂÕûÀígroups -> ÎÞÖ§³ÅµÄÒ©ÍèµôÂä -> »Øµ½É±¶¾¼ì²â£¬Ö±µ½ËùÓÐÎÞÖ§³ÅÒ©ÍèµôÂä½áÊø -> ÏÂÒ»¸ö

Groups¸ÅÄ

ÔÚ¸ÃÓÎÏ·µÄʵÏÖÖУ¬ ³öÏÖÁËÒ»¸ögroupsµÄ¸ÅÄËüÊÇÒ»¸öÊý×飬Ëü¼Ç¼ÁËËùÓжѻýµÄÔªËØ£¬ÕâЩԪËØÊǻµÄ£¬»áÔÚÏû³ýijЩԪËغóµôÂ䣬ËùÒÔ£¬±È½ÏÂé·³¡£

groups¼Ç¼×Åÿ´ÎµôÂäÔªËصÄ×ø±ê¼°Ñùʽ£¬ÐÎÈ磺[[[0,0,'red_left'],[0,1,'blue_right']],......]

ÔÚÿ´ÎÏû³ý²¡¶¾ºó£¬ËüÐèҪά»¤Ò»´Î£¬Î¬»¤µÄ¹ý³ÌÊÇ£¬ÏȽ«Æä°´ÕÕÿ¸öÔªËصĵÚ1ά½øÐе¹ÐòÅÅÁУ¨ÓÃÓÚ±£Ö¤Ô½¿¿ÏµÄÒ©ÍèÔÚºóÃæ×îÏȵôÂ䣩£¬È»ºó±éÀúÿ¸öÔªËØ£¬½øÐÐÕûÀí£¬È磺ij¸öÓëÔªËصÄÒ»°ë±»Ïû³ýÁË£¬»òÕßÁ½¸öÔªËض¼±»Ïû³ýÁË£¬µÈµÈ¡£

¼¸¸öËã·¨£º

ÔÚ¸ÃÓÎÏ·ÖÐÐèÒªÓÅ»¯µÄ¼¸¸öËã·¨£º

È¡ºáÏò¡¢×ÝÏòN¸öÒÔÉÏÁ¬ÐøÏàͬµÄÄÚÈÝ£¨ÊµÏֲμû£ºhttp://www.jslab.org.cn/?tag=getsamelistfrommartix£©

±ß½ç¼ì²â£¨Óë¶íÂÞ˹·½¿éµÄ±ß½ç¼ì²âËã·¨ÀàËÆ£¬²ÉÓÃλÓëµÄ·½Ê½£©

groupsά»¤£¨±éÀ


Ïà¹ØÎÊ´ð£º

.net¶Ôjavascript²Ù×÷

ÎÒÔÚ¹¤×÷ÖÐÓöµ½ÁËһЩÎÊÌ⣬¾ÍÊÇÔÚhtmlÎļþµ÷ÓÃjavascriptºÃÓ㬿ÉÊÇÓÃ.net µ÷ÓÃJS¾Í²»ºÃÓã¬ÕÒÁ˺ܶà×ÊÁÏ£¬µ«ÊÇ»¹²»ºÃÓá£ÏÖÔÚÇó´ó¼ÒÓÐûÓÐʲôºÃµÄÎÄÕ»òºÃµÄÊé½éÉÜһϣ¬ÈÃÎҺúÃѧϰһÏÂ.net¶ÔJSµÄ²Ù×÷¡£Ð»Ð»´ó¼ ......

¹ØÓÚJavaScript´«µÝÊý¾ÝµÄÎÊÌ⣡

Õâ¸ö±íµ¥µÄÊýÖµ²»Êǹ̶¨µÄ£¡µ±°´ÏÂÍ£Ö¹°´Å¥µÄʱºò×îÖÕµÄÊý×ֲŻáÍ£ÔÚÉÏÃ棡
ÎÒÏë°Ñ×îºóͣϵÄÊý×Ö´«ËÍ´«Ë͵½ÏÂÒ»¸öASPÒ³ÃæÉÏÈ¥£¡
²»ÏëʹÓÃlocation.href="mnn.asp?action="+ok1ÕâÑùµÄ·½Ê½´«Ë͹ýÈ¥ ......

ActiveXºÍJavaScriptµÄ½»»¥ÎÊÌâ

    ÎÊÌâÃèÊöÈçÏ£º
    ÓÃC#¿ª·¢µÄActiveXǶÈëÍøÒ³ÖУ¬¸ÃActiveXÖÐÓÐÒ»¸ö°´Å¥button1.ÏÖÔÚҪʹµÃÓû§µ¥»÷ÁËbutton1ºóʵÏÖÒ³ÃæÌøתµÄ¹¦ÄÜ£¬¼´Óɵ±Ç°µÄ1.htmÌøתµ½2.htm¡£
    Î ......

ÉñÆæµÄJavascript BUG¡£Çó¸ßÊÖÖ¸µã£¡

JScript code:

<form id="myform" name="myform">
<input type='hidden' name='maxp' value='6'></input>
<input type='text' id='pageinput' onkeydown="if(e ......

javascriptÈçºÎ»ñÈ¡ËùÓÐinputÖеÄRadioÀàÐ͵Ŀؼþ£¿

javascriptÈçºÎ»ñÈ¡ËùÓÐinputÖеÄRadioÀàÐ͵Ŀؼþ£¿
  var input=document.getElementsByTagName("input");
    for (var i = 0; i < input.length; i++) {
    &nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ