ãã®æ¸ç±ã¯Creative Commons Attribution-NonCommercialã® ã©ã¤ã»ã³ã¹ ã§å ¬éããã¦ãã¾ãã ã¾ããPDFã¨ãã¦ã¬ã³ããªã³ã°ãããã¼ã¸ã§ã³ã¯ä»¥ä¸ãããã¦ã³ãã¼ããããã¨ãã§ãã¾ãã
ååãfuelphpã§pjaxãæ±ãã§ããç»é¢ã ããpjaxã®jsã©ã¤ãã©ãªãå¿ è¦ã ã£ãã ãã³ãã¬ã¼ãã®ãã¼ã¹ã§ãããtemplateãã¡ã¤ã«ã«pjaxã®ã©ã¤ãã©ãªã®ãã¹ã æ¸ãã¦ãã¾ãã¨ã使ã£ã¦ãªãç»é¢ã¾ã§ãã®ã©ã¤ãã©ãªãå¼ã°ãã¦ç¡é§ã ãã¨è¨ã£ã¦ãåå¥ãã³ãã¬ã¼ãã§ãã®ã©ã¤ãã©ãªãå¼ã¶ã®ãããã¦ãªãã assetsãå©ç¨ãã¦ãã®åé¡ã解決ã§ããã â ã³ã³ããã¼ã©ã¼ class Controller_Welcome extends Controller_Template { public function action_index() { Asset::css(array('bootstrap.min.css', 'bootstrap-responsive.min.css','bootswatch.css'), array(), 'add_css', false); $this->te
12 æ 13 æ¥ã« Kyoto.js ã®ç¬¬ 3 å meetup ã§ããjQuery 㧠HTTP æ¥ç¶ããã¨ãã®æ¸ãæ¹ãã¨é¡ãã 5 åéã®ã©ã¤ããã³ã°ãã¼ã¯ãè¡ãã¾ããã以ä¸ã«ãã®å 容ãä¸é¨åæ§æãã¦åé²ãã¾ãã ããã«ã¡ã¯ãnanto_vi ã§ããä»æ¥ã¯ jQuery 㧠HTTP æ¥ç¶ãããã¨ãã®æ¸ãæ¹ã«ã¤ãã¦è©±ãã¾ãã çãã jQuery ã使ããã¨ãå¤ããã¨æãã¾ããjQuery 㧠HTTP æ¥ç¶ãããã¨ããå¤ããµã³ãã«ã ã¨æ¬¡ã®ãããªæ¸ãæ¹ãè¼ã£ã¦ãã¾ãã $.ajax({ url: '/foo/bar', data: { baz: 'qux' }, success: function (data) { console.log(data); }, }); æ¥ç¶å®äºæã®å¦çãã³ã¼ã«ããã¯é¢æ°ã¨ã㦠$.ajax() ã«æ¸¡ãã¦ããå½¢ã§ãããããããç¾å¨ãã®æ¸ãæ¹ã¯éæ¨å¥¨ã¨ãªã£
End script and style with newline? Support e4x/jsx syntax Use comma-first list style? Detect packers and obfuscators? (unsafe) Preserve inline braces/code blocks? Keep array indentation? Break lines on chained methods? Space before conditional: "if(x)" / "if (x)" Unescape printable chars encoded as \xNN or \uNNNN? Use JSLint-happy formatting tweaks? Indent <head> and <body> sections? Keep indentat
HTML+CSS+JavaScriptã§ã¤ãããµã¤ãã®å®çªæ¼åºãé«ç´ãã©ã¤ããï¼ HTMLãã¡ã¤é¨ã®ãHTML5ã®é¬¼ããã¨ã»ãã ã§ãã ã«ã¤ãã¯ç¤¾å ã§ã¯ãé«ç´ãã©ã¤ããã¨ããæ称ã§å¼ãã§ãã縦ã横ã«é·ã1ãã¼ã¸ãµã¤ãã ã¹ã¯ãã¼ã«ã«åããããã©ã©ãã¯ã¹ãã¢ãã¡ã¼ã·ã§ã³ã®æ¼åºãå°è±¡çã§ãããã ä»åã¯ãé«ç´ãã©ã¤ããã¨ã°ã°ãã¨1ä½ã«è¡¨ç¤ºãããã åã®ã¯ã¦ããé«ç´ãã©ã¤ããã¿ã°ããå³é¸32ãµã¤ããç´¹ä»ãã¾ãï¼ ã¾ãã¯çéï¼ç¸¦ã«é·ãé«ç´ãã©ã¤ã
â¼ã¯ããã« é³ãé³´ãã¾ããé³éã«ã注æä¸ããï¼ WebGLã«å¯¾å¿ãããã©ã¦ã¶ï¼Chrome, Firefoxï¼ã§ã覧ä¸ããã ãã«ã¹ã¯ãªã¼ã³ã®æ¹ã楽ããããã â¼æä½æ¹æ³ ãã¦ã¹ãã©ãã°ã§çä½ãå転ããã¾ã ã«ã¼ããã¯ãªãã¯ã§é¸æãå度ã¯ãªãã¯ã§é¸æãã£ã³ã»ã« 1æç®ã«é¸æããã«ã¼ãããã¼ã¹ã«ã¼ãã«ãªãã¾ã ãã¼ã¹ã«ã¼ããé¸æãã£ã³ã»ã«ããã¨ããã¹ã¦ã®ã«ã¼ãã®é¸æç¶æ ããªã»ããããã¾ã 2æ以ä¸é¸æããã¨ãåæããããã¨ãã§ããããã«ãªãã¾ãï¼2æ以ä¸ã§ããã°ä½æã§ãåæå¯è½ï¼ åææ¼åºãçµãã£ããã¯ããã«æ»ãã以ä¸ã«ã¼ãã â¼ãµã¦ã³ã ããªã¼é³æ¥½ç´ æ Senses Circuit http://www.senses-circuit.com/ SPEC vol.5 ã¨ã³ããªã¼ http://jsdo.it/event/spec/vol5 (function(){ "use strict";
ä¸å£ã«JSerã¨ãã£ã¦ããè²ã ãªåéã®äººããã¾ããããªãã¯ã©ããªJSerã«ãªãããã§ããï¼ãæ¹åæ§ã«ããå¦ã¶ã¹ãäºãå¤ãã£ã¦ãã¾ããç®æ¨ãæ確ã«ãã¾ãããã ã¨ããããã§ãç¬æã¨åè¦â¦â¦ã¨ããã主ã«åè¦ã§ä¸ç¨®é¡ã«ã¾ã¨ãã¦ã¿ã¾ããã 追è¨: ãåå¼·æ³ãã¨ãã¿ã¤ãã«ã«ä»ãã¦ãããªããåå¼·æ³ã«è§¦ãã¦ã¾ããã§ããã®ã§ãåå¼·ç¯å²ãã«ä¿®æ£ãã¾ãããã²ã¼ã ä¸ç¨®é¡ ã¢ãã¡ã¼ã·ã§ã³ãä½ã人 ã¢ããªãä½ã人 ãµã¼ãå´ãä½ã人 åºæ¬çã«ããã°ã©ãè¦ç¹ã§ããã³ã¼ãã¼è¦ç¹ãæå¾ã«ã ã§ã¯ãããããè¦ã¦ã¿ã¾ãããã ã¢ãã¡ã¼ã·ã§ã³ãä½ã人 Flashã®ä»£ããã«JavaScriptãCSSã使ã人ãFlasherãããã·ãããã¦ããä½ç½®ã çºæ³¨å´ãæ³å®ããJavaScripterãæè¿ã®æºå¸¯ã²ã¼ã ã§éè¦ãããã ãä»äº JSã ãã§ãªãCSSãç»åãé§ä½¿ãã¦ç»é¢ãæãã UIã ããªãããªãã¦ãå°ãäºã¯ãªãããã©ãUXã¾
flotr2 (humble software development) HTML5 canvasã§ãã°ã©ããæããJavaScriptã©ã¤ãã©ãªãflotr2ããå ¬éããã¦ãã¾ãã (è±èª) ãã¢ãµã³ãã«ãè¦ãã¨ã種é¡ãå¤ãã©ãã綺éºãªã°ã©ãã§ãã¢ãã¡ã¼ã·ã§ã³ãªã©ãã§ããããã§ãã
æ¢ã«å¤ãã®æ¹ã JavaScript ã®ãªãã¸ã§ã¯ãæåçå´é¢ã«ã¤ãã¦ã®è§£èª¬ãè¨äºã«ããã¦ãã¾ãããèªã¿æå´ããè¦ãã¨ãä¾ãã°ããã°ã©ãã³ã°è¨èªã¸ã®ç¿ç度ããªãã¸ã§ã¯ãæåèªä½ã«å¯¾ããç解度ããããããªããã§ãç§èªèº«ããããããªãã»ã©ï¼ã ã£ã¦ãããé ã®ä¸ã®ã¹ã¤ãããããã³ãï¼ã¨å ¥ããããªå¢å°ã«ã¯éãã¦ãã¾ããã§ããã ãã¤ã¦ç§ã ãªãã¸ã§ã¯ãæåãªJavaScriptããã°ã©ãã³ã°ã®ã¹ã¹ã¡ ãªãã¦ãã翻訳è¨äºãæ¸ãã¦ã¯ããã®ã§ãããæ£ç´ãªã¨ãã prototype.constructor ã®åå¨ã¯ç¥ãã¾ããã§ããããFunction.call ã Function.apply ãã©ã使ãã°ããã®ããªã©ãã¡ããã¨ç解ã§ãã¦ã¯ãã¾ããã§ããã ãããªä¸ã2011å¹´12æã«æ¸ããã Doc Center | Mozilla Developer Network ã®è¨äº ãªãã¸ã§ã¯ãæå Java
Array.uniqã¯é åã®éè¤ããè¦ç´ ãåãé¤ãã¡ã½ããã§ããArray.uniwã¡ã½ããã¯prototype.js v1.4.0ãåæã¨ãã¦ãã¾ãã é åã®ä¸ãèµ°æ»ããªããéè¤ããè¦ç´ ãåãé¤ãããã®çµæãæ°ããé åã¨ãã¦è¿ãã¾ããè¦ç´ ã®éè¤ã¯prototype.jsã®Enumerable.includeã使ã£ã¦å¤æãã¦ãã¾ãã Object.extend(Array.prototype, { uniq: function() { return this.inject([], function(dest, value) { if (!dest.include(value)) dest.push(value); return dest; }); } }); var foo = [30, 20, 50, 30, 10, 10, 40, 50]; alert(foo.uniq()); //=
ãã®æ©è½ãå®è¡ããã«ã¯prototype.jsãå¿ è¦ã§ã æ§æ Ajax.Request(url, options) å¼æ°: url=URL, options=ãªãã·ã§ã³ ãAjaxãªã¯ã¨ã¹ããè¡ãããµã³ãã«ã³ã¼ã <html> <head> <title>Ajax.Request - Ajaxãªã¯ã¨ã¹ããè¡ã</title> </head> <!--Ajaxãªã¯ã¨ã¹ããè¡ãã®ãµã³ãã«--> <script type="text/javascript" src="/js/prototype.js"></script> <script type="text/javascript"> function execute() { var a = new Ajax.Request( "/samples/ajax/test.php", { "method": "get", "parameters":
ä»ãTwitterã©ã¤ã¯ãªã¤ã¶ãããµã¼ãã¹ãä½ã£ã¦ãã¾ãã ãã©ã¼ã ã®ã¨ããã§Twitterã¿ããã«æåæ°ã®ã«ã¦ã³ã¿ã¼ãã¤ãããã ã¨ãããã¨ã§ãºããªãªPluginãæãã¦ãããã¾ããã jQuery plugin: Simplest Twitter-like dynamic character count for textareas and input fields http://cssglobe.com/post/7161/jquery-plugin-simplest-twitterlike-dynamic-character-count-for-textareas ï¼ï¼ï¼ãã¦ã³ãã¼ã ä¸è¨ã®URLã«ã¢ã¯ã»ã¹ãã¦ãã¡ã¤ã³ç»åã®ä¸ã®ãDownload pluginããã¯ãªãã¯ã zipã解åã㦠jquery.js 㨠charCount.js ããã©ã¦ã¶ãã¢ã¯ã»ã¹ã§ããå ´æã«ç½®ãã¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}