ä½æï¼2013/07/1 æ´æ°ï¼2014/11/01 Webå¶ä½ > å æ¥ECãµã¤ããå¶ä½ããã¨ãã«ãåãã®ãããµã¤ãã«ããªãã¨ãããªãã£ãã®ã§ãè²ã 調ã¹ã¦çµã¿è¾¼ãã§ã¿ããã§ãããjQueryã§ããä½ã§ãåºæ¥ã¡ããã¾ãããè¿ãå°æ¥ãã¼ã«ã«ã§ç»åãªãããç·¨éããªãã¦ãããã©ã¦ã¶ã ãã§è²ã ã§ããããã«ãªãããããªãã§ãããããä»åã¯å®çªããã¡ãã£ã¨ãã¤ãã¼ï¼Google Analyticsé¢ä¿ã¨ãï¼ãªãã®ã¾ã§jQueryã®å°æããã©ã°ã¤ã³ãéãããã¦ããã ãã¾ããã ã¨ã³ã¸ãã¢éå ±ã¯ Twitter ã®@commteã§é ä¿¡ãã¦ãã¾ãã ããã ã¹ã¯ãã¼ã« ï¼ï¼ãã¼ã¸å ãªã³ã¯ï¼ããã¿ã¼ã¾ããï¼ãããã«æ»ã ï¼ï¼ãã©ã©ãã¯ã¹ ã¹ã©ã¤ã ï¼ï¼ã«ã«ã¼ã»ã« ï¼ï¼ã¬ã¹ãã³ã·ããªã¹ã©ã¤ãã¼ ï¼ï¼ãã«ãã«ãµã¯ãµã¯ãªã¹ã©ã¤ãã¡ãã¥ã¼ ï¼ï¼ãµã ãã¤ã«ä»ãã¯ãã¹ãã§ã¼ãã¹ã©ã¤ãã·ã§ã¼ è£å© ï¼ï¼Google Ana
ã½ã¼ã·ã£ã«ãã¿ã³ã®JavaScriptã§functionã®åã«ã!ããã¤ãã¦ããçç±ã調ã¹ã¦ã¿ã¾ããã ï¼ï¼ã¯ããã« TwitterãPocketãªã©ã®ã½ã¼ã·ã£ã«ãã¿ã³ã®ã³ã¼ããã¿ãã¨ãå ±éãã¦scriptè¦ç´ ã®ä¸ã«ããfunctionã®åã«ã!ï¼ã¨ã¯ã¹ã¯ã©ã¡ã¼ã·ã§ã³ï¼ããã¤ãã¦ãã¾ãã Twitterã®å ´å <a href="https://twitter.com/share" class="twitter-share-button" data-via="yujiro" data-lang="ja" data-size="large">ãã¤ã¼ã</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getE
##ã¹ããã©webãã¼ã¸ã®ã¹ã©ã¤ãã¡ãã¥ã¼ ã¢ããªã§ã¯å½ããåã®ããã«å®è£ ããã¦ããã¹ã©ã¤ãã¡ãã¥ã¼ã§ãããwebãã¼ã¸ã§ã¯ãªããªã使ãå¿å°ã®ããã¹ã©ã¤ãã¡ãã¥ã¼ãå®è£ ããã¦ããã®ã¯è¦ããã¾ããã ã¹ãã¼ããã©ã³ã®ãã©ã¦ã¶ã§ã¯javascriptã§ã®ã¢ãã¡ã¼ã·ã§ã³ã¯ã©ããã¦ãã¬ã¿ã¬ã¿ã«ãªã£ã¦ãã¾ãããã¡ãã¤ããã¹ã¯ãã¼ã«å¶å¾¡ã®ããã©ãããããããwebãã¼ã¸ã§ãã¤ãã£ãã¢ããªä¸¦ã®ã¹ã©ã¤ãã¡ãã¥ã¼ãå®è£ ãããªãã¦ç¡çã¨æã£ã¦ãã¾ããã Facebookã®webãã¼ã¸ã§ãããã¿ã³ã®åå¿ã¯æªããã¢ãã¡ã¼ã·ã§ã³ãåããªããææªã§ãã ##ä¸æ¹Googleå çã¯ãã¼ãã§ã¯ããªã¹ã©ã¤ãã¡ãã¥ã¼ãå®è£ ãã¦ãã ãããGoogleå çï¼ ä¿ºéã«åºæ¥ãªããã¨ã( Googleã®ã¹ã©ã¤ãã¡ãã¥ã¼ã¯ä»¥ä¸ã®ç¹ã§ãã¼ãã§ã¯ãã§ãã ã¹ã©ã¤ãã®ã¢ãã¡ã¼ã·ã§ã³ãã¨ã¦ãæ»ããã»ã¡ãã¤ããªã ãã¿ã³ã®åå¿ã«ã¹ãã¬ã¹ãæããª
å¤é¨ãµã¤ãã®JSãã¡ã¤ã«ãèªã¿è¾¼ãã¨ãã«ãããããæ¸ãæ¹ããã®ã¯ããã¾ãããã <script src="http://example.com/js/jquery.js"></script> çç± ããªãã®ãµã¤ããããã¤ã®æ¥ãSSLã«å¯¾å¿ãããã¨ã«ãªã£ãã¨ãããã®scriptã¿ã°ããã°ã®åå ã«ãªãã¾ãã ã覧ã®ã¨ãããHTTPSãã¼ã¸ã®ä¸ã§HTTPè¦ç´ ãèªã¿è¾¼ããã¨ããã¨ããã©ã¦ã¶ã«ãã£ã¦ã¯å®å ¨è£ ç½®ãåãã¦èªã¿è¾¼ãã§ãããªãã®ã§ãã ä¸ã®ä¾ã§ã¯jQueryã®èªã¿è¾¼ã¿ã«å¤±æãã¦ãã¾ãããã¨ã©ã¼ã¡ãã»ã¼ã¸ãUncaught ReferenceError: jQuery is not defined ããè¦ã¦ãHTTPS/HTTPã®ãããã³ã«ãåå ã ã¨ã¯ããæ°ã¥ããªãã®ã§ããããã«ãããã°ã«ãªã£ã¦ãã¾ãã¾ãã çµè« JSãã¡ã¤ã«(ã¨ãCSSã¨ãç»åã¨ã)ãèªã¿è¾¼ãã¨ãã¯ã"http:"ã®é¨åãç
åå¿è åãã®æ¬ã¨ãã ã¨ãã¤ãã³ãã jQuery ãªãã¸ã§ã¯ãã®å¾ã«ç´æ¥æå®ããã $('.foo').click(); ã®ãããªæ¸ãæ¹ã§èª¬æããã¦ããå ´åãå¤ããã©ãå°ãè¤éãªãã¨ããããã¨ããã¨ããã ã¨å°ããã¨ãåºã¦ãã¾ãããããªã¨ãã«ä¾¿å©ãªã®ã on() ã使ã£ãã¤ãã³ãè¨å®ã§ãã on() ã²ã¨ã¤ã§ bind() live() delegate() ã表ãã jQuery 1.7 ã§ãbind() live() delegate() ããã¹ã¦ on() ã«çµ±åãããããã§ãã ã¤ã¾ã on() ã®æ¸ãæ¹ã«ãã£ã¦ã3 ãã¿ã¼ã³ã®ä½¿ãæ¹ãã§ããã¨ãããã¨ã§ãã .foo ã¨ããè¦ç´ ãã¯ãªãã¯ãããä½ãããã¨ããä¾ã§ãã¤ãã³ãã®è¨å®ã¨åé¤ã®æ¹æ³ãããããæ¸ãã¦ã¿ã¾ãã bind() $('.foo').bind('click', function(){...}); 㯠$('.foo')
HTML, CSS, JavaScript playground
<html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script src="http://ajax.microsoft.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js"></script> <style> .title{ width:100%; height:240px; line-height:240px; text-align:center; background:#ccc; } </style> <body> <script> //ãã¢ããã¥ã¡ã³ã var heredoc = (function () {/* <div class="title"> <h1> <a href="$
JZoopraxiscope - jQuery plugin for making animations from static images. ä¸æã®ç»åãé«éã«ã¹ã©ã¤ãããã¦ã¢ãã¡ã¼ã·ã§ã³è¡¨ç¤ºãããJZoopraxiscopeã 次ã®ãããªæ¨ªé·ã®ç»åãé«éã«æ¨ªã«ã¹ã©ã¤ãããããã¨ã§ã¢ãã¡ã¼ã·ã§ã³ããã¦ãã¾ããã®ã§ãã ãã©ã¦ã¶ãã©ã°ã¤ã³ä¸è¦ã§å¥½ããªãµã¤ãºã§ã¢ãã¡ã¼ã·ã§ã³ããããã¾ãã GIFã¢ãã¡ã§ããªããFlashã§ãHTML5ã®videoã§ããªãã¢ãã¡ã¼ã·ã§ã³å®è£ æ¹æ³ã¨ãã¦ç¥ã£ã¦ããã¦ããããã é¢é£ã¨ã³ã㪠WEBãã¶ã¤ãã¼ãªãè¦ã¦ããã¹ãCSS3ã®ã¢ãã¡ã¼ã·ã§ã³ãã¥ã¼ããªã¢ã« ã¢ãã¡æ ç»ã®ãããªãã´ã¢ãã¡ã¼ã·ã§ã³ãå®ç¾ããjQueryã¢ãã¡ã¼ã·ã§ã³ãã©ã°ã¤ã³ãSuperScrollRamaã CSS3ã¢ãã¡ã¼ã·ã§ã³ãjQueryã§ä½¿ãããããããã©ã°ã¤ã³ãjQuery Tran
ã¡ãã£ã¨ã¯ã¾ã£ãã®ã§ãã¾ã¨ãã¨ãã ãã£ãã å ã ã®çºç«¯ã¯ãã¤ãã³ãé¢é£ã®å¦çããã¦ãã¦ãFirefoxã§ã¯addEventListenerããã¨ãã ã¤ã¾ãobj.addEventListener(func, 'click', false);ã¨ããå¦çãæ¸ã㨠å¼ã³åºãå (func)ã®thisã«objãå ¥ã£ã¦ããããã ãã IEã§ã¯ãattachEventå ã®thisãnullã«ãªãã¨ããä»æ§(?)ã«ãªã£ã¦ããã*1 obj.attachEvent(func, 'onclick'); function func(){ alert(this); // null /* thisã使ã£ãå¦çãããã * ä¾ãã°otherObj === this ã¯å¸¸ã«nulãªããfalseã«ãªã */ } ããã ã¨ãå¼ã³åºãå ã§ãå¼ã³åºããå ã®ãªãã¸ã§ã¯ããããããªãããDOMæä½ãªã©ãã§ããªããªããå°ã£ãå°
Home Subscribe var obj = { name : 'pikachu', say : function(){ alert('I am ' + this.name); } } setTimeout(obj.say, 1000); // => 'I am'ã¨ã ã表示ãããã ããã¯æå¾ éãã«åãã¦ããã¾ããã ã³ã¼ã«ããã¯ã¨ãã¦ã¡ã½ããã渡ããå ´åãããã¯ãªãã¸ã§ã¯ãã¨åãé¢ãããåãªãé¢æ°(ã¡ã½ããã§ã¯ãªã)ã¨ãªã£ã¦ãã¾ãã®ã§ãã ã¤ã¾ãä¸è¨ã¨ç価ãªã®ã§ãã setTimeout( function(){alert('I am ' + this.name);} , 1000); é¢æ°ããªãã¸ã§ã¯ãã¨åãé¢ããã¦ããããããã®thisã¯ã°ãã¼ãã«ãªãã¸ã§ã¯ã(windowãªãã¸ã§ã¯ã)ãæãã¦ãã¾ã£ã¦ããã'I am'ã¨ã ã表示ããã¾ãã ã§ã¯ã©ãããã°ããã§ããããï¼ bin
WYSIWYGãå®è£ ããjQueryã®ãã©ã°ã¤ã³ãjQuery TEã®ãç´¹ä»ã§ããWYSIWYGã¨ãã£ã¿ã®å²ã«è»½éã¨ã®äºã§ãã触ã£ã¦è¦ãããã©æéç¡ãã®ã§åå¿é²çã«ã¡ã¢ã jQueryã§WYSIWYGã¨ãã£ã¿ãå®è£ ãããã¨ãããã®ããµã¤ãºã¯16KBã¨ãWYSIWYGã¨ãã£ã¿ã®å²ã«ã¯è»½éãªã®ã§ã¯ãªããã¨æãã¾ãã»ã»ã§ããä»ã®ããã¾ãè¯ãç¥ããªãã ãã´ããªãã¨ãªãå ¬å¼ã£ã½ãæãããã¾ããã©ã»ã»jQueryã®ã¢ã«ã¦ã³ãã®Githubã«ã¯ç¡ãããéãã®ããªã ã·ã³ãã«ãªè¨è¨ã§ä½¿ããããå°è±¡ã§ã¯ããã¾ãã ã©ã¤ã»ã³ã¹ã¯MITã¨GPLã®ãã¥ã¢ã«ã©ã¤ã»ã³ã¹ã§ããããã¥ã¡ã³ããå å®ãã¦ãã¾ãã®ã§ãã§ãã¯ãã¦ã¿ã¦ã¯ã jQuery TE
Not your computer? Use a private browsing window to sign in. Learn more about using Guest mode
TyranoScriptã¯ããã«ã²ã¼ã ãHTML5ã§å®è£ ã§ãããªã¼ãã³ã½ã¼ã¹ã®ã©ã¤ãã©ãªã§ããåéåéã¨ã®è¦ªåæ§ãé«ãã®ãç¹å¾´ã¨ã®äºãã©ã¤ã»ã³ã¹ã¯MITã§å ¬éããã¦ãã¾ããå½å ã®éçºãªã®ã§ããã¥ã¡ã³ããæ¥æ¬èªã§èªããã¨ãåºæ¥ã¾ãã TyranoScript
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}