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

JavaScriptÖк¯ÊýµÄ´«µÝ

ÿ´ÎÓÃGoogleµÄ
 GEvent.addListener(marker, "click", function() {
                    marker.openInfoWindowHtml(num);
                 });
¾Í¾õµÃºÜˬ,´«¸öº¯Êý¹ýÈ¥,onclickʼþ¾ÍÄÜ´¥·¢,ÒÔǰ×Ô¼ºÒ²ÏëдÀàËÆµÄ¹¦ÄÜ,¼¸´Î¶¼Ã»¸ã³öÀ´,½ñÌìËæÊÖдÁ½ÐдúÂë·´¶ø¸ã¶¨ÁË.
ʾÀýÈçÏÂ
function test1(a, b) {
                 b();
             }
             function test2() {
                 var ttt = 'hello';
                 test1(1, function() { alert(ttt); })
             }
ÔËÐÐtest2(),µ¯³ö¾¯¸æ"hello"


Ïà¹ØÎĵµ£º

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)° ......

ie firefox javascript

 1.document.formName.item("itemName") ÎÊÌâ
˵Ã÷:IEÏÂ,¿ÉÒÔʹÓÃdocument.formName.item("itemName")»ò document.formName.elements["elementName"];FirefoxÏÂ,Ö»ÄÜʹÓà document.formName.elements["elementName"].
½â¾ö·½·¨:ͳһʹÓÃdocument.formName.elements["elementName"].
2.¼¯ºÏÀà¶ÔÏóÎÊÌâ
˵Ã÷:IEÏÂ,¿É ......

javascript µÄ×÷ÓÃÓò¼°È«¾Ö±äÁ¿(zhuan)

±¾ÎIJο¼×Ô£ºhttp://www.cnblogs.com/mophee/archive/2009/03/15/1412590.html
¿´µ½Ò»²©¿ÍÀï̽ÌÖjavascript Àï×÷ÓÃÓòµÄÎÊÌâ
Àý×Ó1£º
var tt = 'aa';
function test(){
    alert(tt);
    var tt = 'dd';
    alert(tt);
}
test();
Àý×Ó2£º
var tt = 'aa';
funct ......

¿ªÔ´JavascriptͼÐοâ[ת]

Ô­£ºhttp://www.cnblogs.com/webgis8/articles/1516639.html
¼¸¸ö¿ªÔ´JavascriptͼÐοâ

 ÒòΪGoogle MapÏîÄ¿µÄÐèÒª,×î½üÒ»Ö±ÔÚѰÇóÏà¹ØµÄJavascriptͼÐοâ,ÔÚ³¢ÊÔÓÃGoogle Map
APIÌṩµÄjavascript½Ó¿Ú»æÍ¼Ê±·¢ÏÖÆäЧ¹ûºÍЧÂʶ¼²»Ì«ÀíÏë,ͬʱҲÓùýjsgraphics¿â,Ò²²»ÊǺܺÃ.ÓÖÔÚÍøÉÏÕÒµ½ÁËÏÂÃæ¼¸¸ö.
mxGraph
......

ÓÃJavaScriptʵÏÖÎÄ×ÖÎ§ÈÆÊó±êת¶¯

 if (document.all)
{
yourLogo = "»¶Ó­½øÈëÏÊ»¨¹¤·»Íø£¡";           <!--´ýÐýתµÄÎÄ×Ö-->
logoFont = "Arial";                       ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ