社å ã®åå¼·ä¼ã®è³æãããã«å ¬éãã¦ããã¾ãã社å ã®äººã社å¤ã®äººãèªãã§ãã ããã â»ã¿ã¼ã²ãã㯠JavaScript ã¯æ¸ãããã¨ãªãããªãã¸ã§ã¯ãæåè¨èªããã°ã©ãã â»ä¿¡å¿µã¯ãæããã®ã§ã¯ãªããå¿ æ»ã«çãã¦ããã¾ããã ä»é±ã¯ããªããã¼ããã¤ã«ãã§å ¨èº«ã¿ã¤ãã®ãããªå¿ãããªã®ã§ãã¿ããªãæ¥ãåãã¦æ¥½ããã§ããããé¦æ¸¯ã«è¡ã£ã¦æ¥½ããã§ããéã«ããããè³æãä½ã£ã¦ãã¾ãã ã¯ãã Section 00 Prototype.js ã®åã« JavaScript 㨠DOM ã¨ã¤ãã³ãã®æ¦è¦ HTML ã¯èªã¿è¾¼ã¾ããå¾ããã¹ã¦ã®æ å ±ã JavaScript ã®ãªãã¸ã§ã¯ãã«å¤æãããã ã¤ã¡ã¼ã¸çã«ã¯ãããªæã <html> <head> <title>ã¿ã¤ãã«</title> </head> <body> ï¼ ï¼ </body> </html>âââ var document = { doc
æ¨æ¥ã® Object Browser ãããããã¢ã¯ã»ã¹ãã£ãã®ã§ã³ã³ã½ã¼ã«ã®ã»ããæ¹é ãã¦è¼ãã¦ã¿ã¾ããã http://www.ornithopter.jp/amachang/browser/console.html é¯ã貸ãã¦ããã¦ãããã¨ãã¯ã¹ï¼ 使ãæ¹ ãã¼ã¸ã®æä¸ã®ãã£ã¼ã«ãã« [1, 2, 3, 'ãã¢ã¡ã¡ã¡ã¼ï¼'].each(alert);ã¨å ¥åããã
ãã®ãªã³ã¯ãããã¯ãã¼ã¯ã ã¤ã³ã¹ãã¼ã©ã¼ä»ãçã®ãã¦ã³ãã¼ã(IEéå®) è²ä»ãé¢æ°è¡¨ç¤ºçnew! ã¹ã¯ãªã¼ã³ã·ã§ãã ãªãã¸ã§ã¯ãããªã¼ã辿ã£ã¦åç §ã§ãã¾ãã é¢æ°ã®å®ç¾©ãåç §ããããã§ãã¾ãã ã¤ã³ã¹ãã¼ã«æ¹æ³ï¼IE) æ¹æ³1 ä¸è¨ã®ããã®ãªã³ã¯ãããã¯ãã¼ã¯ãã®ãªã³ã¯ãå³ã¯ãªãã¯ãã¦ããã¯ãã¼ã¯ã«è¿½å ããã æ¹æ³2 ã¤ã³ã¹ãã¼ã©ã¼ä»ãçããã¦ã³ãã¼ãããã ãã¡ã¤ã«ãé©å½ãªãã©ã«ãã«ç½®ãã¦ããã«ã¯ãªãã¯ããã¨ãã¤ã³ã¹ãã¼ã©ã¼ãèµ·åããã¾ããï¼è¦åãåºã§ã¾ããï¼ Bookmarkletãã¯ãªãããã¼ãã«ã³ãã¼ããIEã®ãªã³ã¯ãã¼ã«ã·ã§ã¼ãã«ããã追å ããã¾ãã ç»é²ãããå ´æãæ°ã«å ¥ããªãå ´åã¯ãããæ°ã«å ¥ãã®æ´ç...ãã§ä¿®æ£ãã¦ãã ããã ã¤ã³ã¹ãã¼ã«æ¹æ³(Firefox) æ¹æ³1 ä¸è¨ã®ããã®ãªã³ã¯ãããã¯ãã¼ã¯ãã®ãªã³ã¯ãå³ã¯ãªãã¯ãã¦ããã¯ãã¼ã¯ã«è¿½å ããã æ¹æ³2 ãã¼ã«
åã«2005/10/27ã®æ¥è¨ã§ã好ããªãã¼ã¸ã®JavaScriptãªãã¸ã§ã¯ããåç §ãããã©ã¦ã¶ãããã¯ãã¼ã¯ã¬ãããç´¹ä»ããã¾ãããããã®ã¨ãã¯å ¬éããã¨ããã¾ã§ãã£ã¦é£½ãã¦ãã¾ã£ã¦ãã¾ã ç´ãã¹ãã¨ãããçµæ§ãã£ãã®ã§ãããã®å¾ã¯ãã£ã¨æ¾ç½®ãã¦ãã¾ããã ã¯ã¦ãªã«ã¦ã³ã¿ã¼ã§è¦ã¦ããã¨2005/10/27ã¸ã®åç §ãçµæ§ããã¿ãããªã®ã§ä½¿ããã¦ããã®ããããã¾ããã*1ããªãã¡ã¯ã¿ãªã³ã°ã»æ©è½è¿½å ãã¦ä»¥ä¸ã®ãã¼ã¸ã§åå ¬éãã¾ããã 好ããªãã¼ã¸ã®JavaScriptãªãã¸ã§ã¯ããåç §ãããã©ã¦ã¶ã®Bookmarklet ã¹ã¯ãªã¼ã³ã·ã§ãã ããã¹ãå ¥åã«å¼ãå ¥åãã¦refãã¿ã³ãæ¼ãã¨ããªãã¸ã§ã¯ãã®ããããã£ãåç §ã§ãã¾ããããããã£åãã¯ãªãã¯ããã¨ãããã«ãã®ãªãã¸ã§ã¯ãã«ã¤ãã¦è¡¨ç¤ºãã¾ãã åãã¼ã¸ã§ã³ãç¥ã£ã¦ãã人ãå± ããã¯ãããã¾ãããã主ãªå¤æ´ç¹ã¯ã IEãFirefoxã³ã³
prototype.js ã®ãªãã¸ããªãè¦ã¦ããããããããããã®ãã³ãããããã¦ããã®ã§ãæ©éãã¯ã£ã¦ã¿ã¾ãããï¼ã¡ãã£ã¨æ¹é ãã¦ã常ã«ææ°ã®jsãè¦ãããã«ãªã£ã¦ã¾ããï¼ ããã(Firefox ã§)使ãã¨ãprototype.jsã®æ´æ°ç¶æ³ãææ¡ã§ãã¾ãã http://www.ornithopter.jp/amachang/browser/browser.html âåéã®é¯ã«ä¸ãããã¦ãããã¾ããããã¼ãããããèªé¯æ¬²ãããªã¼ãããã©ããã©
Explore Amazon Web Services with AJAX - LiveSearch - Day 1 Amazon offer access to their database via webservice and this is a great opportunity to explore the different AJAX features that we can implement with it. So as you may understand by Day 1, this week I'll try to focus on the different aspect of using AWS with AJAX using nusoap and prototype. Amazon gives the possibility to retrieve data vi
ææ°ã 1.5.0_pre0 ã«ãªã£ã¦ãã®ã§èª¿æ» (èªåç¨ã®ã¡ã¢ãªã®ã§èªã¿ã«ããã¦ãã´ã¡ã³ãªããã£ã¦ãã¨ã§) Prototype.js 1.4.0 ããã®å¤æ´ç¹ CHANGELOG ãã String.prototype.truncateã追å String.prototype.gsub, String.prototype.sub, String.prototype.scan ã追å ã Template ã¯ã©ã¹ã追å ã $$ é¢æ°ã追å ã Selector ã¯ã©ã¹ã追å ã Element.childOf ã追å ã String.prototype.inspect ãä¿®æ£ã String.prototype.strip ã追å ã String String.prototype.truncate æç« ãçãããã var text = 'ã¨ã£ã¦ãé·ãæç« ã§ããèªãã®ãããããããã§ããæ¦è¦ã ã
8æ17æ¥ã®æè¡åå¼·ä¼ - Flexã¬ã¤ã¢ã¦ãææ¸ãåå¼·ä¼ 8æ17æ¥ã«è¡ããã¾ããæè¡çºè¡¨ä¼ã®å 容ãæ®å½±ããåç»ãã¡ã¤ã«/è³æãå ¬éãããã¾ãããå 容ã¯ä»¥ä¸ã®ã¨ããã§ãã ãã¼ã Flexã¬ã¤ã¢ã¦ãææ¸ãåå¼·ä¼ çºè¡¨è d:id:secondlife åå¼·ä¼åç» ãã¦ã³ãã¼ãâ¦
$A $A ã¨ããé¢æ°ã使ãã¨ãArray ãã©ããªãã¸ã§ã¯ã(NodeList ã Arguments ãªã©)ã Array ãªãã¸ã§ã¯ãåãããã¨ãã§ããã便å©ã ãããã®é¢æ°ã Enumerable ã¤ã³ã¿ãã§ã¼ã¹ãå®è£ ããããã«ä½¿ç¨ããã®ã¯ãããããã«ããããã ããã§ã以ä¸ã®ãããªãã®ãå®ç¾©ãã¦ã¿ãã var $E = Enumerable.from = function(iterable) { iterable._each = Array.prototype._each; Object.extend(iterable, Enumerable); return iterable; };ãããã $A(ã).each ã¨ããã¦ãã¨ããã«ä½¿ãã $E(ã).each ããããã $E ã®å®è¡é度㯠$A ã® 7 ã 4 åã§ãã with(Element) effects.js ã® w
æ¬é£è¼ã§ã¯ãAjaxãæ´»ç¨ããã¤ã³ã¿ã©ã¯ãã£ããªWebã¢ããªã±ã¼ã·ã§ã³ããã¼ãããéçºããã3åã®é£è¼ã§ãç°¡åãªWebãã©ãã¢ã«ãã ãå®æãããäºå®ã ãå®çµããæ©è½ãæã£ãAjaxã¢ããªã±ã¼ã·ã§ã³ãä½ãä¸ããã¹ãããããå ·ä½çã«è§£èª¬ãã¦ããããã JavaScriptã¨éåæãã¼ã¿éåä¿¡ãçµã¿åããããWebã¢ããªã±ã¼ã·ã§ã³éçºã¹ã¿ã¤ã«ã§ãããAjaxãã¯ããã®ãã¼ã¯ã¼ããçºè¡¨ãããã®ãä»å¹´åãã®ãã¨ã ã¨ã¯æããªãã»ã©ã®çºå±ãéãã¦ãããæ¥ã æ°ããå®é¨ãããããçµã¿è¾¼ãã ãµã¼ãã¹ãçºè¡¨ããã¦ããã ããããå®éã«Ajaxãæ´»ç¨ããWebã¢ããªã±ã¼ã·ã§ã³ãéçºãã¦ã¿ããããã¨èãã¦ããéçºè ãå¤ããã¨ã ããããã§ã¯Ajaxã§ä½ãã©ãä½ã£ãããããã ããï¼ ã¨ããé¨åã§ç«ã¡æ¢ã¾ã£ã¦ãã¾ã£ã¦ãã¾ã£ã¦ããã®ã§ã¯ãªãã ãããã ããã§æ¬é£è¼ã§ã¯ãåãªããµã³ãã«ã§ã¯ãªããå®çµããæ©è½ãæã£ãAjaxã¢
ããã¯ãªãã¸ã§ã¯ãæåJavaScriptã©ã¤ãã©ãª Prototypeã®Effectã®ãµã³ãã«ã§ããä»å±ã®ãµã³ãã«ã«ã¡ãã£ã¨æãå ãã¦ã¡ã㣠ã¨æ¥æ¬èªè¨³ãããã®ã§ãã Effect.Fade() & Effect.Appear() å¼ã³åºãæ¹æ³ new Effect.Appear(element) new Effect.Fade(element) ã³ã¼ãä¾ onclick="new Effect.Appear('appear')" onclick="new Effect.Fade('appear')"
ããã¯ä½ï¼ prototype.js 㯠Sam Stephenson ã«ãã£ã¦æ¸ããã JavaScript ã©ã¤ãã©ãªã§ãã ãã®çèã®ä¸è¨è¿°ãããæ¨æºã«æºæ ããã³ã¼ãã¯ãWeb 2.0 ã«ããã¦ç¹å¾´ã¨ãªããªããã§ã¤ã³ã¿ã©ã¯ãã£ããªã¦ã§ããã¼ã¸ãå¶ä½ããéã®éè·ããããªãã®è©ããåãå»ã£ã¦ãããã§ãããã ãããã®ã©ã¤ãã©ãªã使ã£ããã¨ããããªããå å®ããããã¥ã¡ã³ãããã®ã©ã¤ãã©ãªã®å£²ãã§ã¯ãªããã¨ã«æ°ãã¤ããã¯ãã§ãã ç§ã¯ä»ã®éçºè ã¨åæ§ã«ãã½ã¼ã¹ã³ã¼ããèªã¿ã試è¡é¯èª¤ããªãã prototype.js ãç解ãã¾ããã èªåãå¦ãã§ããéã«ã¡ã¢ãåãããããä»ã®äººãã¡ã¨å ±æãããã¨ã¯ä¾¡å¤ãããã®ã§ã¯ãã¨èããã®ã§ãã å ãã¦ããã®ã©ã¤ãã©ãªã«ãã£ã¦æä¾ããã¦ãããªãã¸ã§ã¯ããã¯ã©ã¹ãé¢æ°ãæ¡å¼µæ©è½ã«ã¤ãã¦ã® éå ¬å¼ãªãã¡ã¬ã³ã¹ ãæä¾ãã¦ãã¾ãã ããã§æä¾ããä¾ã¨ãªãã¡ã¬ã³ã¹
JSON ã Template-Toolkit ã§å±éãã Jemplate ã¨ããè¨äºãæ¸ãããã§ãããJemplate ã使ãã¨ä½ããããã£ã¦ã®ãããå°ã詳ããæ¸ãã¦ã¿ã¾ãã Jemplate 㯠TT 㧠JavaScript ä¸ã® JSON ãå±éã§ãããã§ãããããã ãèãã¦ãããããã¨ãããã§æ®æ®µãµã¼ãã¼ãµã¤ãã§ãã£ã¦ããã³ãã¬ã¼ãã®å±éãã¯ã©ã¤ã¢ã³ããµã¤ãã«æã£ã¦è¡ãã¦è² è·ãã¯ã©ã¤ã¢ã³ãã«ç§»ã£ã¦ã¦ãã¼ãã£ã¦ããã®ã使ãã©ããã®ããã«ãæãã¡ããã¾ããã©ããããããªããæ¤ç´¢ã¨ã³ã¸ã³ã«å¼ã£ããããªããªã£ããã¨ããã¢ããªã±ã¼ã·ã§ã³ã®ä½¿ãåæãæªããªã£ããã¨ãè²ã å¼å®³ãããã¾ãã ãããããªãã¦ãJemplate 㯠JavaScript ã®ããã®ãã³ãã¬ã¼ãã¨ãã¦ä½¿ãã¾ãã 試ãã« Catalyst ã§ç°¡åãªã¢ããªã±ã¼ã·ã§ã³ãä½ã£ã¦ã¿ã¾ãããã¡ãã£ã¨åããã¦ããç°å¢ããªãã®ã§ã½ã¼ã¹
Greasemonkeyã§prototype.jsãscript.aculo.usã使ããã便å©ã ãããªãã¨èãããã¨ã®ããéçºè ã¯å°ãªããªãã®ã§ã¯ãªãã§ãããããã¡ãã£ã¨ãããªã¢ã¤ãã¢ã試ãã¦ã¿ããã¨ã®ããæ¹ãªããããã¨æãã®ã§ãããGreasemonkeyã§ãããã£ãå¤é¨JavaScriptã©ã¤ãã©ãªã¯ç°¡åã«ã¯ä½¿ãã¾ãããæ¡å¤ãã¼ãã«ãé«ãã§ãã Googleã§èª¿ã¹ã¦ããããé¢ç½ã解決æ¹æ³ãè¦ã¤ãã£ãã®ã§ç´¹ä»ãã¾ãã Loading External JavaScript Libraries in Greasemonkey ãã®ããã°ã§è§£èª¬ããã¦ããã¢ããã¼ããç¨ããã°ãGreasemonkeyã§å¤é¨JavaScriptã©ã¤ãã©ãªã使ããããã«ãªãã¾ãã ãã¤ã³ãã¯ã å¤é¨ã©ã¤ãã©ãªããã¼ããããã¾ã§å¾ ã¡ç¶ããå¶å¾¡æ§é unsafeWindowãçµç±ãã¦å¤é¨ã©ã¤ãã©ãªã«ã¢ã¯ã»ã¹ ã¨ãã£
ããã¹ãã¨ãªã¢ã§ã®ãªã¿ã¼ã³ãã¼ã§ãsubmitã¤ãã³ããçºçããªãããã«ããå ´åããã©ã¦ã¶æ¯ã«ã©ã®ãããªå¦çãæ¸ãã°ããã®ã調ã¹ã¦ã¿ã¾ããã(submitã¤ãã³ãèªä½ã«å¦çã追å ããã«ãããã¹ãã¨ãªã¢ã§ã®ã¤ãã³ãã§å¶å¾¡ãããã£ãã®ã§) ããã¹ãã¨ãªã¢ã§ã®ãªã¿ã¼ã³ãæ¾ããã¤ãã³ãã¨ãã¦ã¯ãä¸è¨ã®3ã¤ãããã¾ãã keypress keydown keyup ã¤ãã³ãããã£ã³ã»ã«ããæ¹æ³ã¯ãIEã®JScriptã®å®è£ ã¨ãDOM 2ã®Eventã¢ãã«ã§ã®å®è£ ã§ããä¸è¨ã®2ãã¿ã¼ã³ã試ãã¾ããã event.preventDefault() event.returnValue=false ããã¦ç¢ºèªã®çµæãä¸è¨ã®ã¤ãã³ãÃãã£ã³ã»ã«å¦çã®çµã¿åããã§submitã¤ãã³ãããã£ã³ã»ã«åºæ¥ãã®ã¯ãä¸è¨ã®ãã¿ã¼ã³ã¨ãªãã¾ããã IE 6 keydown - event.returnValue=false
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}