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

12¸öÓÅÐãµÄjavascript(ajax)µ¯³ö²ã

Thickbox

-
»ùÓÚ
jQuery
£¬Ö§³Ö AJAX£¬ÇáÁ¿¼¶µÄ¶øÇұȽϸßЧ¡£Ö§³ÖͼƬÓëHTMLÄÚÈÝ¡£´óСԼΪ
40k£¬Ä¿Ç°»¹¿É×÷Ϊ WordPress
µÄ²å¼þʹÓá£Õâ¸öjsµÄÓŵãÔÚÓÚÓ룬¸¸¼¶µÄÔ­Ò³Ãæ¹ö¶¯ÌõËæÊó±ê¹ö¶¯µÄʱºò£¬µ¯³öµÄ²ã²¢²»Òƶ¯£¬¶øʼÖÕ´¦ÓÚä¯ÀÀÆ÷µÄ¹Ì¶¨Î»Öá£
 
GreyBox

- ´´½¨ iframe µÄµ¯³ö½çÃ棬¿ÉʹÓÃͼƬ¡¢HTML ¼°
URL£¬´óСԼΪ 20k¡£
Õâ¸öµ¯³ö²ãЧ¹ûÓй̶¨
λÖÃÓëË游¼¶µÄ¹ö¶¯Ìõ¹ö¶¯Á½ÖÖģʽ¡£
GreyBox Redux

- »ùÓÚ jQuery£¬±È GreyBox ¸üÇá¡£
Õâ¸öjsµÄµÄµ¯³öЧ¹û
Ôö¼ÓÁË×ÔÉ϶øÏ»ºÂý»¬³öµÄЧ¹û¡£
Lightbox
v2.0

- ×î³õÊÇΪÁËÏÔʾͼƬÉè¼ÆµÄ£¬Ê¹ÓÃÁË
prototype ºÍ sciptaculous£¬ËùÒÔÓÐЩ³ÁÖØ£¬µ«¶ÔÓÚͼƬÀ´ËµºÜºÃÓá£
ȱµã¾ÍÊǵ¯³ö²ã³öÀ´
ºó£¬¹ö¶¯Êó±ê¹öÂÖ£¬¸¸¼¶Ò³ÃæÓ뵯³öÄÚÈÝͬÊÂËæ׏ö¶¯Ìõ£¬Ö»Óеã»÷¹Ø±Õ°´Å¥²ÅÄܹرյ¯³ö²ã£¬¶ÔÓÚµ¯³öͼƬ½Ï´óµÄʱºò£¬Óû§ÌåÑé·½ÃæÏà¶Ô±È½Ï²»ÓѺã¬ÐèÒªÒƶ¯
Ò³ÃæÕÒµ½¹Ø±Õ°´Å¥²ÅÐС£
Lightbox Gone Wild

-
modal ģʽ´°¿ÚµÄ lightbox£¬¿ÉʹÓà html¡¢±íµ¥¼°Í¼Æ¬£¬Ò²ÊÇ»ùÓÚ prototype µÄ¡£
Õâ¸öЧ¹ûµÄºÃ´¦ÔÚÓÚ£¬
µ¯³öÄÚÈÝÊÇͼƬʱ£¬µã»÷ͼƬ±¾Éí¼È¿ÉÒԹرյ¯³ö²ã£¬·Ç³£·½±ã¡£
Multi-faceted
LIghtbox

- ÓÖÒ»¸ö»ùÓÚ
prototype µÄ£¬²»¹ýÕâ¸öΪ¸÷ÖÖ¿ÉÓÃÓÚ lightbox µÄÊý¾ÝÀàÐÍÌṩÁËÑ¡Ïî¡£
Leightbox

- ºÍ Lightbox Gone Wild ºÜÏàËÆ£¬Ö»ÊÇ
Leightbox ÒÔ html ·½Ê½´æ·ÅÄÚÈÝ£¬ËùÒÔ¿ÉÒÔ±»ËÑË÷ÒýÇæË÷Òýµ½¡£
³ýÁ˵¯³öÄÚÈÝ·ûºÏ
seoÒÔÍ⣬Õâ¸öЧ¹ûµÄÒ»´óÌصãÊÇ£¬µ¯³öºó¸¸¼¶Ò³ÃæµÄ¹ö¶¯±»½ûÓ㬶øÒÔµ¯³ö²ãµÄ¹ö¶¯ÎªÖ÷£¬ÕâÑùÔÚµ¯³öµÄ´°¿ÚÓн϶àÄÚÈÝʱ£¬¹ö¶¯Êó±ê¹öÂÖʱ£¬¾Í²»»áͬʱ¹ö¶¯
¸¸¼¶Ò³Ã棬¶øÓ°ÏìÕý³£ä¯ÀÀ¡£
xilinus

- ʹÓüòµ¥£¬»ùÓÚ
prototype£¬ºÜÈÝÒ׶¨ÖÆ£¬¿ÉʹÓöàÖÖÄÚÈÝÑ¡Ïî¡£
Lightbox
Plus

- ¿ÉÒÔ×Ô¶¯¸ù¾Ý´°¿ÚµÄ´óСËõ·ÅͼƬ¡£
Suckerfish Hover Lighbox

- ºÍ´«Í³µÄ lightbox ²»Ò»Ñù£¬ËüÔÚ´ò¿ª lightbox
µÄʱºò£¬»¹¿ÉÒÔµã»÷·ÃÎÊÒ³ÃæÉϵÄÆäËüÔªËØ¡£
Litebox

- ÕâÊÇ Lightbox µÄÁíÒ»¸ö°æ±¾£¬´úÂëÁ¿¼õÉÙÁË£¬Ê¹ÓÃÁË
moo.fx ºÍ prototype-lite£¬Èç¹ûÒ³ÃæÐèÒª¼õ·ÊµÄ»°£¬¿ÉÒÔÑ¡ÔñÕâ¸ö¡£
LITBox

- ʹÓÃÀàдµÄ
lightbox£¬ËùÒÔ¿ÉÒÔ´´½¨¶à¸ö¶ÔÏóʵÀý£¬²¢ÇÒµ¥¶À½øÐпØÖÆ¡£»ùÓÚ Thickbox¡£


Ïà¹ØÎĵµ£º

Dojo1.3.xµÄAjaxʾÀý


Dojo1.3.x
µÄ
Ajax
ʾÀý
ÕûÀíÈË£º»Æ³Ï
QQ
Ⱥ£º
65643887
ÕâƪÎÄÕÂÖ÷ÒªÊÇ°ïÖú¶Ô
Dojo
¸ÐÐËȤµÄÅóÓÑÃÇ¿ì
ËÙʵÏÖÍøÕ¾ÉϵÄÀý×Ó¡£
http://sitepen.com/labs/guides/?guide=DojoQuickStart#Ajax
Ëü½Ì³Ì·ÖÁË
3
²¿·Ö£¬ÆäÖеÄÀý×Ó²»ÈÝÒ×
ÉÏÊÖ¡£ÎÒÕâÀïÌṩһ¸ö´ò°üÎļþ
AjaxWithDojo.war
ÏÂÃæÎÒ½«Ïêϸ˵Ã÷²Ù×÷²½Ö ......

¶ÔAjaxµÄһЩdzÏÔÀí½â

ÏÖÔÚ¸Õ¸Õ¿´Ò»Ð©¹ØÓÚAjaxµÄһЩ֪ʶµã¡£°ÑËüдÏÂÀ´£¬×÷Ϊ֪ʶµÄ±¸Íü¼£¡
 
 
ÒÔÏ´¿Êô¸öÈËÀí½â£¡£¡£¡
 
1. Ajax·ÖΪҳÃ沿·Ö£¨Ç°¶Ë£©£¬ºÍºǫ́´¦Àí²¿·Ö£¨ºó¶Ë£¬servlet£©£»
 
2. Ò³Ã棺´´½¨XmlHttpRequest¶ÔÏ󣬲»Í¬µÄä¯ÀÀÆ÷£¬ËùÖ§³ÖµÄXmlHttpRequest¶ÔÏó²»Í¨£»
    Ò³Ã棺½¨Á¢·¢ ......

JavaScriptʼþ

JavaScriptʼþ·ÖÀࣺ
1¡¢²¶»ñÐÍ£¨IE²»Ö§³Ö£©£¨´ÓDOM½á¹¹µÄ×¶Ë¿ªÊ¼ÏòÏÂÑÓÉ죩
2¡¢Ã°ÅÝÐÍ£¨´ÓDOM½á¹¹µÄ×îµÍ¶ËÏòÉÏÒ»¼¶¼¶ÑÓÉ죩
¡¾IE7ÒÔÉÏ¿ÉÒÔ¸ø‘html’Ìí¼Óonclickʼþ£¬IEÖÐbody->html£¬»ðºüÖÐhtml->body¡¿
JavaScriptÌí¼Óʼþ¼àÌý£º
1¡¢IE£º
[object].attachEvent("event_handler", fnHandler); ......

JavaScript ´´½¨Êý×éµÄ·½·¨ºÍ»ù±¾²Ù×÷

Êý×éÊÇÎÒ´Óѧϰ±à³ÌÒÔÀ´´ò½»µÀ×î¶àµÄÒ»ÖÖÊý¾ÝÀàÐÍ£¬Æäʵ˵°×ÁË£¬Êý×éÎ޷ǾÍÊÇkey value¶Ô¡£»¹¼ÇµÃ¸Õ²Î¼Ó¹¤×÷Äǻᣬһ¸öphpµÄforeachÑ­»·¾Í²îµã¸ãµÃÎÒÍÂѪ£¬ÏÖÔÚ»ØÍ·ÏëÏ룬µ±Ê±×Ô¼ºÕæ¹»±¿µÄ¡£
Êý×é(array)ÊÇÒ»ÖÖÊý¾ÝÀàÐÍ£¬Ëü°üº¬»òÕß´æ´¢Á˱àÂëµÄÖµ£¬Ã¿¸ö±àÂëµÄÖµ³Æ×÷¸ÃÊý×éµÄÒ»¸öÔªËØ(element),ÿ¸öÔªËصıàÂë±»³Æ×÷Ï ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ