JavaScriptéçºãã¼ã«ã®ç¾ç¶ Webã¢ããªã±ã¼ã·ã§ã³ã«ã¯æ¬ ãããªãJavaScriptã ããèªè ã®çããã¯ã©ã®ããã«éçºãã¦ããã ããã? æè¿ã§ã¯Aptanaãªã©ãJavaScriptã®ã³ã¼ãã£ã³ã°ãç©æ¥µçã«ãµãã¼ãããIDEãç»å ´ãã¦ãã¦ããããEclipseãNetBeansã®æ¬¡æãã¼ã¸ã§ã³ã§ãJavaScripté¢é£ã®æ©è½ãå¼·åãããäºå®ã«ãªã£ã¦ããã ãããç¾ç¶ã§ã¯ãã¯ãããã¹ãã¨ãã£ã¿ã§è¨è¿°ãããã©ã¦ã¶ã§åä½ç¢ºèªã¨ããæ¹æ³ãæãæã£åãæ©ãã®ã§ã¯ãªãã ããããç¹ã«Firefoxã§ã¯Firebugã¨ããå¼·åãªã¨ã¯ã¹ãã³ã·ã§ã³ããããFirebugã使ãã¨HTMLã®DOMããªã¼ãåç §ã§ããããJavaScriptãã°ã©ãã£ã«ã«ã«ãããã°ãããã¨ãã§ãããªã©ãIDEé¡è² ãã®æ©è½ãFirefoxä¸ã§å©ç¨ãããã¨ãã§ããã®ã ãFirebugã¯ãã¯ãJavaScriptéçºã«æ¬ ãã
JavaScriptï¼ECMAScriptï¼ã¯ãä»ã®ããã°ã©ãã³ã°è¨èªã®æ±ºã¾ãã«æ £ã親ããã§ããã¨ãé常ã«å¥å¦ãªåå¨ã§ããä¸è¦ããã¨ãCãJavaããå宣è¨ãçããã ãã®åç´ãªããã°ã©ãã³ã°è¨èªã«è¦ãã¾ããããããprototype.jsãjQueryã®ãããªåªããã©ã¤ãã©ãªã®ã½ã¼ã¹ãçºããã¨ããããåãªãåéãã«éããªããã¨ã«æ°ã¥ãã§ãããã ããã§ã¯ãprototype.jsã®ã½ã¼ã¹ãã¡ã¤ã«ãèªãã®ã«å¿ è¦ã¨ãªãJavaScriptã®ææ³ã®ãã¡ãç¹ã«éè¦ãª3ç¹ã説æãã¾ãããããã¯ãJavaScriptã§ããã°ã©ã ãè¨è¿°ããã®ã«éè¦ãªå½¹å²ãæã¤åé¢ãåã«HTMLã«ã¢ã¯ã»ã³ããä»ããç¨åº¦ã®å©ç¨æ¹æ³ã§ã¯åºç¾ãã¾ããããããã£ã¦ãããã§èª¬æããJavaScriptã®ãæ¿ããé¨åãç¥ããªããã°ãprototype.jsã®ã½ã¼ã¹ãã¡ã¤ã«ãçºãã¦ãä½ãè¨è¿°ããã¦ããã®ãç解ãããã¨ã¯ã§ããªãã§ããã
ååã¾ã§ã®ããããã¨ä»åã®ãããã ååã¾ã§ãJavaScriptã§ãªãã¸ã§ã¯ãæåãè¡ãæ¹æ³ã«ã¤ãã¦ã話ããã¦ãã¾ãããã³ã³ã¹ãã©ã¯ã¿ãthisãªãã¸ã§ã¯ããªã©ãæ§ã ãªãã¨ã«ã¤ãã¦ã話ããã¦ãã¾ãããããã®ä¸ã§ãéè¦ãªã®ã¯ãããã¿ã¤ãã¨ããæ¦å¿µã§ãã ãããã¿ã¤ãã«ã¤ãã¦ã¯åã åã話ããã¾ããããã®å 容ãç°¡æ½ã«è¡¨ãã¨ãããªãã¸ã§ã¯ãã®ã¡ã³ãã¯ãããªãã¸ã§ã¯ãèªèº«âãããã¿ã¤ããã¨è¨ãé åºã§æ¤ç´¢ããããã¨ãããã¨ã§ããã ãããããã®è©±ã«ã¯ã¾ã å ãããã¾ãããããããããã¿ã¤ããã§ã¤ã³ãã¨è¨ãæ¦å¿µã§ãã ããããã¿ã¤ããã§ã¤ã³ãã¯ãJavaScriptããã°ã©ã ã®åä½ãç解ããä¸ã§ã¯ããæå³ä¸æ ¸ã¨ããããæ¦å¿µã§ãã¾ãã¨ã¦ãé¢ç½ãã¨ããã§ãããã¾ãã ãããã¿ã¤ããã§ã¤ã³ã¨ã¯ï¼ ãããªãã§ããããããã¿ã¤ãã£ã¦ããããä½ãªã®ã§ãããï¼ åã åããä¼ãããã¨ãããããªãã¸ã§ã¯ãèªèº«âãããã¿ã¤
2å¹´åã®å¤ã«æ¸ãããFirebugã®ä¾¿å©ãªçµã¿è¾¼ã¿é¢æ° - æè¡ã¡ã¢å¸³ãèªãã§ããã¾ããdebuggerã¨æ¸ãã¨ãããããããã¬ã§ã¹ãããå®è¡ã§ããã®ãç¥ã£ã¦ã·ã§ãã¯ã§ãã.... lurkerããã®ããã°ã§ç´¹ä»ããã¦ãã$0, $1 ã§ç´åã«inspectãããã®ãåç §ã§ãããã¨ãããªããå ¬å¼ã®ããã¥ã¡ã³ãã£ã½ãFirebug Documentationã«ã¯è¼ã£ã¦ããªãã¦ãFireBug Documentation - JoeHewitt.comã«ã¯è¼ã£ã¦ãã¾ãã ã§ãããã²ã¨ã¤ãã½ã¼ã¹ã³ã¼ãã«ããæ¸ããã¦ãªããããªãã¤ãçºè¦ãã¾ããã$$1ã¨$$2ã§ãã èªåã¯Firebugã使ã£ã¦ãã¦ãã¨ãã©ãconsole.logã§åºãããªãã¸ã§ã¯ãã®ããããã£ãå¼æ°ã«ãã¦é¢æ°ãå¼ãã ãããããã¨ãããã¨ããã£ããã©ã§ããªãã¦å°ã£ã¦ããã§ãã$$1ã§ãããããã¨ãã§ããããã«ãªãã¾ããã ãã¨ãã°
Web Design Wallã®ã¨ã³ããªã¼ãjQuery Tutorials for DesignersããããJavaScriptã®ã©ã¤ãã©ãªãjQueryããè¦è¦çã«ã©ã®ããã«åä½ããããã¢ã¨å ±ã«è§£èª¬ãã¦ã10ã®ãã¥ã¼ããªã¢ã«ãç´¹ä»ãã¾ãã
æä½æ¹æ³ â ãã¼: 次ã®ãã¼ã¸ã¸ â ãã¼: åã®ãã¼ã¸ã¸ â ãã¼: ç®æ¬¡ãã¼ã¸ã¸ â ãã¼: ç®æ¬¡ãã¼ã¸ããæ»ã ç®æ¬¡ãã¼ã¸ã§ã¯ â â ãã¼ã§ä¸è¦§ã移åããã¯ãªãã¯ã§é¸æãã¾ã 10 å¹´ã ä¸çã JavaScript ã®çã®å®åãçºè¦ããã®ã«è¦ããæéã§ããã 1995 å¹´ãNetscape 社㮠Brendan Eich ã«ããéçºã»è¨è¨ããã JavaScript ã¯ããä¸çã§æã誤解ãããããã°ã©ãã³ã°è¨èªããªã©ã¨å¼ã°ããããã ã¨ãããã°ä¸éã¨ããããå¾ãæ³æãçµã¦ããããã®ããããã«æºã¡å ã¡ã¦ãããWeb ã®æ§æ¥çãªã¤ã³ã¿ã©ã¯ã·ã§ã³ã®çª®å±ããé©å½ããããã¨ããæãã«ãã£ã¦ããµããã³è¡¨èå°ã«ææ¥ãããã JavaScript ã¯ãWeb ã®ããã¡ãå´ãã¨ããã¡ãå´ãã¨ãåãçµã¶ããã£ã¨ãå¤ãã¦ãã£ã¨ãæ°ãããããã¦ããã£ã¨ãéè¦ãªæè¡ã ã次㮠10 å¹´ãèªãã®æã§åµãåºã
noupeã®ã¨ã³ããªã¼ã37+ Great Ajax, CSS Tab-Based InterfacesããããCSSã¨JavaScriptã§å®è£ ããã¿ãåã¤ã³ã¿ã¼ãã§ã¤ã¹37é¸ã®ç´¹ä»ã§ãã 37+ Great Ajax, CSS Tab-Based Interfaces èªåã§åãæ¿ããã¿ãåã¤ã³ã¿ã¼ãã§ã¤ã¹ Easy Tabs 1.2 - now with autochange Rotating jQuery tabs example Tab Content Script (v 2.1) ã¹ã©ã¤ãå¼ã®ã¿ãåã¤ã³ã¿ã¼ãã§ã¤ã¹ Sliding Tabs Coda-Slider Perspective Tabs AJAXã使ç¨ããã¿ãåã¤ã³ã¿ã¼ãã§ã¤ã¹ Ajax Tabs Content Script (v 2.1) éãããã¨ãå¯è½ãªã¿ãåã¤ã³ã¿ã¼ãã§ã¤ã¹ Tab Panels Close
2024å¤ä¼ã¿æ è¡ãç¥æ¸ã»2æ¥ç®ãåç·¨ã zfinchyan.hatenablog.com âï¼æ¥ç®ã¯ãã¡ã 6:50 ãããã¨å¤«ã ãå ã«èµ·åº åæ¥ã«è²·ã£ã¦ããããèã®ãã³ã§æãã¯ã æ¨æ¥ã®ç²ããããããªããªãæ¯åãã¡ãèµ·ãã¦ããªãã£ãã®ã§ããã£ããå¯ããã¦ãã10:00ã«ããã«ã®ä¸ã«ãããã¬ã¤ã¾ã¼ã³ã«è¡ã£ã¦ããã¿ã¼ã´ã«ãããã¹â¦
HTML5.JPã®JavaScriptã°ã©ãã©ã¤ãã©ãªããã°ãããã§ãã 表示ã§ããé ç®æ°ã¯ï¼ï¼åã«éå®ããã¦ãããã®ã®ãJavaScriptã§ããã ããã¬ã¤ãªã°ã©ãã表示ã§ãã¦ãæ¥æ¬èªãåé¡ãªãã¨ããã®ã¯é常ã«ããã§ãã使ãæ¹ãç°¡åã§ããã ã©ã¤ã»ã³ã¹ã¯ Apache License, Version 2.0 ã«ãªã£ã¦ãã¾ãã (2007.10.29追è¨) ãã®ã©ã¤ãã©ãªã®ã°ã©ãæç»ã¯ãCanvasã使ç¨ãã¦ãã¾ããIEã«ã¯Canvasããªãã®ã§ãExplorerCanvasãå梱ããã¦ãã¾ãã ãã¨ãã¯ã¦ãã³ã¡ã³ãã«ã¦ãããã¹ãã大ããããã¨ã¬ã¤ã¢ã¦ããå´©ããã¨ã®æ å ±ãããã ãã¾ãããid:vantguardeãããæ å ±ãããã¨ããããã¾ãã â æ£ã°ã©ãï¼åç´ï¼ æ£ã°ã©ãï¼åç´ï¼(HTML5.JP) âFireFox2.0ã§è¡¨ç¤º âIE7ã§è¡¨ç¤º ï¼ IEã ã¨ã°ã©ãã¼ã·ã§ã³ãæ¶ãã模æ§
The requested URL /home was not found on this server. Thatâs all we know.
JavaScriptã©ã¤ãã©ãªã®ãã¥ã¼ã¿ã¤ããjQueryãã jQuery is a new type of JavaScript library. jQuery: The Write Less, Do More, JavaScript Library ãã¥ã¼ã¿ã¤ãã¨èãã¦ã¯é»ã£ã¦ããããªããã¥ã¼ã¿ã¤ããã¡ã³ã®çæ§ããã«ã¡ã¯ãå ¬éAPIãå©ç¨ãããµã³ãã«ãµã¤ããä½ã£ã¦ããã管ç人ã®ZAPAã§ãã Web2.0ããAjaxããã®è¨èãæµè¡ã£ã¦ãã¦ããå®éã«ããã£ã½ããã®ãä½ããã¨æã£ãã¨ããã§ãåå¿è ã¯ä¸ä½ã©ãããæãä»ãã¦è¯ãã®ãããããªãã®ãç¾å®ã ã£ãããã¾ãã ããã§ä»åã¯ãWeb2.0ã£ã½ãAjaxãå®ç¾ããããã¨ãã§ããã©ã¤ãã©ãªãjQueryãã®ç´¹ä»ããã¾ãã Ajaxã¨ã¯ ããã§è¨ãAjaxã¯ããªã©ã³ãã®åéããããã¼ã«ãã¼ã ãã¢ã¤ãã¯ã¹ãã§ã¯ãªããã¦ã§ããã©ã¦ã¶å ã§éåæé
function backgroundLoad ( ids ) { for ( var i=0; i < ids.length; i++ ) { var a = getArticleWithCache(ids[i]); backgroundLoad(a.children); } } ãã®backgroundLoadã¯IDã®é åãå¼æ°ã«åãããã®åIDã«å¯¾ãã¦ä¸ã§å®ç¾©ããgetArticleWithCacheãå¼ã³åºãã¾ããããã§IDã«å¯¾å¿ããè¨äºã®ãã¼ã¿ããã£ãã·ã¥ããã¾ããããã¦èªã¿è¾¼ãã è¨äºã®åè¨äºã®IDã«å¯¾ãã¦backgroundLoadãå帰çã«å¼ã³åºããã¨ã§ãããªã¼å ¨ä½ããã£ãã·ã¥ãããã¨ãã§ãã¾ãã ããã¾ã§ãã¹ã¦ãã¾ããã£ã¦ããããã«è¦ãã¾ããããããä¸åº¦ã§ãAjaxéçºãçµé¨ãããã¨ã®ããæ¹ãªãã°ãããã§ã¯ãã¾ããããªãã¨ãããã¨ã¯ãã§ã«ããããã ã¨æãã¾ããããã¾ã§ã®ä¾ã§
åã«ãæãã人ãã§ãã(? ã¨ããã人ã«ã¢ããæããç«å ´)ã«ãªã£ãã®ã§ãã¨ãããããæè¿ã¯ãã£ã±ãjavascriptãæãã¦ãã¾ãã ãã¨ãã¨CãJavaãªã©ã«ã¤ãã¦ã¯ããç¨åº¦ã®ç¥èããã人ãªã®ã§ããããå°ãjsçãªæå³ã§ãé¢æ°è¨èªçãªæãããã£ã¦ããæä¸ã®ã¡ã¢ å¤æ°ã£ã¦ä½ã§ããï¼å¤æ°ã£ã¦å¤ãããã¯å¼ãã®ãã®ã«å©ä¾¿çãªååãã¤ãã¦ãããã®ã§ã 次ã®hogeã¨fooã¯å¤ããããç®±ã§ã¯ãªããå¤ãã®ãã®ã«å¥å(ãããã¯åãããããå称)ãå²ãå½ã¦ã¦ããã ãã«éãã¾ãããã var hoge = 1; var foo = [1, 2, 3]; alert(hoge + 1); // 2 alert(foo[0]); // 1 alert(1 + 1); // 2 alert([1, 2, 3][0]); // 1 ã¤ã¾ããé¢æ°èªä½ãå¤æ°ã«ä»£å ¥ããäºãã§ãã¾ãã(functionã¨ã¯ç¹å¥ãªå¼ã³å
jQueryãProtoTypeã.Netãªã©ã®ãã¬ã¼ã ã¯ã¼ã¯ã使ã£ããµã³ãã«ããã¢ãè±å¯ã«ããã¾ãããããããµã³ãã«ããã¦ã³ãã¼ãå¯è½ããµã³ãã«ããã¢ãè¦ã¦ããã ãã§ããã¤ã³ã¹ãã¬ã¼ã·ã§ã³ã沸ãã¦ãã¾ãã 詳細ã¯ã以ä¸ãããAjaxRain ããªãã®ãµã³ãã«æ°ãããã®ã§æ¢ãã¦ããç©ãè¦ã¤ãããã¨ãã§ãããããã¿ã°ã§åå¥ããã¦ããã®ã§ãæ¢ãã®ã¯æå¤ã¨ç°¡åã«ã§ãããã§ããã¡ãªã¿ã«ãµã³ãã«ã®1ãã¼ã¸ãããã®è¡¨ç¤ºæ°ãå¤æ´ã§ããã®ã§ããã100以ä¸ãå ¥ããã¨100ã«ããã¾ãã æ¯æãã®ãµã¤ãã§AJAXãªã©ã使ã£ãã³ã¼ãã®ã³ã³ãã¹ãããã¦ããã®ã§ãè ã«èªä¿¡ã®ããæ¹ã¯å¿åãã¦ã¿ã¦ã¯ã詳ããã¯ãã¡ãããã AjaxRain.com Rain Fest
ä»ã®ã©ã¤ãã©ãªããèªåã®ã³ã¼ãã¨å ±åãããã¨ãã¯ããããã®ååã¨è¡çªããªãããã«æ°ãã¤ããå¿ è¦ãããã¾ããåãååã使ã£ã¦ãã¾ãã¨ãã³ã¼ãããã¼ããããé çªã«ãã£ã¦æåãå¤ãããã¨ãããããªãããã«ããåé¡ãçºçãã¦ãã¾ãå ´åãåºã¦ãã¾ãã ãªãã¸ã§ã¯ããã¯ã©ã¹ã®ä½¿ããæ¹ ã©ã¤ãã©ãªå ã§ã¯ãä¸è¨ã®åå空éã¯å¤§ããåãã¦ä»¥ä¸ã®ãããªä½¿ããå½¢ããã¦ãã¾ãã ãã®ä¸ã«å¥ã®ãªãã¸ã§ã¯ããå ¥ããããã®è¦ªåå空éã¨ãã¦ä½¿ã Class.create()ã使ã£ã¦ Prototypeã©ã¤ãã©ãªé¢¨ã®ã¯ã©ã¹ã¨ãã¦å®ç¾©ãã Object.extend()ã使ã£ã¦ä»ã®ã¯ã©ã¹ããªãã¸ã§ã¯ãããç¶æ¿ããããã¨ãåæã¨ããé¢æ°ãéãã ã³ã¼ããç°¡æ½ã«è¨è¿°ããçºã«çãååã®é¢æ°ã¨ãã¦ä½¿ã ç¹ã«ãObject.extend()ã使ã£ã¦ç¶æ¿ãå®ç¾ãã¦ããç®æãå¤ããæçµçã«ã©ã®ãªãã¸ã§ã¯ãã»ã¯ã©ã¹ã«ã©ã®ã¡ã½ãããå®ç¾©ããã¦ã
ãç¥ãã
é害
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}