jQueryã®ä¾¿å©ã§å®ç¨çãªã¤ã¡ã¼ã¸ã¹ã©ã¤ãã¼ãã¬ã¹ãã³ã·ã対å¿ã®ãã©ã°ã¤ã³ãã¿ã°ãã«ãã´ãªã§è¦ãããã¾ã¨ãã¾ããã
jQueryã®ä¾¿å©ã§å®ç¨çãªã¤ã¡ã¼ã¸ã¹ã©ã¤ãã¼ãã¬ã¹ãã³ã·ã対å¿ã®ãã©ã°ã¤ã³ãã¿ã°ãã«ãã´ãªã§è¦ãããã¾ã¨ãã¾ããã
JavaScriptjQuery 㯠CSS ã»ã¬ã¯ã¿ã§è¦ç´ ãé¸ãã§å¦çã§ããã®ãé åçã§ããããã㪠jQuery ã§ãããCSS ã»ã¬ã¯ã¿ã®æ¸ãæ¹æ¬¡ç¬¬ã§é度ãå¤§å¹ ã«å¤ãã£ã¦ãã¾ããããã§ã¯ jQuery ã®å é¨å¦çãçä¼¼ã³ã¼ãã§ç¤ºãã¤ã¤ãjQuery ãé«éã«ä½¿ãããã®ãã¤ã³ããï¼ã¤ã«çµã£ã¦ç´¹ä»ãã¾ããä½åº¦ãåãã»ã¬ã¯ã¿ãå®è¡ããªãã¯ã©ã¹ã ããæå®ããã®ã¯ç¦æ¢#id ãç©æ¥µçã«ä½¿ãéä¸ã¾ã§ã®çµæãåå©ç¨ããåä¾ã»ã¬ã¯ã¿(>)ã使ãã¨éããªããã¨ãããâ» ãã®è¨äºã¯ jQuery 1.2.6 ã®ã½ã¼ã¹ã³ã¼ããå ã«è¨è¿°ãã¦ãã¾ã1. ä½åº¦ãåãã»ã¬ã¯ã¿ãå®è¡ããªãæ¹åå // ä¾é¡ 1 $("div.foo").addClass("bar"); $("div.foo").css("background", "#ffffff"); $("div.foo").click(function(){
$('<div></div>') .attr('id','result') .appendTo($('#test-place')); $('#result') .text('jQueryã®animateé¢æ°ãããã') .css('border','1px solid green') .css('width','300px') .css('text-align','center') .show('slow') .animate({marginLeft:'+=300px'},1000) .animate({marginTop:'+=150px'},1000) .animate({marginLeft:'-=300px'},1000) .animate({marginTop:'-=150px'},1000) .animate({marginLeft:'+=300px'
jQueryã¨ã¯ãJavaScriptã®ã³ã¼ãã£ã³ã°ãå¼·åã«æ¯æ´ããã©ã¤ãã©ãªã§ãã $('.semooh a').hover( function(){ $(this).text('ãï¼'); }, function(){ $(this).text('ãã¼'); } );
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}