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

Csdn Ö®"Ìí¼ÓjavascriptÌØÐ§"

 Ò»¡¢ ÔÚ×Ô¶¨ÒåcssÑùʽÖÐÊäÈë </style>  ½«css´úÂë¶Î½áÊø£»
 ¶þ¡¢ ÔÚ </style>  ºóÃæÊäÈë <script type="text/javascript" language="javascript">js´úÂë</script>£»
 Èý¡¢ ±£´æÅäÖþͿÉÒÔÓÐÄãÊäÈëµÄjsÌØÐ§À²¡£
 ÓÉÓÚ±¾È˶Ôjs²»ÊǺÜÊìϤ£¬ÕâÀï¾Í²»Ð´Àý×ÓÁË£¬Ï£ÍûÓкÃÉè¼ÆµÄ²©ÓÑÃÇÄÜ·ÖÏíÒ»ÏÂÄãÃǵĴúÂë¡£


Ïà¹ØÎĵµ£º

B/S¿ª·¢³£ÓÃJavaScript¼¼Êõ

ÔÚb/s¿ª·¢Öо­³£Óõ½µÄjavaScript¼¼Êõ
Ò»¡¢ÑéÖ¤Àà
1¡¢Êý×ÖÑéÖ¤ÄÚ
1.1 ÕûÊý
1.2 ´óÓÚ0µÄÕûÊý £¨ÓÃÓÚ´«À´µÄIDµÄÑéÖ¤)
1.3 ¸ºÕûÊýµÄÑéÖ¤
1.4 ÕûÊý²»ÄÜ´óÓÚiMax
1.5 ÕûÊý²»ÄÜСÓÚiMin
2¡¢Ê±¼äÀà
2.1 ¶Ìʱ¼ä£¬ÐÎÈç (13:04:06)
2.2 ¶ÌÈÕÆÚ£¬ÐÎÈç (2003-12-05)
2.3 ³¤Ê±¼ä£¬ÐÎÈç (2003-12-05 13:04:06)
2. ......

Àí½âjavascript closures ±Õ°ü(¶ÁÊé±Ê¼Ç)

 Ê²Ã´ÊDZհü(closures):
 ±Õ°ü¾ÍÊÇÄÚ²¿º¯Êýͨ¹ýijÖÖ·½Ê½Ê¹Æä¿É¼û·¶Î§³¬³öÁËÆä¶¨ÒåµÄ·¶Î§,Õâ¾Í²úÉúÁËÒ»¸öÔÚÆä¶¨Ò巶ΧÄڵıհü.
 
 ÕâÊÇÎÒÀí½âºóµÄÒ»¸ö¶¨Òå,ºÇºÇ!ºÜ»Þɬ°É!²»¹ýû¹ØÏµ,¿ÉÒÔÏÈ¿´¿´ÏÂÃæµÄ½²½â.
 
 
Ò» ÄÚ²¿º¯Êý(inner function)
javascriptÊÇÖ§³ÖÄÚ²¿º¯ÊýÉêÃ÷(inner func ......

JavaScript Google IG Drag Demo

 Ð§¹ûÑÝʾµØÖ·£ºhttp://www.phzzy.org/code/drag/google_drag.html
ÍÏ×§Ô­Àí£º
¹ØÓÚÍÏ×§µÄ»ù´¡£¬¿ÉÒԲο¼ÕâÆªÎÄÕ£¬½²µÃ·Ç³£²»´í¡£
http://www.sohotx.com/mzk/index.php/1007/ArticleContent/298.html
ÆäʵԭÀíºÜ¼òµ¥£¬¾ÍÊǰѰó¶¨Èý¸öʼþ£ºonmousedown , onmousemove , onmouseup¡£
ÔÚÊó±êµãÏÂʱ(onmousedown)° ......

¶ÔJavaScriptµÄһЩÈÏʶ

¶ÔÓÚJavaScriptÀ´½²£¬ËüµÄ³öÏÖʹµÃÐÅÏ¢ºÍÓû§Ö®¼ä²»½öÖ»ÊÇÒ»ÖÖÏÔʾºÍä¯ÀÀµÄ¹ØÏµ£¬¶øÊÇʵÏÖÁËÒ»ÖÖʵʱµÄ¡¢¶¯Ì¬µÄ¡¢¿É½»Ê½µÄ±í´ïÄÜÁ¦¡£×î½üС±àÕûÀíÁËһЩ×ÊÁÏ£¬·¢²¼ÉÏÀ´Óë´ó¼ÒÒ»Æð·ÖÏí£¬Èç¹ûÎÄÕÂÓÐʲô覴û¹Ï£Íû¸ßÊÖÖ¸µã£¬´ó¼ÒÏ໥ѧϰ¡£
JavaScriptÊÇÒ»ÖÖ»ùÓÚ¶ÔÏó(Object)ºÍʼþÇý¶¯(Event Driven)²¢¾ßÓа²È«ÐÔÄܵĽű¾Óï ......

Javascript֪ʶ¾«»ª(zhuan)

 
<script    language="JavaScript" type="text/javascript" >
<!--
         .
//-->
</script>
.languageÒѾ­±»ÆúÓ㬵«ÎªÁ˼æÈݾɰ汾ä¯ÀÀÆ÷¶ø±£Áô£¬ËùÒÔ½¨ÒéͬʱʹÓÃÕâlanguageºÍtypeÁ½¸ö
.<!---     / ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ