Code Archive Skip to content Google About Google Privacy Terms
GASã§æ£ãåãæãç·ãªã©å種ã°ã©ããä½æãå¤æ´ãåé¤ããããã®åºæ¬ ï¼2017/7/12ï¼ è³æãä½ãéã«ããã°ã©ããã¯å¿ è¦ä¸å¯æ¬ ãªåå¨ã ãä»åã¯ããã°ã©ãã®æ°è¦ä½æããã°ã©ãã®å¤æ´ããã°ã©ãã®åé¤ãã«ã¤ãã¦è§£èª¬ãã GETï¼POSTã§ãã©ã¼ã ããéä¿¡ãããå¤ãPHPã§åãåããå®ç¾©æ¸ã¿ã®å¤æ°ããæ´æ°ã ï¼2017/7/10ï¼ HTMLã®ãã©ã¼ã æ©è½ã«ã¤ãã¦ããããããget/postã¡ã½ãããªã©ã®å 容ãé£æ³é åã§æ ¼ç´ããPHPã®ãå®ç¾©æ¸ã¿ã®å¤æ°ãã®ä¸èº«ãããã©ã¼ã éä¿¡å¤ã®åãæ±ãã«ããã注æç¹ã«ã¤ãã¦è§£èª¬ãã¾ããPHP 7.1å«ã2017å¹´ã®æ å ±ã«åãããã«æ´æ°ã PHPã®foræï¼ã«ã¼ãè±åºã®break/ã¹ãããã®continueãæ´æ°ã ï¼2017/6/26ï¼ ç´ æ°å¤å®ã®ãã¸ãã¯ããbreakæãcontinueæã®å©ç¹ã¨ä½¿ãæ¹ã解説ãforæã使ã£ãã«ã¼ãå¦çã®åºæ¬ã¨whileæ
iiokaï¼ æ®éã®Scaffoldã§ã¯ç©è¶³ããªãããªãã«ã ã§ãã ã¨ãããã¨ã§ActiveScaffoldã¨ãããã©ã°ã¤ã³ãç´¹ä»ãããã¨æãã¾ãã ããã¨ãã£ãã³ã¼ãã£ã³ã°ãä¸è¦ãªã®ã«ãé¢ãããã é常ã®Scaffoldãããã«ãã³ã¤ã¤ã®ãç¹å¾´ã§ãã ã»ActiveScaffold â»ãã®ãã©ã°ã¤ã³ã¨ä¼¼ããã®ã§ãAjaxScaffoldãã¨ããã®ãããã¾ãã ActiveScaffoldã®Webãµã¤ããè¦ãã¨ã ãA Ruby on Rails plugin from the makers of AjaxScaffoldãã¨ããã®ã§ã AjaxScaffoldãä½ã£ã人ãã¡ãä½ã£ãã£ã½ãã®ã§ããã詳ãããã¨ã¯ãããã¾ããã æé ã¯ä»¥ä¸ã®éãã§ãã ï¼ï¼åçscaffoldãã§ããç¶æ ã«ãã¦ãã 以åã®è¨äºãåèã«ãscaffoldãæ©è½ããç¶æ ã«ãã¦ããã¦ãã ããã ã½ã¼ã¹ã³ã¼ããçæã
é éå°ã®ãã§ãQ(ãã¥ã¼ã¹ãã¢)ãUSTREAM.TVã®ã¹ããªã¼ãã³ã°ãããªã§è¦ãªãããWebãã©ã¦ã¶ä¸ã§ã®ãã¼ãã¼ãæä½ã§æ縦ã§ããWebã¢ããªãä½ã£ã¦ã¿ã¾ããã以ä¸ããã®ä»çµã¿ã«ã¤ãã¦è©³ãã解説ãã¦ããã¾ãã ãã§ãQ(ãã¥ã¼ã¹ãã¢)æ縦Webã¢ããªã®åç» åä½ãã¦ããæ§åã¨ä»çµã¿ã®æ¦è¦ã«ã¤ãã¦ã¯ã以ä¸ã®åç»ãè¦ãã®ãã¦ã£ã¨ãã°ããããã    http://jp.youtube.com/watch?v=-n3XV6GGdWY    http://www.nicovideo.jp/watch/sm2432398  ãã§ãQ(ãã¥ã¼ã¹ãã¢)Webã¢ããªæ¦è¦å³Â ustream.tvustream.tv  Webã«ã¡ã©ã¨Webãã©ã¦ã¶ã ãã§åç»é ä¿¡ã§ãã¦ãã¾ãWebãµã¼ãã¹ã§ããä»åã¯ãã®ãµã¼ãã¹ãåç»ä¸ç¶ã«ä½¿ç¨ãã¾ãããGainer GAINER.cc USBã¨é»åé¨å
ä»åã¯JavaScriptã¨Webãã¼ã¸ã®è¡¨ç¤ºã»æä½ã®ä½æé度ã«ã¤ãã¦èãã¦ã¿ã¾ããã¨ããã®ã¯ï¼JavaScriptã®ããã§Webãã¼ã¸ã®è¡¨ç¤ºãæä½ãªã©ã®é度ãé ããªã£ã¦ããï¼ã¨æãããã¨ãããããã§ãã ç¾å¨ã®Webãµã¤ãã§ã¯ï¼JavaScriptã使ã£ã¦ä½¿ãåæãåä¸ãããã¨ã¯ï¼ããå½ããåã«è¡ããã¦ãã¾ããä¾ãã°ï¼åçã«ãã¼ã¸ãæ¸ãæãããï¼ãã¼ã¸é·ç§»ãè¡ããã«ãµã¼ãã¼ã¨éä¿¡ãè¡ã£ã¦ãã¼ã¿ãåå¾ãããã¨ï¼JavaScriptã使ããã¨ã§ï¼Webãµã¤ãããã便å©ã«ï¼ãã使ãããããããã¨ãã§ãã¾ãã Ajaxã¨ããè¨èãã¯ãã£ã¦ããï¼ãã2年以ä¸ããã¤ãã§ããããä½å¹´ãåï¼JavaScriptã¯ããã¾ã§ï¼ã»ãã¥ãªãã£ãä½ä¸ãããä¸è¦ãªãã®ã ã¨è¦ãªããã¦ããé ãããã¾ããããããããããä¸å¤ãã¦ï¼ãJavaScriptããããã使ã£ã¦ããããã¨ãã空æ°ã«ãªã£ããã¨ã§ï¼Webãµã¤ããä½æã
ååã¯ãã©ãã°&ãããããå®ç¾ããæ¹æ³ãç´¹ä»ããããä»åã¯ãããå¿ç¨ããç»é¢ã³ã³ãã¼ãã³ãã§ããSortableã¨Sliderã使ã£ã¦ã¿ããããªããä»åã¯é½åã«ããã¡ã½ããããªãã·ã§ã³ãããä¸é¨ããç´¹ä»ã§ããªãã詳細ã¯ç»é¢ã³ã³ããã¼ã«ã®Wikiãã¼ã¸ãåç §ãã¦ããã ãããã é ç®ã®ä¸¦ã¹æ¿ã Sortable.create( IDã¾ãã¯DOMãªãã¸ã§ã¯ã [, ãªãã·ã§ã³] ); // 並ã¹æ¿ãå¯è½ã«ãã Sortable.destroy( IDã¾ãã¯DOMãªãã¸ã§ã¯ã ); // 並ã¹æ¿ãä¸è½ã«ãã Sortableã¯ã<ul>ãªã©ã§åæããé ç®ããã©ãã°ã«ãã£ã¦ä¸¦ã¹æ¿ããããããã«ãããé ç®ããã©ãã°ãã¦ããéã¯ããã®è¡¨ç¤ºä½ç½®ã®ã¿ãå¤æ´ãããããããããå¾ã¯ããã®ä½ç½®ã«æãè¿ãã¨ããã«HTMLã¿ã°ã®æ§æãå¤æ´ãããã ãä¾ãããã¤ã³ãã¸ã£ã¼ãã«ãã¨ããé ç®ããã©ãã°ã§æä¸è¡ã«ç§»åãã
ãæç²ãä¸é¨çç¥ Ajax.Updater = Class.create(); Object.extend(Object.extend(Ajax.Updater.prototype, Ajax.Request.prototype), { initialize: function(container, url, options) { (çç¥) }, (çç¥) if (this.responseIsSuccess()) { if (this.onComplete) setTimeout(this.onComplete.bind(this), 10); } } });Ajax.Updaterã¯ã©ã¹ã¯Ajax.Requestã¯ã©ã¹ãç¶æ¿ãã¦ãã¾ãã initializeã¡ã½ãã initialize: function(container, url, options) { this.contain
ã³ã¡ã³ã( 0 ) | ãã©ãã¯ããã¯( 0 ) Ajaxã§éä¿¡ãããã¨ãã¯ãæä½ãããã¨ç°å¸¸ã«å¤§å¤ã§ãã XMLHttpRequestãªãã¸ã§ã¯ãä½ã£ã¦ãsendãã¡ã½ããã§å¼ã³åºãããã®ã¹ãã¼ã¿ã¹ããã§ãã¯ããªããéä¿¡ãå®äºããããæ å ±ãåãåã£ã¦ã»ã» ããããIEã®å ´å㯠HTMLHttpRequestãªãã¸ã§ã¯ãã§ã¯ãªãããã¹ãã¼ã¿ã¹ã®çªå·ãªã©ã Webãã©ã¦ã¶ã«ãã£ã¦éã£ã¦ãã¾ããããã°ã©ã ãä½ãã®ãé常ã«å¤§å¤ã prototype.jsã«ã¯ãRequestã¡ã½ããããããããã使ãã°ç°¡åã«ããã°ã©ã ãä½ããã¨ãã§ãã¾ããä¾ãã°æ¬¡ã®ã³ã¼ãã var ajax = new Ajax.Request('http://xxx/xxx.php', { method:'get', parameters: 'a=1&b=2', onComplete: success);ãã㧠OKãæºåãªã©
prototype.js1.5ã§ã¯ã¿ããªãããããããªã¼ã¨æã£ã¦ããæ©è½ãå®è£ ããã¾ããã(via Encytemedia ) ï¼SVN co http://dev.rubyonrails.org/svn/rails/spinoffs/prototype ã㦠rake distãããã® ï¼ â Element.Methods 1.4ã¾ã§ã¯elementã«å¯¾ããæä½ã¯ 1Element.show($("test")); 2Element.update($("test"), "hoge"); ã®ããã«æ¸ãå¿ è¦ãããã¾ããã ããã 1$("test").show(); 2$("test").update("hoge"); ã¨æ¸ããããã«ãªãã¾ããã ããã¯prototype.jsã§æãå大ãª$ã¡ã½ããã®å¤æ´ã«ããã¢ãã§ãã 1function $() { 2 var results = [],
XMLHttpRequest (XHR) ã¯ãJavaScriptãªã©ã®ã¦ã§ããã©ã¦ã¶æè¼ã®ã¹ã¯ãªããè¨èªã§ãµã¼ãã¨ã®HTTPéä¿¡ãè¡ãããã®ãçµã¿è¾¼ã¿ãªãã¸ã§ã¯ãï¼APIï¼ã§ããã ãã§ã«èªã¿è¾¼ãã ãã¼ã¸ããããã«HTTPãªã¯ã¨ã¹ããçºãããã¨ãã§ãããã¼ã¸é·ç§»ãããã¨ãªãã«ãã¼ã¿ãéåä¿¡ã§ããAjaxã®åºå¹¹æè¡ã§ããã XMLHttpRequestãå©ç¨ããWebã¢ããªã±ã¼ã·ã§ã³ã¯é常ã«å¤ãåå¨ããä¾ã¨ãã¦ãGoogle ããããFacebookãªã©ãæããããã XMLHttpRequestã¯ããã¤ã¯ãã½ãããOutlook Web Access 2000ã®ãã¤ãããã¯HTMLã«ããã¦ã§ãã¤ã³ã¿ã¼ãã§ã¼ã¹ã«æ´»ç¨ããããã1999å¹´å ¬éã®Internet Explorer 5ã«ããã¦ActiveXãªãã¸ã§ã¯ãã¨ãã¦å®è£ ããã®ãå§ã¾ãã§ãã[1]ããã®å¾ã2001å¹´ã«Mozillaããã¸
FireFox ã®æ¡å¼µæ©è½ FireBug ãæ´æ°ãããããããã¨ã«ãªã£ã¦ããã®ã§å ±æãã¾ãã ã¾ããããè¦ã¦ãã ãã http://Sample.ECMAScript.jp/20060331.html ã±ã£ã¨è¦ã®æ©è½ HTML ã®ã½ã¼ã¹ãè¦ãªãããå±æ§å¤ãç´æ¥ç·¨éã§ããã å½±é¿ã®ãã CSS ãå³æã«è¡¨ç¤º ã¬ã¤ã¢ã¦ãæ å ±ãå³æã«è¡¨ç¤º ã¤ã³ã¹ãã¯ãä¸ã®è¦ç´ ã«æµ®ä¸ããã¤ãã³ãããã£ãã㣠ã¤ã³ã¹ãã¯ãä¸ã®è¦ç´ ã® JavaScript ãªãã¸ã§ã¯ãã表示 Ajax ã¬ã¹ãã³ã¹ã®ãããã確èªã§ããããã«ãªã£ãã FireBug ã®ã¤ã³ã¹ãã¼ã« https://addons.mozilla.org/extensions/moreinfo.php?application=firefox&id=1843
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}