authorjQuery, Sizzle, querySelectorAll, XPathã®é度æ¤è¨¼ åã«è¦ç´ ãåå¾ãããã ãã®å ´åããã£ããã©ããä¸çªéãã®ãã function bench (func) { var start = (new Date()).getTime(); for (var i = 0; i < 1000000; i++) { func(); } var end = (new Date()).getTime(); console.log((end - start) + 'ms'); } ãã³ãã³ã¼ãã¯å³è¨ã®ãããªãã® ã¤ã¾ãã¨ããã100ä¸ååå¾ããã ããã5å試è¡ãã¦ãå¹³åå¤ãåã£ããã®ãã¹ã³ã¢ã¨ããã ID $('#id') jQuery 2s Sizzle('#id') Sizzle 2.4s document.querySelectorAll('#par
jQuery Tag ãã©ã°ã¤ã³ã¯ jQuery ã®ã¡ã½ãããã§ã¼ã³ãéåããã¨ãªããHTML ã¿ã°ãçµã¿ç«ã¦ãããã®ãã©ã°ã¤ã³ã§ããHTML ã¿ã°ã®çæã¨è¿½å ãã¹ã¿ãã¯ã§æä½ãããã¨ã§ãã¡ã½ãããã§ã¼ã³ãå´©ããã« HTML ã¿ã°ãçµã¿ç«ã¦ç¶ãããã¨ãã§ãã¾ãã ã¹ã¿ãã¯ã®æä½ã¯ jQuery èªä½ãæã¤ã¹ã¿ãã¯ã®ä»çµã¿ãå©ç¨ãã¦ãã¾ããjQuery 㯠pushStack ã¡ã½ããã§ç¾å¨ã®ã¤ã³ã¹ã¿ã³ã¹ãã¹ã¿ãã¯ã«ç©ã¿ãend ã¡ã½ããã§ç´åã®ã¤ã³ã¹ã¿ã³ã¹ã«æ»ããã¨ãã§ãã¾ãã ãã®ç¹æ§ãå©ç¨ãã¦ãtag ã¡ã½ãã㧠HTML ã¿ã°ãçæã㦠pushStack ã¡ã½ããã§ã¹ã¿ãã¯ã«ç©ã¿ã¾ããgat ã¡ã½ãã㧠end ã¡ã½ããã§ã¹ã¿ãã¯ããæ»ããHTML ã¿ã°ã追å ãã¾ããgat ã¡ã½ããã®åå㯠tag ã¡ã½ãããéã«èªãã ãã®ã§ããæ»ããå対ã¨ããæå³ãè¾¼ãã¦ãã¾ãã ã¾ã $.ta
The Difference Between jQueryâs .bind(), .live(), and .delegate() - Alfa Jango Blog http://www.alfajango.com/blog/the-difference-between-jquerys-bind-live-and-delegate/ jQueryã®.bind(), .live(), .delegate()éããä»çµã¿ã®ç解ãã¾ã.delegate()ã®æ¹ã.live()ããåªãã¦ããçç±ã«ã¤ãã¦æ¸ããã¦ãã¾ãã å 容ãç°¡åã«æ¸ãåºãã¨ä»¥ä¸ã®ãããªãã¨ã«ã¤ãã¦æ¸ããã¦ãã¾ãã $('a').bind('click', function() { alert("That tickles!") }); .bind()ã¯$(âaâ)ã«å¯¾ãã¦ã¤ãã³ããè¨å®ãã¦ãã $('a').live('clic
iPhone, JavaScript, Webããã«ã¡ã¯ï¼ä»æ¥ã主観ã§æ¸ããï¼ç·ãã¦å人çãªæè¦ãªã®ã§ãã¾ããæ°ã«ãªãããªãã§ãã ããããæè¿ã¯ä»äºã§ã¹ãã¼ããã©ã³å¯¾å¿ã ã¨ãå人ã§ãã¹ãã¼ããã©ã³å¯¾å¿ã ã¨ãã§å¤§å¤ãªäººãå¤ããªã£ã¦ãã¾ãããï¼æè¿ã¯jQueryMoblieã ã¨ãã¹ãã¼ããã©ã³ç¨ã£ã½ãã©ã¤ãã©ãªãåºã¦ãã¦å¹¸ããªæ°åã«ãªã£ã¦ã人ãå¤ãã¨æãã¾ãããã©ãããã£ã¦æ¬å½ã«ç´ æ´ãããç©ãªã®ãï¼ã¨èããããåã¯è¯ããã®ã¨ã¯çããããªãã§ããã¼ããªãã§ãã§ããï¼ãã£ã¨ããå¤ãªã¢ãã¡ã¼ã·ã§ã³ã¨ããããªãããæè¿ããã¿ãã©ã¤ãã©ãªã«å¤ãã§ããã©ããªããã°ã°ã£ã¨åãã¦é·ç§»ãããã¼ã¸ã ã¨ãããã¼ã¸ãããã¿ãããªã®ãã§ãã¦ã«ã³ã¤ã¤ï¼ãªã®ãå¤ãã§ãããããã©ãã¢ãã¡ã¼ã·ã§ã³ã¯ãã¶ã¤ã³ãããªãã§ãããï¼ãã®åAppleã®å ¬å¼(PC)ãã¡ãã£ã¨ãªãã¥ã¼ã¢ã«ããããã©æ¬å½ã«ã¢ãã¡ã¼ã·ã§ã³ã ããã§ãããã§ããã
CSS3 Transition ãã»ã¼ã¢ãã³ãã©ã¦ã¶ã§ä½¿ããããã«ãªã£ã¦ãã æ¨å¹´ CSS3 ã®ä»æ§ã«ã¢ãã¡ã¼ã·ã§ã³ããããã£ãå ãã£ã¦ï¼ä¸æçãªç±çããã£ãããã ãã©ï¼ããããä¸å¹´ãã¦ã©ã®ãã©ã¦ã¶ã«ãä¸å¿ã® CSS Animation / Transition ãåºæ¥ãããã«ãªã£ã¦ããï¼ãããï¼W3C ã®ä»æ§ã®ã¨ãã transition: <property> <duration> <timing-function> <deley> ãæå®ãã¦åãããã§ãªãï¼-moz- ãªã -webkit- ãªãã®ãã¬ãã£ãã¯ã¹ãã¾ã å¿ è¦ãªç¾ç¶ã ã£ããããï¼ã? ããï¼IE ãåã¯åº§ã£ã¦ã CSS ããããã£ãçµå± jQuery ã§å·®ãè¾¼ãæ¹å㧠æè¿ï¼ãã£ã¨èªåã®ãµã¤ããéçºãããã¨æã£ã¦ï¼Sinatra + mongoDB ã§ï¼View ã Haml Sass CoffeeScript + jQ
Classã®ç¶æ¿ã«ã¤ãã¦ãµã³ãã«ã追è¨ãã¾ããã jQuery ã®ç¹å¾´çãªæ§æã uupaa.js ã§è¡¨ç¾ããæ¹æ³ã追è¨ãã¾ããã ãããã°æ¯æ´æ©è½ã«ã¤ãã¦è¿½è¨ãã¾ããã ç¹å¾´ uupaa.js jQuery åç version 0.1 (2008-06-07) version 1.0 (2006-10-27) ææ°ç version 0.8 (2010å¹´æ«ãäºå®) version 1.4.2 (2010-02-19) ã©ã¤ãã©ãªã®ç®æ¨ WebOSã®ããã³ãã¨ã³ã ä¸æ æ¬æ¥ã®ç¨é WebOS / WebApp DOMã®æä½ã¨ãµã¤ãã®è£ 飾 使ããæ¹ å°å ¥å®ç¸¾ãªã å°ãä¸è¦æ¨¡ãµã¤ã / ãã¼ã¿ã«ãµã¤ãç æ³å®ãããã³ã¢ã¦ã¼ã¶å±¤ ã¨ã³ã¸ã㢠ãã¶ã¤ãã¼ / ã³ã¼ãã¼ / ã¨ã³ã¸ã㢠åå空é uu (1ã¤) jQuery 㨠$ (2ã¤) ã©ã¤ãã©ãªã«ããèå¥åããªãã£ã¯ã¹ã®äºç´ uu ã¾ã
The powerful, easy-to-use JavaScript testing framework.Get Started View the Docs Easy Zero configuration and setup for any Node.js project, and minimal setup for Browser-based projects. Universal QUnit can run anywhere; web browsers, Node, SpiderMonkey, even in a Web Worker! Test your code where it runs.
â iFingerScrollãå ¬éãããã¨ãGmailã®iPadãã¥ã¼ã®ãã¤ã³ã¹ã¯ãã¼ã«ãèªåã®ã«æ¯ã¹ã¦ç¸å½ãµã¯ãµã¯ãªã®ã«æ°ä»ããã©ããã£ã¦ãã ãã¨æã£ã¦PCããiPadã®UAãéã£ã¦ã½ã¼ã¹ãã¡ãã£ã¨è¦ã¦ã¿ãã¨ãããâ -webkit-transform: translate3d âãã¤ãã£ã¦divãã¹ã¯ãã¼ã«ããã¦ãããããã¨ããããã¾ããã ã¨ãããã¨ã§iFingerScrollãCSS Transitionã§absoluteã®åº§æ¨ãåããã®ã§ã¯ãªããtranslate3dã®æå®ãjavaScriptå´ã®å¶å¾¡ã§åããããã«åå®è£ ããã¨ãããããæãã«ãªãã¾ãããtranslateç³»ã®æå®ã¯ãã¨ãã¨transitionãanimationç®çã§GPUãµãã¼ãããã§å®è£ ããã¦ãã®ã§ãCSS Transition/Animationã¨ãã¦ä½¿ããªãã¦ãéãã®ããããã¾ããï¼æ¶æ¸¬ï¼ãã¬ã¬ã·ã¼CS
â å é±æ«ä¼ç¤¾ã§iPadã§æ¯æ¥ä½¿ãWebãµã¼ãã¹ãæ³å®ãã1Dayãããã¿ã¤ãã³ã°ã¨ããã®ããã¦ãã¦ï¼ãã®ãã¡ã¾ã¨ãããã¾ããã¨ããããYoutubeã®åç»ã§æ§åãè¦ããã¾ãï¼ãiPadWebã¢ããªã®ãã©ã¦ã¶ã¢ãã¯ãã¤ãã£ãã®ã§ããããã®ã¨ãå°ã£ãã®ããiPadã¢ããªã§è¦ãããå·¦ãµã¤ãã®ãã¤ã³ã«ä¸è¦§ãå³ãµã¤ãã®ã¡ã¤ã³ãã¤ã³ã«è©³ç´°ã表示ãããããªã¹ã¯ãã¼ã©ãã«ãªè¤æ°ãã¤ã³UIããµã¤ãã«ã¤ããæ¹æ³ãmobileSafariã«ç¨æããã¦ãªããã¨ã§ãããããããmobileSafariã«ã¯ã¹ã¯ãã¼ã«ãã¼ããªããã§ãããã ãã©ã¦ã¶ã§iPhone風ã®ã°ã©ãã¹ã¯ãã¼ã«ãå®ç¾ããjQueryãã©ã°ã¤ã³ãoverscrollãã¨ããã®ãè¦ã¤ãã¦å ¥ãã¦ã¿ããã§ããããã§ãã ãã§ã調ã¹ãã¨ããmobileSafariã«ã¯ï¼ã¹ã¯ãã¼ã«ãã¼ããªããããï¼ããããscrollTop/Leftããããã£ãã®ãã®ããªãã£
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}