â»ä½åº¦æ稿ãããã¨ãã¦ãBad Requestãåºã¦ãã¾ã£ãã®ã§gistã§æ稿ãã¾ãããäºæ¿ä¸ããã gist.github.com
KABEGAMI Boxesã®ãã¼ã¿ãã¼ã¹æ©è½å®è£ ã®ãããè¨å®ãã©ã¡ã¼ã¿ãJSONã«å¤æãããã¨ãããè©°ã¾ã£ãã ã³ã¼ãã¯ä»¥ä¸ã var assoc = new Array(); var json; for( var key in ControlId_Array ){ assoc[key] = $("#"+ControlId_Array[key]).val(); } json = JSON.stringify( assoc ); ControlId_Arrayã«æ ¼ç´ããã¦ããåã³ã³ããã¼ã«ã®IDããã¼ã«ã対象ã³ã³ããã¼ã«ã®å¤ãé åassocã«æ ¼ç´ãã¦ããã³ã¼ãã ã å®éã«ã¯jQuery.ui.sliderã使ã£ã¦ããã®ã§ããã¡ãã£ã¨å¦çã足ãããã®ã ããæ¬é¡ã¨ã¯é¢ä¿ãªãã®ã§çãã¦ããã ã¨ããããããã§JSON.stringify()ãå®è¡ãã¦ããæå¾ ã®ãã®ã¯è¿ã£ã¦ããªãã£ãã è¿ã£ã¦ãã
jQueryãç¨ãã¦æ¸ããã³ã¼ãã¨åçãªåããããã³ã¼ããjQueryæãã§æ¸ãã¨ã©ã®ããã«ãªãã®ãã示ããWebãµã¤ããYou Might Not Need jQueryãï¼jQueryã¯å¿ è¦ãªãããï¼ãå æ¥è©±é¡ã«ãªãã¾ããï¼ã¯ã¦ãªããã¯ãã¼ã¯ã180以ä¸ä»ãã¦ãã¾ãï¼ã ã¡ããã©ãã®Webãµã¤ãã話é¡ã«ããè¨äºãChoosing Vanilla JavaScriptãããWebãã¶ã¤ãåãã«æ å ±çºä¿¡ããã¦ããèåãªWebãµã¤ããA List Apartã«æ²è¼ããã¦ãã¾ããã Vanilla JavaScriptã¨ã¯ãè¦ããã«ä½ããããã³ã°ããã¦ããªãããã©ã¢ã¤ã¹ã¯ãªã¼ã ã®ããã«ãjQueryãªã©ã®ã©ã¤ãã©ãªã使ããªãç´ ã®JavaScriptã®ãã¨ã示ãã¦ãã¾ãã ãã®è¨äºã¯ä½ã§ãjQueryã使ãã®ã§ã¯ãªããæ£ããé¸æããããã¨ãããã¼ãã®å 容ã«ãªã£ã¦ãããåèã«ãªãããã ã£ãã®ã§ç¿»è¨³
ã³ã³ãã³ãã®éªéã«ãªããæä½ãå¿«é©ãªç»åæ¡å¤§ãã¹ã¯ãã¼ã«ããã¨ä¸æ¦ããããé ãããã©ä¸ã«ã¹ã¯ãã¼ã«ããã¨åºç¾ããµã¼ãã¢ã¤ã³ã³ãã¯ãªãã¯ããã¨ã«ããï½ã伸ã³ã¦æ¤ç´¢ããã¯ã¹ã«ãªããªã©ãã¦ã¼ã¶ããªãã£ã»ã¢ã¯ã»ã·ããªãã£ã«é æ ®ãããã¿ããããã¤ã¹ãã¬ã¹ãã³ã·ã対å¿ã«ãä¸å½¹è²·ãåªããã®ã®ã¹ã¯ãªãããç´¹ä»ãã¾ãã
ç§ã¯ jQuery 㧠Ajax ã使ã£ã¦ãã¼ã¿ã POST ã§éä¿¡ããéã«ä»¥ä¸ã®ããã«ã³ã¼ããæ¸ãã¦ãã¦èºãã¾ããã var hoge = 'str&ing'; var fuga = 'string'; var data = 'hoge=' + hoge + '&fuga=' + fuga; $.ajax({ type: "POST", url: "/ajax/add", data: data, success: function() { alert('success'); } });
ä½æï¼2015/04/6 æ´æ°ï¼2016/06/29 Webå¶ä½ > ãã¬ã³ãã¨ãªãã¤ã¤ããè¦è¦å¹æããç´°é¨ã«ã¡ãã£ã¨ããåããåãå ¥ãããã¨ãã«ä½¿ããjQuery ãã©ã°ã¤ã³ãã¾ã¨ãã¾ãããã¦ã¼ã¶ã¼ã使ãããããªãããããã¼ã¸ã«ã²ã¨å·¥å¤«ãããã¨ãã«ãå°ãåã®ãã©ã°ã¤ã³ãããã¾ãããä»ãã使ããããªãã®ãããã¯ã¢ããã ã¨ã³ã¸ãã¢éå ±ã¯ Twitter ã®@commteã§é ä¿¡ãã¦ãã¾ãã ããã ãã¤ã¯ãã¤ã³ã¿ã©ã¯ã·ã§ã³ ï¼ï¼ç²æ§ ï¼ï¼ç§»åãããã¬ã¼ã¹ãã«ãã¼ ï¼ï¼æ»ããã«ãã¼ã¸ç§»åããã ï¼ï¼ãã¹ã¯ã¼ã強度ãå¯è¦å ï¼ï¼ãªã¼ãã³ã³ããªã¼ã ï¼ï¼ããã¹ãå ¥å ï¼ï¼Google Mapï¼å¹ãåºãã»ãã¼ã«ã¼ï¼ ï¼ï¼ãªã¼ããã¼ã¸ã£ã¼ ï¼ï¼ããã°ã¬ã¹12ãã¿ã¼ã³ ï¼ï¼ï¼ãã¼ãã£ãã£ã±ã¼ã·ã§ã³ ã¬ã¿ãªã³ã° ï¼ï¼ï¼ï¼æåãã¨ã«æå® ãã«ã¹ã¯ãªã¼ã³ ï¼ï¼ï¼ã¢ã¼ãã«ã¦ã£ã³ãã¦ï¼å ¨ç»é¢ï¼ ï¼ï¼ï¼ãã©ã¼ã ï¼å ¨
lightbox風ã®ãã©ã°ã¤ã³ã§shadowboxã¨ããã®ãããã®ã§ããããããã¯ãªãã«ãã«ãããã§ä½¿ã£ãæã«åããªãã£ãã®ã§ããã®ã¡ã¢ã§ãã shadowboxã¨ã¯ lightbox風ã«è¡¨ç¤ºãã¦ãããJavaScriptã®ãã©ã°ã¤ã³ã§ããjQueryã®ä»ã«Prototypeãªã©ã®JSã©ã¤ãã©ãªã¨çµã¿åãããããã®ãç¹å¾´ã§ãã Shadowbox.js ã¯ãªãã«ãã«ãããã¨çµã¿åããã¦ä½¿ã ä¸æã®ç»åããè¤æ°ã®ç»åã¸ãªã³ã¯ãè²¼ã£ã¦shadowboxãèµ·åããããã£ãã®ã§ãã¯ãªãã«ãã«ãããã使ãã¾ããã ã§ãã®ã§ãæ®éãªãaã¿ã°ã«rel="shadowbox"ãªã©ã¨ãã¦ä½¿ãæãareaã¿ã°ã«æ¸ãã¦ã¿ãã®ã§ããåãã¾ããã§ããã JavaScriptã«è¿½è¨ãå¿ è¦ ããã§æ¤ç´¢ããããã¡ãã®ãµã¤ãã«è§£æ±ºæ¹æ³ãè¼ã£ã¦ãã¾ããã Shadowbox « NMN WebDesign <head>å ã«æ¸
Photo by dotConferences ããã«ã¡ã¯ãè°·å£ã§ãã ããã°ã©ãã³ã°ãããããå¦ã¼ãã¨ãã¦ããæ¹ã§ããJavaScriptã使ããããã«ãªãããï¼ãã¨ããæ¹ã¯å¤ãã¨æãã¾ãã JavaScriptã¯å®è¡ç°å¢ã主ã«Webãã©ã¦ã¶ã«å®è£ ãããåçãªã¦ã§ããµã¤ãæ§ç¯ãããªããã¤ã³ã¿ã¼ãããã¢ããªã±ã¼ã·ã§ã³ãªã©é«åº¦ãªã¦ã¼ã¶ã¤ã³ã¿ãã§ã¼ã¹ã®éçºã«ç¨ãããã¾ããï¼JavaScript - Wikipediaï¼ Webãµã¼ãã¹ã®ä½æã»éç¨ãããæ©ä¼ãããæ¹ã«ã¯å¿ è¦ä¸å¯æ¬ ãªJavaScriptã§ãããããããåå¼·ãå§ããæ¹ã®ä¸ã«ã¯ãããã°ã©ãã³ã°çµé¨ã¼ããªãã ãã©ãä¸ä½ã©ããã£ã¦åå¼·ãããããã®â¦â¦ï¼ãã¨æã£ã¦ããæ¹ãå¤ãããã£ãããã®ã§ã¯ãªãã§ãããããä¸ã«ã¯ãã¨ã³ã¸ãã¢ã§ã¯ãªããã ãã©ãä»äºã§JavaScriptã触ãæ©ä¼ãããããè¦ãããï¼ãã¨ããæ¹ãããåå¿è ã ãã©ããªãã¹ãã³ã¹
æ¬æ¥ã¯ãBlogé¢ä¿ã®è¨äºãæ¸ãããã¨æãã¾ãã éååããèªä½PCã®è¨äºãæ¸ãã¦ãã¾ããããããã§ä½¿ç¨ããã¦ããã表çµã¿ãã«ã¤ãã¦è§£èª¬ãã¾ãã 以ä¸ããå®éã«è¡¨çµã¿ã使ç¨ããã¦ããè¨äºã®ãªã³ã¯ã§ãã 大é¢ã®èªä½PCã¸ã®éï¼é»æºã¨CPUã¯ã¼ã©ã¼ã¨OSç·¨ 表çµã¿ãä½ãã«ããã£ã¦ãå製åãæ¯è¼ãããããã®ãè¯ãã£ãã®ã§ãããæ¯è¼ããããããã«è©³ç´°ãè¨è¼ããã¨è¡¨çµã¿ãé·ããªã£ã¦ãã¾ãã®ã§ãæãããã¿ãã§å¿ è¦ãªæ å ±ãä»»æã«è¦ããããã«ããå¿ è¦ãããã¾ããã ãã®ãããªåçãªè¡¨çµã¿ãå®ç¾ããã«ã¯ãjQueryããå¿ è¦ã§ããã jQueryã¯ãJavaScriptã¨HTMLãç¸äºã«ä½¿ç¨ããWEBããã°ã©ã ã®ä¸ã¤ã§ãã ããã°ã©ã ã¨ããã¨é£ããå°è±¡ãããã¾ããããã³ãã¬ã¼ãããµã³ãã«ãå¤ãé å¸ããã¦ããã®ã§ãããã使ç¨ããã ãã§ãç°¡åã«å°å ¥åºæ¥ã¾ãã å®éã«ä»åã®è¡¨çµã¿ã¯ãjExpandãã¨ãããã®ãã
çãããåç¥ã®Firefoxã®ã¢ããªã³ãfirebugãã³ã¼ãã¼ã¨ãã§ããã°ããããå ¥ãã¦ãã人ã¯ããªãå¤ãããã¨æãã¾ãï¼ ããããä¸ã«ã¯ãlinkerãã®ã¾ã¼ãã¼ããããã¹ã°ã©ããã®ãã¸ã«ã¯ããã®ããã«ãâãã¾ãã¡Firebugã使ãããªãã¦ããªãâãªãã¦äººãããã®ã§ã¯ãªãã§ããããï¼ ä»åã¯ãããªæ¹ããµãããFireQueryãã®ãç´¹ä»ãä»æ§ã¨æãã¾ãï¼å人çã«ããªã便å©ã ã¨æãã¾ãã FireQueryã¨ã¯ï¼ FireQueryã¯ãFirebugã便å©ã«ãããæ©è½å¼·åã¢ããªã³ã§ãFirebugã®ã³ã³ã½ã¼ã«ã§æ¥½ã jQueryã使ããããã«ããããDOMç»é¢ã¤ãã³ããã©ãã«ã¤ãã¦ããã®ãã¨ãã確èªãããã¨ãã§ããããã«ãªããã¼ã«ã§ãã ãã ã®Firebugã§ãJavaScriptã®ãããã°ãåä½ã®ç¢ºèªããããã¨ã¯ã§ããã®ã§ãããFireQueryãå ¥ãããã¨ã«ãã£ã¦ãjQueryã使ã£
ã¾ãã¯Progateã¸ã¢ã¯ã»ã¹ãã¦ã¢ã«ã¦ã³ããä½æãç§ã¯Twitterã§èªè¨¼ãã¾ããã ç¾å¨å¦ã¹ãè¨èªã¯ HTML & CSS PHP jQuery ã®3è¨èªã®åºç¤é¨åã ã¨ããããHTML & CSSããã£ã¦ã¿ã¾ãããã å¦ç¿ã®æµã å¦ç¿ã®æµãã¯3ã¹ãããã ã¹ã©ã¤ãã§åºç¤ç¥èãå¦ç¿ ãã©ã¦ã¶ä¸ã®ã¨ãã£ã¿ã«ã³ã¼ããæ¸ãã¦å®éã«å¦ç¿ ãã¬ãã¥ã¼ç»é¢ã§å®éã«æåã確èªâçãåãã ã¨ãã£ãæãã§ãã ã¹ã©ã¤ã ã¹ã©ã¤ãã¯é常ã«ä¸å¯§ãªä½ãã¨ãªã£ã¦ããã¾ãã®ã§ãããèªã¿ããã°åå¿è ã§ããã£ããã¨ç解ãããªããå¦ç¿ãããã¨ãåºæ¥ã¾ãã ç¢å°ãã¼ã§ãã¼ã¸éããã§ããã®ãCoolã 1ã¬ãã¹ã³ã«ã¤ãæ°æã®ã¹ã©ã¤ãã表示ããã¾ãã®ã§ãè¦çµãã£ããã¨ãã£ã¿ç»é¢ã¸ã¨GOï¼ ã¨ãã£ã¿ç»é¢ ãã¡ãããã©ã¦ã¶ä¸ã§åä½ããã¨ãã£ã¿ç»é¢ãå·¦å´ãåé¡æãçãä¸ãã¨ãã£ã¿ãå³å´ããã¬ãã¥ã¼ç»é¢ã¨ãªãã¾ãã ããä¸åº¦ã¹ã©ã¤
ä»å¹´ãæ®ãã¨ãããã¨æ°æ¥ã ä»æ¥ãä»äºç´ãã¨ããã¨ãããå¤ãã®ã§ã¯ãªãã§ããããã æ°ãã¤ãã°ä»æã¯å ¨ç¶ããã°ãæ¸ãã¦ãªãã ããããªãã⦠ã¨ãããã¨ã§æè¿æ°ã¥ãããã¨ãåå¿é²ãå ¼ãã¦ã¡ã¢ã¡ã¢ ã(._.) ã¬ã¹ãã³ã·ã Web ãã¶ã¤ã³ã§ã¤ã¡ã¼ã¸ãããã使ãã¨ã⦠ãã®ããã ä¹ ãã¶ãã«ã¤ã¡ã¼ã¸ãããï¼ã¯ãªãã«ãã«ã»ãããï¼ã使ã£ãã ç§ãé¢ãã£ã¦ããä»äºã§ã¯ãã¾ã使ãæ©ä¼ããªããã§ããã©ãçããã¯ãã使ãã®ã§ãããããï¼ ã§ããã®ã¤ã¡ã¼ã¸ãããã使ãæ¡ä»¶ãã¡ãã£ã¨åã«ãã£ãã®ã§ããããã®æã«ãµã¨çåã⦠ãã®çåã¨ããã®ã¯ããã¬ã¹ãã³ã·ã Web ãã¶ã¤ã³ã ã¨åº§æ¨ããºã¬ãã®ã§ã¯ï¼ãã¨ããçåã ãã¾ãã¤ã¡ã¼ã¸ãããã使ãæ©ä¼ããªãã®ã§ä»ã¾ã§æ°ãã¤ããªãã£ãã ãã§ãçããã«ã¨ã£ã¦ã¯å¨ç¥ã®äºå®ãªã®ããç¥ãã¾ããããã¡ãã£ã¨ãä»ãåãã⦠ð ã¤ã¡ã¼ã¸ãããã¯ãç»åãã¡ã¤ã«ã®å·¦ä¸ãåç¹ã¨ã
ãParticlegroundãã¯ãWebãã¼ã¸ã®èæ¯ã«ãã¼ãã£ã¯ã«ã¢ãã¡ã¼ã·ã§ã³ï¼ççºæã®é£æ£ç©ã®ããã«ãããããã®ç¹ãåæã«åãã¢ãã¡ã¼ã·ã§ã³ï¼ã表示ãããã©ã°ã¤ã³ã§ããã¦ã¼ã¶ã¼ã®ç®ãå¼ããããããªèæ¯ãæ軽ã«å°å ¥ã§ãããã¦ã¹ã«ã¼ã½ã«ã«è¿½å¾ãã¦åãè¦å·®å¹æï¼ãã©ã©ãã¯ã¹ï¼ã®æ©è½ãããã¾ãã Particlegroundãã©ã°ã¤ã³ã¯Google Chromeãªã©ã®ã¢ãã³ãã©ã¦ã¶ã¼ã¨Internet Explorer 9以éãã¹ãã¼ããã©ã³ã§ã¯iOS 7.1ã®SafariãAndroid 4以éã®ããã©ã¦ã¶ãã«å¯¾å¿ãã¦ãã¾ãã ã©ã¤ã»ã³ã¹ã¯MITã§ããã©ã¤ã»ã³ã¹ã«å¾ã£ã¦èä½æ¨©è¡¨ç¤ºã¯åé¤ããã«å©ç¨ãã¾ãããã step1 jQueryãã©ã°ã¤ã³ã®èªã¿è¾¼ã¿ jQueryæ¬ä½ãjQueryã®å ¬å¼ãµã¤ãããã Particlegroundãé å¸ãã¼ã¸ãããã¦ã³ãã¼ããã¾ãããã¼ã¸ä¸å¤®ã®ãDownl
ç®æ¬¡ jQueryå ¥é jQueryã®ã¤ã³ã¹ãã¼ã«ã»ç°¡åãªä½¿ãæ¹ ã¯ã¤ãºã²ã¼ã ã®ä½ãæ¹ ç§å¯ã®æå·ãä½ã£ã¦ã¿ããï¼ãã¬ãæå·ï¼ ã¢ã¯ã·ã§ã³ã²ã¼ã ãä½ã£ã¦ã¿ããï¼ã¬ããã¹ï¼ ç»åã使ã£ãã¸ã°ã½ã¼ããºã«ãä½ã£ã¦ã¿ãã ããããããã£ã½ãã²ã¼ã ãã©ãã°å¯è½ãªãããã¢ããã¦ã¤ã³ãã¦ãä½ãã jQuery UI Sortableã§ï¼ã©ã¤ã³ãªã»ãã²ã¼ã ãã©ã¦ã¶å ¨ä½ããããã¯ãã¦ã¿ã Geolocation APIã使ã£ã¦é½éåºçã®ã»ã¬ã¯ãããã¯ã¹ãç¾å¨å°ã«è¿ãé ã«ã½ã¼ããã çºçããã¤ãã³ãã®ç¶æ ãä¿æã»ä¿åãã6ã¤ã®ãã¿ã¼ã³ Ajaxãå©ç¨ããã·ã³ãã«ãªã¤ã¡ã¼ã¸ã®ã£ã©ãªã¼ãä½ã£ã¦ã¿ã ãã¼ãã«ã«ãã¼ã¸éãï¼ãã¼ã¸ã³ã°ï¼ãå®è£ ãã¦ã¿ã jQuery UI Draggableã使ã£ã¦ä»ç®(sticky)ãä½ã£ã¦ã¿ã ã«ã©ã ã§ã½ã¼ãã§ãããã¼ãã«ãèªä½ãã¦ã¿ã ãã¼ãã«ã使ã£ãã·ã³ãã«ãªãããçµµã¨ãã£
使ãæ¹ ã¾ãæåã«ãã§ãã¯ããã³ã³ãã³ãã§ããã©ã®ãããªèãããã¨ã«ããã°ã©ã ãçµã¿ç«ã¦ã¦ããããè¨è¨åãå¦ã³ã¾ãã ãµã³ã㫠使ãæ¹ã§å¦ãã ãã¨ãçããã¦ãç°¡åãªãµã³ãã«ã®ä½æãå¦ãã§ããã¾ãã ãã©ã°ã¤ã³ jQueryã§å©ç¨ã§ãã便å©ãªãã©ã°ã¤ã³ãç´¹ä»ãã¦ããã¾ãã ãªãã¡ã¬ã³ã¹ jQueryã®ãªãã¡ã¬ã³ã¹ã§ããè¾æ¸ä»£ããã«ãå©ç¨ãã ããã 使ç¨ä¾ ä¼æ¥ãµã¤ãã§ã®jQueryã®ä½¿ç¨ä¾ãç´¹ä»ãã¦ããã¾ãã å§ãã« jQueryã¯ãã¶ã¤ãã¼ã«ãå©ç¨ããããjavaScriptãã©ã°ã¤ã³ã§ãããã®ãµã¤ãã¯htmlãcssãå åã«ç解ãã¦ãããããã«åºç¤çãªjavaScriptããã¹ã¿ã¼ãã¦ããæ¹ã対象ã«è¨äºãæ¸ãã¦ãã¾ãã ç¾å¨ã¯ã¹ãã¼ããã©ã³ç¨ã®ã²ã¼ã å¶ä½ã«æ³¨åãã¦ãããããæ¬ãµã¤ãã®æ´æ°ã¯ä¼æ¢ç¶æ ï¼2014å¹´3æãæçµæ´æ°ï¼ã§ããã²ã¼ã å¶ä½ã«é¢ããããã°ï¼ã¹ãã²ã¼ä½ããï¼ã¯ã»ã¼æ¯æ¥æ´æ°ã
2013å¹´12æ20æ¥ Excelã®ã³ãã¯ã¿ã®ãããªãã¨ãã§ããjQueryãã©ã°ã¤ã³ãjsPlumbã ã¢ãã¦ã§ã¤ãºã¨ã³ã¸ãã¢ã®ã¤ã·ãã«ã§ãã ãã£ã¨æ°ã¥ãã°ããã12æãå¿å¹´ä¼ã®ã·ã¼ãºã³ã«ãªãã¾ãããã 飲ã¿ãªã©ã§ãã¡ãå¤ããã¨ããããã¨æãã¾ãããç¨ã ã«ï¼¾ï¼¾ï¼ ã§ã¯ãæ¬é¡ã®jQueryã®ãã©ã°ã¤ã³jsPlumbã®ç´¹ä»ã«å ¥ãããã¨æãã¾ãã Webç³»ã¨ã³ã¸ãã¢ã®çæ§ãWebä¸ã§ç»é¢é·ç§»å³ãæãããã樹形å³ãæããããããã¨æã£ããã¨ã¯ããã¾ãããï¼ ããã£ããªãã§ãã£ã¦ï¼ï¼ã ãã®ãã¡æããããªãã¨æãã®ã§ãåæã«ç´¹ä»ããã¦ããã ãã¾ã(ç¬)ã â jsPlumbãå©ç¨ããé·ç§»å³ãµã³ãã« jsPlumbãå©ç¨ããã¨ããããªå³ãç°¡åã«æãã¾ãï¼ â pluginã®ãã¦ã³ãã¼ã ä»åã¯ã以ä¸ã®ããã«ãjsPlumbã®ãã¢ãµã¤ãããjsãåã£ã¦ãã¾ããã $ wget ht
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}