{"id":1086,"date":"2011-09-01T10:26:21","date_gmt":"2011-09-01T01:26:21","guid":{"rendered":"http:\/\/codaholic.org\/?p=1086"},"modified":"2023-06-04T18:08:46","modified_gmt":"2023-06-04T09:08:46","slug":"jquery%e3%83%97%e3%83%a9%e3%82%b0%e3%82%a4%e3%83%b3%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%9b%e3%81%9a%e3%81%ab%e3%80%81%e6%bb%91%e3%82%89%e3%81%8b%e3%81%ab%e3%83%96%e3%83%a9%e3%82%a6%e3%82%b6%e3%82%92","status":"publish","type":"post","link":"https:\/\/codaholic.org\/?p=1086","title":{"rendered":"[jQuery] \u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u305b\u305a\u306b\u3001\u6ed1\u3089\u304b\u306b\u30d6\u30e9\u30a6\u30b6\u3092\u30b9\u30af\u30ed\u30fc\u30eb\u3055\u305b\u308b"},"content":{"rendered":"<p>\u904e\u53bb\u306e\u8a18\u4e8b\u300c<a href=\"\/?p=1082\">[jQuery] \u30b9\u30af\u30ed\u30fc\u30eb\u4f4d\u7f6e\u3092\u5236\u5fa1\u3059\u308b<\/a>\u300d\u306b\u3066 jQuery \u3067\u30d6\u30e9\u30a6\u30b6\u3092\u30b9\u30af\u30ed\u30fc\u30eb\u3055\u305b\u308b\u65b9\u6cd5\u3092\u66f8\u304d\u307e\u3057\u305f\u304c\u3001\u4eca\u5ea6\u306f\u305d\u308c\u3092\u6ed1\u3089\u304b\u306b\u30b9\u30af\u30ed\u30fc\u30eb\u3055\u305b\u308b\u65b9\u6cd5\u306b\u306a\u308a\u307e\u3059\u3002\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u51e6\u7406\u3092\u884c\u3063\u3066\u304f\u308c\u308b\u3082\u306e\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u3042\u3048\u3066\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u308f\u305a\u306b\u6a19\u6e96\u3067\u7528\u610f\u3055\u308c\u305f\u3082\u306e\u3060\u3051\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><!--more--><br \/>\n\u6ed1\u3089\u304b\u306b\u30b9\u30af\u30ed\u30fc\u30eb\u3092\u3055\u305b\u308b\u306b\u306f\u3001<code>animate<\/code> \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u4e0b\u8a18\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f id \u304c <code>switch<\/code> \u306e\u8981\u7d20\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068 1 \u79d2\u304b\u3051\u3066\u3058\u3093\u308f\u308a\u3068\u6700\u4e0a\u90e8\u3078\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-javascript\">$(function(){\n    $('#switch').click(function(){\n        $('html, body').animate({\n            'scrollTop': 0\n        }, 1000, 'swing');\n    });\n});\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u904e\u53bb\u306e\u8a18\u4e8b\u300c[jQuery] \u30b9\u30af\u30ed\u30fc\u30eb\u4f4d\u7f6e\u3092\u5236\u5fa1\u3059\u308b\u300d\u306b\u3066 jQuery \u3067\u30d6\u30e9\u30a6\u30b6\u3092\u30b9\u30af\u30ed\u30fc\u30eb\u3055\u305b\u308b\u65b9\u6cd5\u3092\u66f8\u304d\u307e\u3057\u305f\u304c\u3001\u4eca\u5ea6\u306f\u305d\u308c\u3092\u6ed1\u3089\u304b\u306b\u30b9\u30af\u30ed\u30fc\u30eb\u3055\u305b\u308b\u65b9\u6cd5\u306b\u306a\u308a\u307e\u3059\u3002\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u51e6\u7406\u3092\u884c\u3063\u3066\u304f\u308c\u308b\u3082\u306e\u3082\u3042\u308a\u307e\u3059 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[5,6],"tags":[245,246],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8gd1W-hw","_links":{"self":[{"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/posts\/1086"}],"collection":[{"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codaholic.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1086"}],"version-history":[{"count":8,"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/posts\/1086\/revisions"}],"predecessor-version":[{"id":2680,"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/posts\/1086\/revisions\/2680"}],"wp:attachment":[{"href":"https:\/\/codaholic.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codaholic.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1086"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codaholic.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}