â 1ãã¼ã¸ã«è¤æ°è¨ç½®ã®å ´åã®ã㢠ãµã ãã¤ã«ç»åã®aã¿ã°ã¨æ¡å¤§ç»åã®åçããããdivã«ã«ã¯ã©ã¹ãæå®ã class="gallery01"
â 1ãã¼ã¸ã«è¤æ°è¨ç½®ã®å ´åã®ã㢠ãµã ãã¤ã«ç»åã®aã¿ã°ã¨æ¡å¤§ç»åã®åçããããdivã«ã«ã¯ã©ã¹ãæå®ã class="gallery01"
ã¦ã¤ã³ãã¦ã®ãªãµã¤ãºã¤ãã³ãã§ãã¼ã¸ã®åèªã¿è¾¼ã¿ããããã¦ä»¥ä¸ã®ã³ã¼ããæ¸ããã $.fn.reload = function(){ $(window).resize(function(){ location.reload(); }) } 試ãã«ã¦ã¤ã³ãã¦ãµã¤ãºãå¤æ´ãããã©ãªããç¡åå¿ã ã§ããã£ã¡ã¯åãã $.fn.reload = function(){ $(window).resize(function(){ location.href = location.href; }) } ã¡ãªã¿ã«bindãåãã $.fn.reload = function(){ $(window).bind('resize',function(){ location.href = location.href; //location.reload();ããããªã }) } ããã¨åãã ã¨æãã ããããã®
ä»åã¯ãCSSã¢ãã¡ã¼ã·ã§ã³ã使ã£ã¦ãã¡ãã£ã¨ããã¹ã©ã¤ãã·ã§ã¼ãä½ãã¾ãã (第10åã®ã¤ã¥ããã¢ãã¡ã¼ã·ã§ã³å®è£ ã§ãã) ãµã³ãã«ãè¦ã ä»åã®ãµã³ãã«ã¯ãsetIntervalã使ã£ã¦ãç»åããã¼ãã¼ã·ã§ã³ãããã¢ãã¡ã¼ã·ã§ã³ãtransitionã§å®ç¾©ãã¦ãã¾ãã â»ä»åããCSS3ã®ãtransitionããããã£ãã«å¯¾å¿ãããFirefoxããChromeããSafariãã§ããåä½ãã¾ãããæ®å¿µãªããç¾æç¹ã§ã¯IEã¯ãtransitionããããã£ãã«ã¯å¯¾å¿ãã¦ãã¾ããã 座æ¨ã®ç§»å ååããpopã¡ã½ãããã¨ãunshiftã¡ã½ããããå©ç¨ãã¦ãé åã®ä¸¦ã³ãå¤ããå¦çã解説ãã¾ããããå®éã«ããã ãã§ã¯é ç½®ããã¦ãã座æ¨ã¯å¤æ´ããã¾ããã ãtransitionããããã£ãã®ç¹æ§ã¨ãã¦ãå¤ãå¤æ´ããããã¢ãã¡ã¼ã·ã§ã³ãå®è¡ããã®ã§ãè¨ã£ã¦ãã¾ãã°åº§æ¨ããå¤æ´ããã°ã¢ãã¡ã¼ã·
Twitterä¸ã§ç»åãå ±æããéã«ãå½å å¤åããåºã使ããã¦ããtwitpicã§ãããå ¬éããã¦ããAPIããã¥ã¡ã³ãä¸ã«ã¯ãã«ãµã¤ãºï¼å ç»åã®ãµã¤ãºï¼ã§ã®ç»ååå¾ç¨ã®APIãå ¬éããã¦ãã¾ãããããããµã¼ãã¼ã®è² è·ãæããçºããããã¨ãå ç»åã«è¿ããµã¤ãºã§è¦ãããªãtwitpicã®ãµã¤ãã«æ¥ã¦è¦ã¦ã!!!ã¨ããã¡ãã»ã¼ã¸ãªã®ãã¯ç§ã«ã¯ãããã¾ããããä»äºã§ã©ããã¦ããã«ãµã¤ãºã®ç»åãå¿ è¦ã«ãªã£ãã®ã§ã¡ãã£ã¨èª¿ã¹ã¦ã¿ãã¨ããã以ä¸ã®ãããªæ¹æ³ã§ãã«ãµã¤ãºã®ç»åãåå¾ããäºãåºæ¥ã¾ããã ã¾ãããããTwitterã«è¯ããã¹ãããã¦ããtwitpicã«ã¢ãããããç»åã®URLã http://twitpic.com/3xoeo9 ããããµã ãã¤ã«ç»ååå¾ç¨ã®API http://twitpic.com/show/thumb/3xoeo9 ããããããµã¤ãºã®ç»ååå¾ç¨API http://t
ååã®ç¶ãã§ã transitionã§ã¢ãã¡ã¼ã·ã§ã³ããå¾ã« ä½ãå¦çããããå ´åã«ã¯ webkitTransitionEndã¤ãã³ãã使ãã¾ã æ¸ãã»ã©ã§ããªãã§ãããã½ã¼ã¹ã§ãã
ããã°ã®ãã¶ã¤ã³ã¯ãèªè ã«ä¸ãã第ä¸å°è±¡ã«å¤§ããªå½±é¿ãä¸ãããã©ãã ãã³ã³ãã³ããåªãã¦ãã¦ãããã¶ã¤ã³ãæªããã°å°ç¡ãã«ãªã£ã¦ãã¾ããä¸æ¹ã質ã®é«ãã³ã³ãã³ãã¨å¥½å°è±¡ãä¸ããã®ããã°ãã¶ã¤ã³ãçµã¿åãããã¨ãèªè ã®è¨æ¶ã«æ®ãããã°ã«ãªãã ã ãããããããã°ã®ãã¶ã¤ã³ã«æ©ãã§ããæ¹ã¯å¤ãã®ã§ã¯ãªãã ãããï¼ããããå®ã¯ãããã°ãã³ãã¬ã¼ãã使ãã¨ããã£ã¨ããéã«è³ªã®é«ãããã°ãã¶ã¤ã³ãä½ããã¨ãã§ããã ããã§ãæ¬æ¥ã¯ãé©ãã»ã©ãã¶ã¤ã³æ§ãé«ããç¡æã§ä½¿ããããã°ãã³ãã¬ã¼ããå³é¸ãã¦ï¼ï¼åãç´¹ä»ããã ããªãã®æ°ã«å ¥ããã®ãããã£ã¨ããã¯ããªã®ã§ããã²ä½¿ã£ã¦ã¿ããã Exhibition ãã¢ãï½ããã¦ã³ãã¼ã Palladiumize ãã¢ãï½ããã¦ã³ãã¼ã Architekt ãã¢ãï½ããã¦ã³ãã¼ããâ»ææçã¯ã¬ã¹ãã³ã·ããã¶ã¤ã³å¯¾å¿ Grid Portfolio ãã¢ãï½ããã¦ã³
ã©ããããã°ãã¯ãä»åã®tipsã¯ãtwitpicAPIãéãã§twitterã®æ稿ç»åãä¸è¦§è¡¨ç¤ºãããæ¹æ³ãã§ããtwitpicAPIã¯v2ãåºã¦ãã触ã£ã¦ãªãã£ãã®ã§ãããçµæ§ä¾¿å©ãªã®ã§ãã¤ã使ã£ã¦ã¿ããã¨æã£ã¦ããã¾ãã twitpicAPI APIã§ã¯XML,json,jsonpã®ã©ããã§ãã¼ã¿ã®å¦çãè¡ãã¾ããããã§ã¯jsonpã®ä¾ãæ¸ãã¦ããã¾ããã¡ãªã¿ã« tag : "????" ã®é¨åã§twitterã®ã¿ã°ã§çµãè¾¼ãã§ãã¾ãã jQuery æ¬ä¾ã§ã¯â¦ ã»ã¦ã¼ã¶ã¼å ã»ã¢ãã¿ã¼ç»åURL ã»æ稿æé ã»æ稿ç»åURL ã»é²è¦§æ° ã»è©³ç´°ãã¼ã¸URL ã»å°å ãåå¾ã表示ããã¦ãã¾ãã ãã®ä»ã«ãè²ã 表示ã§ãã¾ãã詳細ã¯RTM $(function(){ $.ajax({ url : "http://api.twitpic.com/2/tags/show.jsonp", dat
jQuery ä¸å®ééã§ç»åãåãæ¿ããã¢ãã¡ã¼ã·ã§ã³ã®ä½ãæ¹ â setInterval replace image animate ã©ããããã°ãã¯ï¼ ä»æ¥ãjQueryã®ãã¿ã§ãã ä¸å®ééã§ç»åãåãæ¿ããã¢ãã¡ã¼ã·ã§ã³ ã»HTMLã®è¨è¿° <div id="animateField"> <img src="/images/abcd1.png"> </div> ã»JSã®è¨è¿° $(function(){ var count = setInterval(changeImg, 2000);//2ç§éé i = 1; function changeImg(){ $("#animateField").children("img").attr("src","/images/abcd" + i + ".png"); if(i <= 5){//6æã®ç»åãé ã«åãæ¿ã i++; } else{ i
ã©ããããã°ãã¯ï¼ ä»æ¥ã®ãã¿ã¯â¦ãã¹ã¯ãã¼ã«ã«å¿ãã¦åä½ããã¢ãã¡ã¼ã·ã§ã³ãã§ãã ãããã£ããµã¤ããå¢ãï¼ãããããæ¸ã£ãï¼ï¼ ç®ã«ããæ©ä¼ãå¢ãããã¨æãã¾ãã åºæ¬ã¯ãããªãã©ãã©ã¢ãã¡ãç¨æã ã¹ã¯ãã¼ã«ã«ãã£ã¦ç»åã®ä½ç½®ãå¤æ´ãã or ä½ç½®ã«ãã£ã¦è¡¨ç¤ºããç»åãå·®ãæ¿ãã ãå®æ½ããã ãã§ãã ãã©ãã©ã¢ãã¡ãç¨æããã®ãè¥å¹²æéã§ãã ããããã¯ãªã¢ã§ããã°ãã£ããç°¡åã§ãã â¦åç½®ãã¯ãããããã§ãã¢ã¨ã³ã¼ã DEMO ã³ã¼ã <script type="text/javascript"> $(document).ready(function(){ //#MovieContentså ã¹ã¯ãã¼ã«åæå $(â#MovieContentsâ).scrollTop(0,0); //#MovieContentsãã¹ã¯ãã¼ã«ã§functionå®è¡ $(â#MovieContents
HOME > ã©ã¤ãã©ãª > jQuery slider jQuery slider ç»åã®ã¹ã©ã¤ãã§ã¯ãªãè¦ç´ ã®ã¹ã©ã¤ããªã®ã§ã³ã³ãã³ãã®ã«ã¹ã¿ãã¤ãºããããããã (imageã®ä¸ã«ã¯ä½ãå ¥ããããªããã©divã®ä¸ã«ã¯ãªãã§ãå ¥ããããçãª) MIT Licenseã§ã½ã¼ã¹ãå°ããããããããã®ã§ããªãã·ã§ã³ã§ãã¡ãªãã½ã¼ã¹ãããããã¨ãã§ããããªæãã 使ãæ¹ jQueryæ¬ä½ã¨jquery.slider.min.jsãjquery.slider.cssãå¿ è¦ã¨ãªãã¾ãã
Result jQuery //ãã¦ã¹ããã¼ã¤ãã³ã $('li a').hover(function() { var p = $(this).position().left; //ãã¦ã¹ãä¹ãã¨class="arrow"ãã¢ãã¡ã¼ã·ã§ã³ã§ãã¸ã·ã§ã³ãå¤æ´ $('.arrow').animate({ //æ°å¤ã§ä½ç½®ã決ããã»ã»ããã ã¨æ±ç¨æ§ãç¡ãã:( left: (p + 60) + 'px'}); }, function() {}); css .content { position: absolute; width: auto; height: 400px; } .arrow {/*ç¢å°é¨å*/ position: absolute; margin-top: 0px; border-color: #696868 transparent; border-style: solid; bor
jQuery 1.7ãå ¬éãããã®ã§ãæ©é1.6.xããã®æ´æ°å 容ãã¾ã¨ãã¦ã¿ã¾ããã jQuery: » jQuery 1.7 Released ï¼ãªãªã¼ã¹è¨äºï¼ Version 1.7 â jQuery API ï¼å ¬å¼ããã¥ã¡ã³ãã1.7ã§å¤æ´ããã£ããã®ã®ã¿ï¼ 1.7 all tickets â jQuery Core â Bug Tracker ï¼1.7ã®å ¨ãã±ããï¼ ãªãªã¼ã¹è¨äºã®ç¿»è¨³ãããªãã§ãã 主ãªå¤æ´ç¹ å人çã«æ°ã«ãªã£ããã®ãããã¯ã¢ãããã¦ã¿ã¾ããã æ¢åã® .bind()ã .live()çã«ç½®ãæãã .on(), .off()ã追å .bind(), .delegate(), .live()ãçµ±åããã¾ãããï¼ããããå¼ãç¶ã使ç¨ã§ãã¾ããï¼ â詳細å¾è¿°ãã¾ãã toggleã¨.stop()ã®é£æºãæ¹å toggleç³»ã¨çµã¿åãããéã«ãããããªã£ã¦ãã¾ãã®ãæ¹
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}