ã¹ããã®ãµã¤ãã§åºåãªã©ã«ç¨ãããã¦ããã ã¹ã¯ãã¼ã«ä¸ã«ç¹å®ã®è¦ç´ ãé表示ã«ããjQueryã®ã³ã¼ããçµãã§ã¿ã¾ããã ã¹ããã§ãã使ãããã®ã§ãã¹ããã«ã対å¿ãããã¾ããã âãã¡ããã㢠DEMO æ¹æ³ ãã¨ãã°footerãfixedã«ãã¦ãã¹ã¯ãã¼ã«ä¸é表示ã«ããå ´åã JavaScript $(function(){ $(window).on("scroll touchmove", function(){ //ã¹ã¯ãã¼ã«ä¸ã«å¤æãã $("footer").stop(); //ã¢ãã¡ã¼ã·ã§ã³ãã¦ããå ´åãã¢ãã¡ã¼ã·ã§ã³ãå¼·å¶åæ¢ $("footer").css('display', 'none').delay(500).fadeIn('fast'); //ã¹ã¯ãã¼ã«ä¸ã¯é表示ã«ãã¦ã500ããªç§é ããã¦åã³è¡¨ç¤º }); });
æºå jQueryã©ã¤ãã©ãªã®ãããjQueryã¨ã»ããã§èªã¿è¾¼ã¿ã¾ãã <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <script type="text/javascript">window.jQuery || document.write('<script src="jquery-1.8.2.min.js"><\/script>')</script> <link type="text/css" rel="stylesheet" href="js/flexslider/flexslider.css"> <script type="text/javascript" src="js/flexslider/jquery.flex
Step1ï¼ã¾ãä¸æºå ãã¡ãã¯ãã¤ãã¨åãã§ããã¾ãå¿ è¦ãªãã¡ã¤ã«ãèªã¿è¾¼ã¿ã¾ãã headã¿ã°ã®ä¸ã«ãjQueryã¨ãèªåã§ä½ã£ãjsãã¡ã¤ã«ï¼ä»å㯠device.js ã¨ãã¾ãï¼ãèªã¿è¾¼ã¿ã¾ãã <head> <script src="common/js/jquery.js" type="text/javascript"></script> <script src="common/js/device.js" type="text/javascript"></script> </head>
ãµã¤ãå ±éã§è¨å®ãã¦ãã¾ã£ãã»ã¬ã¯ã¿ããä¸é¨ãé対象ã«ãããå ´å [使ãã©ãã] å¾ããå ±éå¦çã追å ããå ´åçã§ã対象ã«ããããªãè¦ç´ ãããå ´åã $('a[href^=#]').click(function() { console.log('here'); }); class='hoge'ãé¤ãã«ã¯ $('a[href^=#]:not(.hoge)').click(function() { console.log('here'); }); â»ããã¥ã¢ã«ã«ãã£ããåå¿ã
ã¦ã¼ã¹ã±ã¼ã¹ã¨ãã¦ã¯ãTwitterã®ã¿ã¤ã ã©ã¤ã³è¡¨ç¤ºãã¼ã¸ã®ããã«æä¸é¨ã¾ã§ã¹ã¯ãã¼ã«ãããããã®ã¤ãã³ãããã£ãããã¦æ¬¡ãã¼ã¸ã®ãã¤ã¼ããAutoloadãã¦è¡¨ç¤ºããããï¼ã¿ãããªã¨ãã $(window).on("scroll", function() { var scrollHeight = $(document).height(); var scrollPosition = $(window).height() + $(window).scrollTop(); if ((scrollHeight - scrollPosition) / scrollHeight === 0) { // when scroll to bottom of the page } }); ä¸ã³ã¼ãã§ã¯ãã¦ã¤ã³ãã¦ã®ã¹ã¯ãã¼ã«æã«ã¹ã¯ãã¼ã«ä½ç½®ãä»ã©ãã ããªã®ããå·®åãè¦ã¦è¨ç®ãã¦ããããã0以ä¸ã«ãªã£ãã
<html> <head> <meta charset="utf-8"> <!-- jQueryã¨jQueryUIãCDNã§èªã¿è¾¼ããï¼ãã¦ã³ãã¼ãããªãã¦ãããï¼ --> <script src="//code.jquery.com/jquery-1.11.0.min.js"></script> <script src="//code.jquery.com/ui/1.11.0/jquery-ui.js"></script> <!-- cssãå¤é¨ããèªã¿è¾¼ãã§ãã --> <link rel="stylesheet" href="//code.jquery.com/ui/1.11.0/themes/smoothness/jquery-ui.css"> <!-- ã¹ã¯ãªããã¯ããã ãã§æ¸ããç°¡åã --> <script> $(function() { $( "#tabhoge" ).ta
html ãã®éãä½ã®ã¸ãã¦ã¤ããªããªã¹ããããã¾ãã canvasã¿ã°ã¯jQueryã§è¿½å ãã¾ãã html <ul class="icon"> <li>item01</li> <li>item02</li> <li>item03</li> <li>item04</li> <li>item05</li> </ul> css ãªã¹ãã®ç»åã¯æ®écssã®èæ¯ç»åã§æå®ãã¾ãããèæ¯ç»åã«canvasã¯ãã¶ãæå®ã§ãã¾ããã®ã§ãliã®ç´ä¸ã«canvasãå ¥ãã¾ãã ç´°ãã調æ´ã¯canvasã®topãleftã§ä¿®æ£ãã¦ãã ããã css ul.icon { list-style: none; } ul.icon li { position: relative; margin-bottom: 0.5em; } ul.icon li canvas { position: absolute; top:
WordPress ã®ã®ã£ã©ãªã¼æ©è½ä½¿ã£ã¦ãã¾ããï¼ ä½¿ãã«ãã WordPress ã®ã®ã£ã©ãªã¼ãã¡ãã£ã¨ä½¿ããããã«ããã«ã¹ã¿ãã¤ãºã§ãã ãã®ãããé·ããªã£ã¦ãã¾ãã¾ãã ... ã§ããã ãç°¡åã«ã¾ã¨ãã¦ã¿ãã®ã§èå³ãããã²ã¨ã¯ãã²èªãã§ã¿ã¦ãã ãããï¼ Webãµã¤ãã§åçãä¸è¦§è¡¨ç¤ºãããã¨ãã«ããã使ããã¦ããã®ã£ã©ãªã¼ãWordPress ã®ãã¼ãã«ããWebãµã¤ãå ¨ä½ãã®ã£ã©ãªã¼ã¿ãããããã®ããæ°å¤ãããã¾ãããï¼ã§ãæ®æ®µã¯ããã°ãä¸è¬ç㪠Webãµã¤ãã¨ãã¦ä½¿ã£ã¦ãã¦ããã®ä¸ã®æ°ãã¼ã¸ãã®ã£ã©ãªã¼ãã¼ã¸ã¨ãã¦ä½¿ããã ⦠ã£ã¦ãã¨ãããã¨æãã¾ãã ç§ã®å ´åãã®ã£ã©ãªã¼ã jQuery ã®ãã©ã°ã¤ã³ã¨çµã¿åããã¦ä½æããäºãå¤ãã®ã§ãWordPress ã®ã®ã£ã©ãªã¼ç³»ã®ãã©ã°ã¤ã³ã¯ä½¿ã£ã¦ã¾ããï¼ããããã®ã®ã£ã©ãªã¼ç³»ãç»å管çç³»ã®ãã©ã°ã¤ã³ããã£ããæãã¦æ¬²ããã§ãï¼ã ã¾
çãããåç¥ã®Firefoxã®ã¢ããªã³ãfirebugãã³ã¼ãã¼ã¨ãã§ããã°ããããå ¥ãã¦ãã人ã¯ããªãå¤ãããã¨æãã¾ãï¼ ããããä¸ã«ã¯ãlinkerãã®ã¾ã¼ãã¼ããããã¹ã°ã©ããã®ãã¸ã«ã¯ããã®ããã«ãâãã¾ãã¡Firebugã使ãããªãã¦ããªãâãªãã¦äººãããã®ã§ã¯ãªãã§ããããï¼ ä»åã¯ãããªæ¹ããµãããFireQueryãã®ãç´¹ä»ãä»æ§ã¨æãã¾ãï¼å人çã«ããªã便å©ã ã¨æãã¾ãã FireQueryã¨ã¯ï¼ FireQueryã¯ãFirebugã便å©ã«ãããæ©è½å¼·åã¢ããªã³ã§ãFirebugã®ã³ã³ã½ã¼ã«ã§æ¥½ã jQueryã使ããããã«ããããDOMç»é¢ã¤ãã³ããã©ãã«ã¤ãã¦ããã®ãã¨ãã確èªãããã¨ãã§ããããã«ãªããã¼ã«ã§ãã ãã ã®Firebugã§ãJavaScriptã®ãããã°ãåä½ã®ç¢ºèªããããã¨ã¯ã§ããã®ã§ãããFireQueryãå ¥ãããã¨ã«ãã£ã¦ãjQueryã使ã£
åçãªã³ã³ãã³ãã§ãæ¬æ¥ãªãã°ãPHPãªã©ã®ãµã¼ãã¼ãµã¤ãã§ãåºåããã³ã³ãã³ãæ°ãå¶å¾¡ãããã¹ããªã®ã§ãããéçºç°å¢ããã³ã¹ãããªã©é¢ä¿ã§ããã¶ã¤ãã¼å´ï¼ã³ã¼ãã¼ï¼ã§ã³ã³ãã³ãã®è¡¨ç¤ºã»é表示ã®åãæ¿ããªã©ãè¡ããªãã¨ãããªãã±ã¼ã¹ã£ã¦çµæ§ããã¾ãããï¼ ãããªæã«ä¾¿å©ãªã®ããjQueryã§è¦ç´ ã®æ°ãå¤å®ãã¦æ°ã«ãã£ã¦åä½ããããããæ¹æ³ã§ããæå®ããclass,idã®è¦ç´ æ°ãâlengthâã§å¼ãåºãã¾ããããã¦ãã®æ°ã0件ã ã£ãã親è¦ç´ ãã¨é表示ã«ãã¾ããï¼ä¸è¨ã½ã¼ã¹ï¼ â»ä¸è¨ã¯ãåãclassã®è¤æ°ã®è¦ç´ å ã®ã«ã¦ã³ããæå¹ã«ã§ããããã«ãeachã使ãããã¤é表示ã«ããè¦ç´ ã(this)ããå°ãåºãã親åè¦ç´ ã®é¢ä¿ãä¿ã¡ãªããå¦çãããã¨ã§ãåãclassåã®ç¹°ãè¿ãã§ãåå¥ã®å¦çãå¯è½ã«ãªãã¾ãã $(function(){ //"div.categoryã®è¦ç´ æ¯ã«å¦çãã $("
ãã¨ãæè¿ã®ããã°ã¯ãã JavaScript++ããæ¥è¨ Facebookã®ä»®æ³é貨Libra/Diemãæ¥æ¥ãªãªã¼ã¹ãããã®ã§ä¹ ãã¶ãã«è§¦ã£ã¦ã¿ã¦ã¾ã Facebookã®ä»®æ³é貨Libra/Diemé¢é£ |Blog | Demo | Facbook JavaScripté¨ | jQuery ⺠Downloads ⺠Plugins ⺠csv2table | ( ccchart/ jQchart ) nightly- testing themeroller width jQuery 1.3. test-tm.htm blog ããã©ã«ãCSSã®ãªã»ããæ¹æ³ Reset the CSS ( default style sheet of csv2table ) csv2tableã®ããã©ã«ãCSSããªã»ããããèªç±ã«CSSè¨å®ããã ãã®ãã¼ã¸ã«$.csv2table.cssReset(
æ«ã空ãã¦ãã¾ãã¾ããããjQueryã ã³ããã«é ¼ããèªåã§æ¸ãã¦ã¿ããã ã¨ããè¨äºã第ä¸åç®ã§ããåããã å ¨ç¶è©³ãã人ã®ã»ããå¤ããã§ããã æè¿ä½åº¦ããããããã¼ããã®æ¤ã ã®çºè¨ãç®ã«ããã®ã§å¤å°ã§ãè²¢ç® åºæ¥ãã°ã¨æãã¾ãã ã¨ããããã§ç¬¬ä¸åç®ã¯ããè¦ãã¿ãã¡ãã¥ã¼ãæ¸ãã¦ã¿ã¾ããããã¨ãããã®ã ãjQueryã使ã£ãã¹ã ã¼ã¹ãªã¿ãã¡ãã¥ã¼ â ã¦ã§ãã¡ã¢ãã¨ããè¨äºããè¦ããããã®ã§ãããç°¡åãªã¿ãã¡ãã¥ã¼ã§ãã®ã§ã³ããã«ããã©ã°ã¤ã³ã«ãé ¼ããèªåã§ä½ã£ã¦ã¿ãããããªããã¨ããããã趣åã§ãã å 容ã¯å®ç§ã«è¯ãã³ã¼ãã¨ãã§ã¯ãªããããã¾ã§è±ãã®ãã¼ã¨ããå 容ã¨ãªãã¾ãããã®ãã¼ã®åãä½æ§ã ã¿ãããªè©±ã¯ç½®ãã¨ãã¦ã åããããããã¡ã¤ã³ã«ãã¦ãã¾ãã®ã§å³å¯ã«ã¯èª¬æãå°ãéãç¹ãããããããã¾ããã誤解æããããªè¨è¿°ããã¾ããããææä¸ããã ã´ã¼ã«ã®ç¢ºèª ã¾ãå®æå½¢ãè¦ã¦
ãã¼ã¸å ã«ã¿ãããã£ã¦ã¿ããæ¼ãã¨ãããã¹ãã¨ãªã¢ã®å 容ãå¤ããã£ã¦ããããããããã ãã¡ãã®ãã¼ã¸ãé常ã«åèã«ãªãã¾ãããï¼ä¸è¨ã¹ã¯ãªããé¨åçã¯å¼ç¨ããã¦ãããã¾ãããï¼ jQueryäºå§ãvol.3ã»ãã©ã°ã¤ã³ã«é ¼ããèªåã§ã¯ãªãã¯ã§åãæ¿ããã¿ãã¡ãã¥ã¼ãä½ã£ã¦ã¿ã ã¿ãï¼ ã¿ãï¼ ã¿ãï¼ ã¿ã1ã®å 容 ã¿ãï¼ãé¸ã¶ã¨å 容ãå¤ãããã¤ã ã³ã¼ãé¨åï¼è¡¨ç¤ºãããããã¼ã¸ã®headå ã«æ¸ãããjsãã¡ã¤ã«ã¨ãã¦å¼ã³åºãï¼ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript" charset="UTF-8"></script> <script type="text/javascript"> $(document).ready(functi
Masonryã®ä½¿ãæ¹ï¼ãµã¤ãºã®ç°ãªãBOXãã¿ã¤ã«ç¶ã«æ´å大ããã®ç°ãªãè¤æ°ã®ãããã¯ãããã¾ãå ·åã«ééç¡ãã¿ã¤ã«ç¶(ã¬ã³ã¬ç¶)ã«èªåæ´åãã¦ããããMasonryãã®ä½¿ãæ¹ã解説ãæ¨ªå¹ ãé«ãã®ç°ãªãããã¯ã¹ãããã¤ãã£ã¦ããã§ããã ãç¡é§ãªééãã§ããªãããã«è©°ãã¦é ç½®ãã¦ããã¾ããå½åã®ãjQuery Masonryãã¨ã¯éã£ã¦jQueryãªãã§åä½å¯è½ã«ãªããCDNçµç±ã§èªã¿è¾¼ããããã«ããªã£ã¦æ軽ã«ãªãã¾ããã
ç°¡åã«ä½ããï¼ã¿ããªå¤§å¥½ãå¯å¤ã°ãªãã å æ¥è©±é¡ã«ãªã£ã¦ããããªãã ããï¼ï¼ãNHKã¹ã¿ã¸ãªãã¼ã¯ãã®ã¬ã¹ãã³ã·ãã»ã¦ã§ããã¶ã¤ã³ãåã¾ããã¬ã¹ãã³ã·ãï¼ï¼ãã§ç´¹ä»ããã¦ããNHKã¹ã¿ã¸ãªãã¼ã¯ã®ã¬ã¹ãã³ã·ããã¶ã¤ã³ã ãã¡ãã®ãµã¤ãããã©ã°ã¤ã³ã使ã£ã¦ã¨ã¦ãã·ã³ãã«ã«ä½ããã¦ãã¾ãããã¬ã¤ããã®ã·ã³ãã«ããä¼ãããã¦ãããããã¦ãã¾ããããã£ããããããããã®ã§ã©ããªä½ãæ¹ããã¦ããã®ããµã³ãã«ã交ãã¦ç´¹ä»ãã¾ãã ã¾ãã¯ãã¡ãã®ãã¢ã御覧ãã ããã åã¾ããã¬ã¹ãã³ã·ããã¶ã¤ã³ãªãµã¤ãã㢠使ããã¦ããã®ã¯jQuery Masonryã¨ãããã©ã°ã¤ã³ã ï¼ @planetofgoriããã®ããã°ã§ç´¹ä»ããã¦ããããã«ãjQuery Masonryã¨ãããã©ã°ã¤ã³ã使ããã¦ãã¾ãããã®ãã©ã°ã¤ã³ãã£ãæ°è¡ã§NHKã®ãµã¤ãã®ãããªå¯å¤ã°ãªããã¬ã¤ã¢ã¦ããä½ãã¦ãã¾ãã¾ããå¯å¤ã°ãªããã®ã¬ã¤ã¢
WordPress ã® thickbox ã3ç®æ(è¦æ¹ã«ãã£ã¦ã¯2ç®æã¨ã6ç®æã¨ã)ä¿®æ£ããã®ã§ã¡ã¢ã WordPress ã® thickbox ã®ã°ã«ã¼ãå©ç¨ã§ããã£ããã¨ããã°ãªã®ãç§ã®ä½¿ãæ¹ã«åé¡ãããã®ãä¸æã ãã£ã¨çããåé¡ã«ãªã£ã¦ãã®ã ããã¨æ¤ç´¢ããã®ã§ããè¦å½ãããªãã£ã¦ãã¨ã¯ãç§ã®ç°å¢ã¾ãã¯ä½¿ãæ¹ã«åé¡ãããã®ããããã¾ããããä¸å¿è§£æ±ºããã®ã§åãåé¡ã«å½ãã£ãæ¹ã¯ãåèã«ãã¦ãã ãããã¡ãªã¿ã«ãæåãª(?)ãthickbox.js ãã ï¼ ãã¼ã¯ãåãé¤ããã£ã¦ã®ã§ã¯ãªãã§ããããã¯ãã¡ãã対å¦æ¸ã¿ã§ããã (ãªãä½è«ã§ãããWordPress ã¯ç®¡çç»é¢ã§ jQuery ãå¤ç¨ãã¦ãã¦ããã®ã©ã¤ãã©ãªã® thickbox ãä¸è¬ã®è¡¨ç¤ºã§ãã£ããã¨å©ç¨ã§ããããã«ãµãã¼ãããã¦ãã¾ããã¹ã¯ãªããã¨ã¹ã¿ã¤ã«ã®ãã³ãã«ãç¨æããã®ã¿ãªããããããä¸åº¦ã§å¼ã³åºãã¦ãªããã¤
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}