JavaScriptã使ã£ã¦ãåçã®é¡ãèªèãæ½åºãã¦ããã®ç¯å²ãåå¾ããæ¹æ³ã解説ãFace Detectionã使ãã¾ãã
JavaScriptã使ã£ã¦ãåçã®é¡ãèªèãæ½åºãã¦ããã®ç¯å²ãåå¾ããæ¹æ³ã解説ãFace Detectionã使ãã¾ãã
ä»æ¥è©±ããªãã㨠JavaScriptã®åºç¤ç¥èãjQueryã®å°å ¥ æ°æã¡ããUIãUXãããã¡ãã CanvasãWebGLã使ã£ããªããã§ã¤ã±ã¦ãã²ã¼ã ã®ä½ãæ¹
2012å¹´11æ16æ¥13:55 JavaScript Ruby ã°ã©ãæããªãMorris.jsããæ軽ã§è¯ããã ããã«ã¡ããå¯ããªã£ã¦ãã¾ãããã¿ãªãã¾ãå æ°ã§ããï¼ ãã¦ãå æ¥ã¡ãã£ã¨ããã°ã©ããæç»ãããã£ããã§ãããããã§ãªã«ã使ããããã©ã¤ãã©ãªç¡ãããªã¼ã¨æã£ã¦ããã railscast (revisedãªã®ã§ææã§ã) 㧠Morris.js ã£ã¦jQueryãã©ã°ã¤ã³ãç´¹ä»ããã¦ã¦è¯ããã ã£ãã®ã§ä½¿ã£ã¦ã¿ã¾ãããgoogle analytics ã¿ãããªãã¼ã«ããããåºãã¦ããã¾ãã 使ãæ¹ã¯ã¨ã£ã¦ãç°¡åã§ãã ã¾ããjQuery (>=1.7) 㨠Raphael (>=2.0) ãå¿ è¦ã§ãããã¨ã¯ Morris.js ãããã°åä½ãã¾ãã ãããã app/assets/javascripts/application.js ã«è¨å®ãã¦ãã ããããã®è¨äºå·çæç¹ã§ã®
These days it's hard to call yourself a web developer if you do not have at least some jQuery experience. jQuery is very helpful for many many things such as browser compatibility, ajax calls, DOM manipulation, utility, and more. It helps us lazy web developers do these common operations simply - but one thing it does not help us do, is write good code. Not so long ago (ok, maybe a while ago) I wr
以ä¸ã®SlideShareã大å¤åèã«ãªã£ãã®ã§åå¿ãå ¼ãã¦CoffeeScriptçãæ¸ãã¦ã¿ãã JSéçºã«ãããTDDã¨èªåãã¹ããã¼ã«å©ç¨ã®åæ http://www.slideshare.net/KojiNakamura/jstdd ç®æ¬¡ 1. Matcheræ¦è¦³ 2. beforeEach / afterEach 3. Spy 4. Async Test 5. jQuery code test 1. Matcheræ¦è¦³ notã§å¦å®ã®Matcherã¨ãªã expect(x).toEqual(y) expect(x).not.toEqual(y) expect(x).toBe(y) toBe㯠=== ã«ããçå¤ãã§ã㯠expect(x).toMatch(pattern) expect(x).toBeDeï¬ned() expect(x).toBeUndeï¬ned() expec
åç½®ã custom eventã¨ã¯ä½ã?(åç½®ãã®åç½®ã) ãã©ã¦ã¶ããµãã¼ããã¦ããeventã§ã¯ãªãç¬èªå®ç¾©eventã clickã¨ãã¯ãã©ã¦ã¶ããµãã¼ããã¦ããevent ã¦ã¼ã¶ã®ã¢ã¯ã·ã§ã³ããã©ã¦ã¶ã®ç¶æ çã«ãã£ã¦ç´æ¥çºç«ããããã¨ã¯ãªã click eventã¯ãã¦ã¼ã¶ããã¦ã¹ãã¤ã³ã¿ãè¦ç´ ã®ä¸ã«ç§»åå¾ã«ãã¦ã¹ã®ãã¿ã³ãæ¼ãã¨çºç«ããã DOMContentLoaded eventã¯ããã¼ã¸ã®HTMLããã¦ã³ãã¼ãå®äºãããã¹ã¦ãã¼ã¹ãããã¨çºç«ããã jQueryã§ã¯trigger,triggerHandler methodã§eventãã¦ã¼ã¶ã®ã¢ã¯ã·ã§ã³çã«é¢ä¿ãªãçºç«ãããã¨ãåºæ¥ã custom eventãçºç«åºæ¥ã éã«è¨ãã¨custom eventã¯JavaScriptã®å´ããããçºç«ãããªã 以åThe JUI 2009 Returnsã§è©±ããã¾ããã htt
2010å¹´ã«ç´¹ä»ãããã®ãä¸å¿ã¨ããjQueryã®ãã©ã°ã¤ã³100+αé¸ã§ãã ä»å¹´ã¯ãã¢ãã¡ã¼ã·ã§ã³ã®ã¨ãã§ã¯ããã¬ã¤ã¢ã¦ããå¾åã¯èæ¯ç»åé¢é£ã®ãã©ã°ã¤ã³ãç¹ã«ç®ç«ã£ã¦ããããã«æãã¾ãã [ad#ad-2] ã³ã³ãã³ãã¹ã©ã¤ãã¼ã»ã«ã«ã¼ã»ã«é¢é£ ã®ã£ã©ãªã¼ã»ç»åæ¡å¤§é¢é£ ããã²ã¼ã·ã§ã³é¢é£ ã¿ãé¢é£ ããã«ã»ããã¯ã¹é¢é£ ãã¼ã«ãããé¢é£ ã¬ã¤ã¢ã¦ãé¢é£ èæ¯ç»åé¢é£ ãã®ä»UIé¢é£ ã¢ãã¡ã¼ã·ã§ã³é¢é£ ã¹ã¯ãã¼ã«ã»ãã©ãã°ãªã©æä½é¢é£ ãã¼ãã«ã»ãªã¹ãã»ãã¼ã¿é¢é£ ãã©ã¼ã é¢é£ ã³ã³ãã³ãçæ ãã®ä» ã³ã³ãã³ãã¹ã©ã¤ãã¼ã»ã«ã«ã¼ã»ã«é¢é£
ç»åããºã¼ã ããããã¨ã§ãå°ããªã¹ãã¼ã¹ã§è©³ç´°ã¾ã§è¦ãããã¨ãå¯è½ã§ãã ä»åç´¹ä»ããProfessor Cloudã¯è»½éãã¤ç°¡åã«ãºã¼ã ãããããã¾ãã sponsors 使ç¨æ¹æ³ Professor Cloudãããã¡ã¤ã«ããã¦ã³ãã¼ããã¾ãã ã¾ãjQueryãå¿ããç¨æãã¾ãããã <link href="cloud-zoom.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="jquery-1.4.2.min.js"></script> <script type="text/javascript" src="cloud-zoom.1.0.1.js"></script> ä¸è¨ãè¨è¿°ãããç»åãè¨è¿°ãã¦ããã¾ãã ã¾ãã¯ãå°ããç»åã¨ãºã¼ã 表示ããã大ããç»åãç¨æãã¾ãããã <a
DOM window $(selector).openDOMWindow({options}) & $(selector).closeDOMWindow({options}) jQuery plugin (jquery.DOMwindow.js) used to create DOM windows. Example 1 Open a DOM window using inline content embedded in the page. The window is fixed to the centered of the viewport. This is default behavior. required | optional | not used anchoredClassName - datatype:string, default:empty string anchoredS
証å¸ä¼ç¤¾ã®ãµã¤ãã®æ ªå¼ç¸å ´ã°ã©ããã·ã§ããã³ã°ãµã¤ãã®ä¾¡æ ¼å¤åã°ã©ããªã©ãWebãµã¤ãä¸ã«å¤åãããã¼ã¿ããã¨ã«ãåçã«ã°ã©ãã表示ããããã¨ãããã¾ããå¾æ¥ã¯ãFlashã使ããã¨ãå¤ãã£ãã§ãããæè¿ã¯Ajax/JavaScript人æ°ããã£ã¦ããJavaScriptã§ã°ã©ããä½æããããã¨ãããã¼ãºãå¼·ããªã£ã¦ãã¾ãã 以åãæ¬èªã§ã¯ãHTML5ã®Canvasã使ã£ãå³å½¢ã®ãµã³ãã«ã¨ãã¦ãã°ã©ãã®æç»æ¹æ³ãç´¹ä»ãã¾ãããï¼é¢é£è¨äºï¼ãä»åã¯ã°ã©ãæç»ã«ç¹åããå°ç¨ã©ã¤ãã©ãªãjqPlotãã使ã£ã¦ããã£ã¨ç°¡åã«è¦æ ãã®ããã°ã©ããä½æããæé ãç´¹ä»ãã¾ãã ã°ã©ãã«ç¹åããjQueryãã©ã°ã¤ã³ãjqPlotã ãjqPlotãã¯ã¯ãªã¹ã»ã¬ãªããæ°ãéçºãã¦ããJavaScriptã©ã¤ãã©ãªã§ãjQueryã®ãã©ã°ã¤ã³ã¨ãã¦åä½ãã¾ããHTML5ã®Canvasãå¿ç¨ãã¦ã°ã©ããæãä»
å人çã«æ°ã«å ¥ã£ã¦ãã使ã£ã¦ãããå㯠ãã¤ãå½¹ã«ç«ã¡ãããããã使ãããç㪠Lightbox風ã«æ¡å¤§å®è£ åºæ¥ãjQueryãã©ã° ã¤ã³ã®ã¾ã¨ãã§ãã使ãã¨ãã«ãã¡ãã¡å¼ã£ å¼µãåºãã¦ããã®ãé¢åãªã®ã§ã¾ã¨ãã«ã㦠ã¤ãã§ã«ã·ã§ã¢ãããã¨æã£ã¦è¨äºã«ãã¾ãã ãªã¼ã½ããã¯ã¹ãªãã®ãããããç¹å¾´çãªãã®ãTwitterã§ããããªã®ãªãï¼ãã£ã¦èããã¦æ¢ãããã®ãªã©10åå³é¸ã§ããç¹å¾´ãä¸ç·ã«ã¡ã¢ãã¦ããã¾ãã ãªããç»åã使ãjQueryãã©ã°ã¤ã³ã«ãèå³ãæãããã§ãããã以åæ¸ããç»åã使ã£ããããããªjQueryãã©ã°ã¤ã³224åã¾ã¨ããåèã«ãã¦é ãããã¨æãã¾ãã colorbox ä¸çªãã使ã£ã¦ããããããã¾ãããMITã©ã¤ã»ã³ã¹ã§ãã°ã«ã¼ãåâã¹ã©ã¤ããå¯è½ãã¾ããiPhoneãiPadã§ãåãã¦è¡¨ç¤ºãå´©ãã¾ãããã¨ãã§ã¯ããå¤æ´å¯è½ã§ãYoutubeãIframeãFlas
11/20 ( 20,november )ã«ããã¯ã»ã«ã°ãªããããã§éå¬ããã jstudy#2 㧠jquery cssæ¡å¼µã«ã¤ãã¦è©±ããã¦ãã¾ããã jquery cssããããã£æ¡å¼µ on Prezi jquery ã®ã¡ã½ãããããã¯ãã¦ãèªåã好ã㪠css ããããã£ãã¤ãããã¨ããã話ã§ãã ã¡ãã£ã¨ãã¿ãããã¢ã£ããããããªã¼ã jquery ããããã°ã©ã ã ããã©ãã©ãããã£ã¦ããã¯ãã¦éã¼ãã£ã¦æãã§ã 次åãä½ããã¿ããããããªããã
ããè¦ç´ ãç»é¢ä¸ãç»é¢å³ãªã©ã«é ç½®ãã jQuery ãã©ã°ã¤ã³ãæ¸ãã¾ããããã¼ã¸ãããã¸æ»ããã¿ã³ãã¦ã£ã¸ã§ãããªã©ãåºå®ä½ç½®ã«è¡¨ç¤ºããããã¨ãã«ä½¿ãã¾ãã tanabe's jStageAligner at master - GitHub ãã¢ãã¼ã¸ åºæ¬çãªä½¿ãæ¹ è¦ç´ ã«å¯¾ã㦠.jStageAligner(position) ãå®è¡ãã¾ããposition ã«ã¯ç»é¢ã®åé ã¨ããããã®è¾ºã®ä¸å¤®ãç»é¢ä¸å¤®ã®åè¨ 9 ã¤ã®å ´æãæå®ã§ãã¾ãã ä¸è¨ã¯ãç»é¢ã®å³ä¸ã«é ç½®ããã³ã¼ãã§ãã $("#box").jStageAligner("RIGHT_BOTTOM"); ãªãã·ã§ã³ ã¾ãããªãã·ã§ã³ã§ç§»åã¾ã§ã®æéããã¼ã¸ã³ãæå®ã§ãã¾ãã $("#box").jStageAligner("RIGHT_BOTTOM", {time: 500, marginRight: 100, margi
Ever since I saw the Bit.ly JavaScript API Iâve been wanting to build a simple script for tracking the number of people visiting a blog post from Twitter. This past weekend I built a little script for doing just that â and in a completely unobtrusive manner. The script itself is completely standalone (no dependencies) and can be included in any page relatively painlessly. Additionally, since itâs
å¤ä¼ã¿ã¯ã¿ã¤å¤å¼ãããµã¼ã¸ã»ããã¼ã«åå ãã¦ãã¾ãããagoã§ãã å é±æ¥ææ¥è¥æITåå¼·ä¼ã«åå ããã¦ããã ããjQueryã®ã³ã¼ããªã¼ãã£ã³ã°ãè¡ã£ã¦ãã¾ããã ããã§jQueryã®ã³ã¼ããèªãã¨ãã®åºç¤ç¥èã«é¢ãã¦ç°¡åã«ã¾ã¨ãã¦ã¿ããã¨æãã¾ãã 1 å¤æ°ã®è¤æ°åæ宣è¨ã¨ä»£å ¥ ã¾ããJSã§ã¯å¤æ°ã®å®£è¨ã¯ä»¥ä¸ã®ãããªå½¢å¼ã§è¡ãã¾ãã var hoge; ãã®å ´åã¯åä¸ã®å¤æ°ã®å®£è¨ã§ããã以ä¸ã®ãããªè¨è¿°ãè¡ãã¨è¤æ°ã®å¤æ°ãåæã«å®£è¨ãããã¨ãå¯è½ã§ãã var hoge, huga; ã¾ããå¤æ°å®£è¨ã¨åæã«å¤ã®ä»£å ¥ãè¡ããã¨ãå¯è½ã§ããã®å ´å以ä¸ã®ãããªè¨è¿°ã«ãªãã¾ãã var hoge = 'test'; ããã«è¤æ°ã®å¤æ°å®£è¨ã¨ãå¤ã®ä»£å ¥ã¯åæã«è¡ããã¨ãå¯è½ã§ããã®å ´å以ä¸ã®ãããªè¨è¿°ã«ãªãã¾ãã var hoge = 'test1', huga = 'test2'; jQuery
ä»æ´ã§ãããlocation.hashã§ç¾å¨ã®ã¹ãã¼ã¿ã¹ã管çããã®ããã¤ãã¼ã ã§ããããããASCII以å¤ãã¶ã¡è¾¼ãã¨ãã©ã¦ã¶ãã¨ã«æåãéãã£ã½ãã§ããã¨ããã®ã調ã¹ã¦ããã¦ãæ¸ãã¦ããã®ãå¿ããã®ã§ãã¾ã¨ãã¦ããã¾ãã æ¹æ³ 以ä¸ã®ã¢ã¯ã·ã§ã³ãèµ·ãããå ´åãlocation.hashã§åå¾ã§ããå¤ãã©ããªããã調ã¹ã¾ããããªãããã¡ã¤ã«ã¯UTF-8ã§è©¦ãã¾ããã ãã¡ã¤ã«ã«æ¸ãã¦ãããªã³ã¯ãã¯ãªãã¯ããå ´å A1:#test B1:#ã¦ã㨠C1:#%E3%81%A6%E3%81%99%E3%81%A8 A2:#test#test B2:#ã¦ãã¨#ã¦ã㨠C2:#%E3%81%A6%E3%81%99%E3%81%A8#%E3%81%A6%E3%81%99%E3%81%A8 A3:#test%23test B3:#ã¦ãã¨%23ã¦ã㨠C3:#%E3%81%A6%E3%81%99%E3%
æ¥é±ã¯ç§ãå¤ä¼ã¿ãªã®ã§æ´æ°ã¯ãªãäºå®ã§ããagoã§ãã æè¿ã人ã«jQueryã解説ããæ©ä¼ããã£ãã®ã§ãæãæãåºãã¦jQueryã使ãå§ããé ã«æããçåãæ¸ãã¦ã¿ããã¨æãã¾ãã 1 ããããä½ã§ä½¿ãã®ï¼ãã¾ã§ãå°ã£ã¦ãªãã ä½æããå 容ã«ãããã¾ãããæ £ããã¨ä½¿ç¨ããªãå ´åã«æ¯ã¹ã¦è¨è¿°ããã³ã¼ãéã3åã®1ç¨åº¦ã¾ã§æ¸ãã¾ãã ã¾ããå¤æ°ãæ¡ä»¶åå²ãç¹°ãè¿ããæ¸ãã®ã§ãã°ãçºçãã«ãããªãã¾ãã 2 ä½ãç¹æ®ãªãã¨ãã§ããï¼ çµå±ã§ãããã¨ã¯å¤ããã¾ããã jQueryèªä½JSã§æ¸ããã¦ã¾ãããè¨è¿°ã®èªç±åº¦ãJSã®å¶ç´ã«å¶éããã¾ãã 3 ä½ãé£ããã®ï¼ ææ³ãããjQueryçã«ãªãã¾ãã åè jQueryè¨èªå ¥é jQueryèªä½ã®ã³ã¼ãéã¯å°ãªãã®ã§ãããç¬ç¹ã®è¨è¿°æ³ãå¤ãæ £ããã¾ã§å¤å°æéããããããããã¾ããã ã¾ããCSS Selectorã®ç¥èã¯ã»ã¼å¿ é ã§ãã ç¹ã«ã
å æã®ç¤¾å¡PVã©ã³ãã³ã°ã¯91çªç®ã§ãããagoã§ãã ãã¾ã«ä»è¨èªéçºè ãããJSã¯ä½ã¨ãªãããããã©ãjQueryãç¹æ®ããã¦ããããããªããã¨ãã声ãèãã¾ãã å人çã«jQueryã使ãå ´åããJSã®ä¸ã§jQueryã使ããã¨è¨ãããããjQueryã®ä¸ã§JSã使ããã¨èããæ¹ãç解ããããã¨æãã®ã§ãä»æ¥ã¯"jQueryè¨èª"ã®æ¸ãæ¹ãç´¹ä»ãããã¨æãã¾ãã ææ³ Traversing methodã§ã¤ã³ãã³ããä¸ãã¦ã.end()ã§ã¤ã³ãã³ããããã¾ãã ï¼Traversing以å¤ã®methodã¯ã¤ã³ãã³ããç¶æãã¾ãï¼ ããã¦ãæ«å°¾ã«ã¯éå§è¡ã¨åãä½ç½®ã«ã;ããç½®ãã¾ãã $('body') .find('a') .filter('.permlink') .attr('href', function () { return $(this).attr('href').repla
jQueryããã©ã°ã¤ã³ãjQuery UIãWebçµç±ã®CDNã¨ã¯ CSSã®æ¸ãæ¹ãåããjQueryãã©ã°ã¤ã³å®è·µæ´»ç¨æ³ï¼1ï¼ åºæ¬ï¼ããããã¨ãã¦ãã©ã°ã¤ã³ãjQuery UIã«ã¤ãã¦ç°¡åã«è§¦ããWebçµç±ã§jQueryã使ãCDNã«ã¤ãã¦è§£èª¬ ãã¶ã¤ã³ããã¯ ï¼ ãªããã¯ã©ã¤ã¢ã³ã 2009/12/8 ä»åã¯ãjQuery UIãã®ããé²ãã æ´»ç¨ä¾ â jQueryã®ãã©ã°ã¤ã³ãjQuery UIãã¨ã¯ï¼ ä»åç´¹ä»ããjQuery UIã¯ãJavaScriptï¼Ajaxï¼ãã¬ã¼ã ã¯ã¼ã¯jQueryã®ããã¸ã§ã¯ããjQueryç¨ã«éçºãã¦ããã以ä¸ã®æ©è½ãæä¾ãããã©ã°ã¤ã³ã§ãã ãã©ãã°ï¼ãããããªã©ã®ãã¦ã¹æä½ã®æ©è½æ¡å¼µ ã¦ã¼ã¶ã¼ã¤ã³ã¿ã¼ãã§ã¤ã¹ãæ¹åããã¦ã£ã¸ã§ããï¼ã¢ã³ã¼ãã£ãªã³ãæ¥ä»å ¥åããã¤ã¢ãã°ãã¹ã©ã¤ãã¼ãã¿ããªã©ï¼ ä»åã¯ãjQuery UIã®ãã©ãã°ï¼ããããæ©è½
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}