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

JavascriptʵÏÖ×Ó´°¿ÚÏò¸¸´°¿Ú´«Öµ(ת)

page1.htmlΪ¸¸´°¿Ú£¬page2.htmΪ×Ó´°¿Ú¡£Ïêϸ´úÂëÈçÏ£º 
page1.html 
ÒýÓÃ
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 
<html> 
<head> 
  <meta http-equiv="Content-Type" content="text/html; charset=GB2312" /> 
  <title>×Ó´°¿Ú´«Öµ¸ø¸¸´°¿Ú</title> 
  <script language="JavaScript" type="text/javascript"> 
    function openWin(u, w, h) { 
              var l = (screen.width - w) / 2; 
              var t = (screen.height - h) / 2; 
               var s = 'width=' + w + ', height=' + h + ', top=' + t + ', left=' + l; 
                  s += ', toolbar=no, scrollbars=no, menubar=no, location=no, resizable=no'; 
               open(u, 'oWin', s); 
       } 
   function openIt(){ 
    window.open("page2.html",400,300); 
   } 
  </script> 
</head> 
<body> 
  <input type="text" id="text1" /> 
  <input type="button" value="µ¯³ö" onclick="openIt()" /> 
</body>


Ïà¹ØÎĵµ£º

12¸öjavascript ¿âÍâÁ´

Ê×ÏÈÊÇÊ®¸öJS FRAMEWORK
jquery
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
jquery UI
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script>
Chrome Frame
<script src=& ......

JavaScript this ¹Ø¼ü×Ö


thisÊÇJavascriptÓïÑÔµÄÒ»¸ö¹Ø¼ü×Ö¡£
Ëü´ú±íº¯ÊýÔËÐÐʱ£¬×Ô¶¯Éú³ÉµÄÒ»¸öÄÚ²¿¶ÔÏó£¬Ö»ÄÜÔÚº¯ÊýÄÚ²¿Ê¹ÓᣱÈÈ磬
¡¡¡¡function test(){
¡¡¡¡¡¡¡¡this.x = 1;
¡¡¡¡}
Ëæן¯ÊýʹÓó¡ºÏµÄ²»Í¬£¬thisµÄÖµ»á·¢Éú±ä»¯¡£µ«ÊÇÓÐÒ»¸ö×ܵÄÔ­Ôò£¬ÄǾÍÊÇthisÖ¸µÄÊÇ£¬µ÷Óú¯ÊýµÄÄǸö¶ÔÏó¡£
ÏÂÃæ·ÖËÄÖÖÇé¿ö£¬ÏêϸÌÖÂÛthisµÄÓ÷¨¡£
......

JavaScript——Îò͸JavaScript

    ×î½üÕâ¶Îʱ¼äÒ»Ö±ÔÚ¸ãÇ°¶ËJavaScript£¬ÒÔÇ°×ܾõµÃJSûʲô¸ãÍ·£¬¾­¹ýÕâÒ»¶ÎµÄÓ¦Ó㬲ŷ¢ÏÖJsÀïÃæµÄ¶«Î÷ÕæµÄºÜÉîºÜÉîµÄ£¬²»È»ÎªÊ²Ã´¸÷´óÃÅ»§ÍøÕ¾¶¼ÕÐÒ»ÅúJS¹¤³ÌʦÄØ¡£
     ÒÔÏÂÎÄÕÂΪÒýÓÃÀîÕ½ÀϸçµÄ¡¶Îò͸JavaScript¡·Ò»ÎÄ£¬Ð´µÄʵÔÚÌ«ºÃÁË£¬¾ÍÊÕ¼ÁË£¬ÒÔ×ö¸ö±¸Óá£
Òý×Ó
& ......

JavaScriptËæ»ú±ä»»±í¸ñ±³¾°

s<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>ÎÞ±êÌâÎĵµ< ......

15 ¸ö JavaScript Web UI ¿â

¼¸ºõËùÓеĸ» Web Ó¦Óö¼»ùÓÚÒ»¸ö»ò¶à¸ö Web UI ¿â»ò¿ò¼Ü£¬ÕâЩ UI ¿âÓë¿ò¼Ü¼«´óµØ¼ò»¯ÁË¿ª·¢½ø³Ì£¬²¢´øÀ´Ò»Ö£¬¿É¿¿£¬ÒÔ¼°¸ß¶È½»»¥ÐÔµÄÓû§½çÃæ¡£±¾ÎĽéÉÜÁË 15 ¸ö·Ç³£Ç¿´óµÄ JavaScript Web UI ¿â£¬·Ç³£Êʺϸ÷ÖÖ¸÷ÖÖ¹æÄ£µÄ¸» Web Ó¦ÓõĿª·¢¡£
LivePipe
LivePipe UI »ùÓÚ Prototype Javascript ¿ò¼Ü£¬°üº¬ÁËÒ»ÕûÌ×¾­Ñϸ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ