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

javascript±àдweb×é¼þ£º¶à¼¶²Ëµ¥

    ÔÚwebÉϱàд²Ëµ¥Ò»Ö±ÊDZȽÏÍ·ÌÛµÄÊÂÇ飬ҪÊÇÓиöÀàÖ±½ÓÌ×ÓþͺÃÁË£¬×î½üÓÖÒª×öÍøÕ¾ÁË£¬·³ÈË£¬ÒªÇó×öµÄ»¹ÊǶ༶²Ëµ¥£¬°¦£¬·Ï»°ÉÙ˵£¬Óöµ½ÎÊÌâ¾ÍÒª½â¾ö°¡£¬¿´´úÂ룺
   function is(e, handler) {  
    if (e.type != 'mouseout' && e.type != 'mouseover') return false;  
   var reltg = e.relatedTarget ? e.relatedTarget : e.type == 'mouseout' ? e.toElement : e.fromElement;  
    while (reltg && reltg != handler)  
        reltg = reltg.parentNode;  
    return (reltg != handler);  
}
   var menu=function(obj){
    var div=document.createElement("div");
    div.style.position="absolute";
    div.style.left="-1000px";
    div.style.top="0px";
    div.flag="menu"
    document.body.appendChild(div);
    div.onmouseout=function(e){
     
     var e=e||window.event;
     if(!is(e,this)) return;
        e=e.relatedTarget?e.relatedTarget:e.toElement;
        if(e.flag!="menu"){
         div.style.left="-1000px";
       div.style.top="0px"
        }
    }
    function exec(obj,div){
     var a;
     for(a in obj){
      var item=document.createElement("div");
       item.flag="menu";
      item.style.textAlign="center";
      item.in


Ïà¹ØÎĵµ£º

javascript refresh page ¼¸ÖÖÒ³Ãæˢеķ½·¨

JavascriptË¢ÐÂÒ³ÃæµÄ¼¸ÖÖ·½·¨£º
1    history.go(0)
2    location.reload()
3    location=location
4    location.assign(location)
5    document.execCommand('Refresh')
6    window.navigate(location)
7& ......

javascriptµ÷Óø¸´°¿ÚµÄº¯ÊýºÍ±äÁ¿


javascriptµ÷Óø¸´°¿ÚµÄº¯ÊýºÍ±äÁ¿
·¢²¼ÈÕÆÚ£º2008-05-28×î½ü¸üУº2008-05-28À´Ô´£ºBHCODE×÷Õߣº
web¿ª·¢µÄʱºò£¬ÓÐʱºòÐèҪʹÓÃÆäËûÒ³ÃæÉÏдºÃµÄjavasriptº¯Êý¡¢±äÁ¿¡£È絯³ö´°¿ÚÐèҪʹÓø¸´°¿ÚÖеĺ¯Êý£¬¿ò¼Ü1ÐèҪʹÓÿò¼Ü2Öеĺ¯Êý¡£
µ÷Óú¯Êý¡¢±äÁ¿µÄ·½·¨Ò»Ñù£¬¶¼ÊÇÐèÒªÊ×ÏÈ»ñµÃÄãÐèÒªµ÷Óõĺ¯ÊýËùÔÚµÄwindow¶ÔÏó ......

JavaScript FAQ£¨¶þÊ®Èý£©

¶þÊ®¡¢Bookmarklet
1¡¢Ê²Ã´ÊÇBookmarklet£¿£¨What's a Bookmarklet?£©
Q£ºÊ²Ã´ÊÇBookmarklet£¿
A£ºBookmarkletÊÇÕû¸ö¶¼±»°üº¬ÔÚ³¬Á´½ÓURLÖеÄһС¶ÎJavaScript³ÌÐò¡££¨JavaScript URL¾ÍÊÇÕâ¸öÑù×Ó£º<a href="javascript:the code goes here">¡££©¶àÊýä¯ÀÀÆ÷ÔÊÐíÓû§Ìí¼ÓÕâЩJavaScript URLÊéÇ©£¬¾ÍÏñÌí¼ÓÆäËû³¬Á´½ ......

Java,JavaScript,JScript Çø±ð

ÕâÈý¸öÓïÑÔ·Ö±ðÊÇÈý¸ö¹«Ë¾¿ª·¢µÄ£¬SUNµÄJava£¬NetscapeµÄJavaScript£¬MicrosoftµÄJScript
JavaScriptÊÇÓÉNetscape¹«Ë¾¿ª·¢²¢ËæNavigatorµ¼º½ÕßÒ»Æð·¢²¼µÄ¡¢½éÓÚJavaÓëHTMLÖ®¼ä¡¢»ùÓÚ¶ÔÏóʼþÇý¶¯µÄ±à³ÌÓïÑÔ£¬²»ÐèÒªJava±àÒëÆ÷£¬¶øÊÇÖ±½ÓÔËÐÐÔÚWebä¯ÀÀÆ÷ÖУ¬ËüµÄÇ°ÉíÊÇLive Script¡£
JScriptÊÇÒ»ÖÖÀàËÆJavaScriptµÄÓïÑÔ¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ