{"id":621,"date":"2017-04-07T10:38:46","date_gmt":"2017-04-07T01:38:46","guid":{"rendered":"https:\/\/clouds.tokyo\/blog\/?p=621"},"modified":"2017-04-12T10:19:07","modified_gmt":"2017-04-12T01:19:07","slug":"jquery_scroll","status":"publish","type":"post","link":"https:\/\/clouds.tokyo\/blog\/jquery_scroll\/","title":{"rendered":"\u3010jQuery\u3011\u30da\u30fc\u30b8\u306e\u30c8\u30c3\u30d7\uff08\u6700\u4e0a\u90e8\uff09\u3078\u306a\u3081\u3089\u304b\u306b\u30b9\u30af\u30ed\u30fc\u30eb"},"content":{"rendered":"<p>\u6700\u8fd1\u591a\u7528\u3057\u3066\u3044\u308b\u3001\u30da\u30fc\u30b8\u30c8\u30c3\u30d7\u3078\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u30b9\u30af\u30ed\u30fc\u30eb\u3001<br \/>\njQuery\u306a\u3089\u7c21\u5358\u306b\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>\r\nvar pagetop_scroll = function() {\r\n  var speed = 500; \/* \u30df\u30ea\u79d2 *\/\r\n  var position = $('html').offset().top;\r\n  $('body,html').animate({scrollTop:position}, speed, 'swing');\r\n};\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u591a\u7528\u3057\u3066\u3044\u308b\u3001\u30da\u30fc\u30b8\u30c8\u30c3\u30d7\u3078\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u30b9\u30af\u30ed\u30fc\u30eb\u3001 jQuery\u306a\u3089\u7c21\u5358\u306b\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002 var pagetop_scroll = function() { var speed = 500; \/* \u30df\u30ea\u79d2 *\/ &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/clouds.tokyo\/blog\/jquery_scroll\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u3010jQuery\u3011\u30da\u30fc\u30b8\u306e\u30c8\u30c3\u30d7\uff08\u6700\u4e0a\u90e8\uff09\u3078\u306a\u3081\u3089\u304b\u306b\u30b9\u30af\u30ed\u30fc\u30eb&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":""},"categories":[2],"tags":[251,93,98,250],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pezW3u-a1","jetpack-related-posts":[{"id":259,"url":"https:\/\/clouds.tokyo\/blog\/jquery_scr_pos\/","url_meta":{"origin":621,"position":0},"title":"\u3010jQuery\u3011\u30b9\u30af\u30ed\u30fc\u30eb\u4f4d\u7f6e\u3092\u53d6\u5f97","author":"yamamoto","date":"2012\u5e749\u67084\u65e5","format":false,"excerpt":"\u30b9\u30af\u30ed\u30fc\u30eb\u4f4d\u7f6e\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002 var scr = { l: $('#object').scrollL\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":257,"url":"https:\/\/clouds.tokyo\/blog\/jquery_scr_size\/","url_meta":{"origin":621,"position":1},"title":"\u3010jQuery\u3011\u30b9\u30af\u30ed\u30fc\u30eb\u3092\u542b\u3080body\u30b5\u30a4\u30ba\u306e\u53d6\u5f97","author":"yamamoto","date":"2012\u5e744\u67085\u65e5","format":false,"excerpt":"\u898b\u3048\u3066\u3044\u308b\u7bc4\u56f2\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u306a\u3044\u3068\u898b\u3048\u306a\u3044\u90e8\u5206\u3082\u542b\u3081\u305fbody\u30b5\u30a4\u30ba\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002 va\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":255,"url":"https:\/\/clouds.tokyo\/blog\/jquery_win_size\/","url_meta":{"origin":621,"position":2},"title":"\u3010jQuery\u3011\u30a6\u30a3\u30f3\u30c9\u30a6\u30b5\u30a4\u30ba\u306e\u53d6\u5f97","author":"yamamoto","date":"2011\u5e7412\u670820\u65e5","format":false,"excerpt":"\u30a6\u30a3\u30f3\u30c9\u30a6\u30b5\u30a4\u30ba\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002 \u30b9\u30af\u30ed\u30fc\u30eb\u3057\u306a\u3044\u3068\u898b\u3048\u306a\u3044\u90e8\u5206\u306f\u542b\u307e\u308c\u307e\u305b\u3093\u3002 var win = \u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":735,"url":"https:\/\/clouds.tokyo\/blog\/jquery_footer_fix\/","url_meta":{"origin":621,"position":3},"title":"\u3010jQuery\u3011\u77ed\u3044\u30da\u30fc\u30b8\u3060\u3051\u30d5\u30c3\u30bf\u30fc\u3092\u6700\u4e0b\u90e8\u306b\u56fa\u5b9a\u3059\u308b","author":"yamamoto","date":"2017\u5e745\u670826\u65e5","format":false,"excerpt":"\u30da\u30fc\u30b8\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u5c11\u306a\u3044\u306a\u3069\u3001\u30d5\u30c3\u30bf\u30fc\u3092\u542b\u3081\u305f\u30da\u30fc\u30b8\u306e\u7e26\u5e45\u304c\u30d6\u30e9\u30a6\u30b6\u306e\u7e26\u5e45\u3088\u308a\u77ed\u3044\u5834\u5408\u304c\u3042\u308b\u3068\u601d\u3044\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":987,"url":"https:\/\/clouds.tokyo\/blog\/js_post_open\/","url_meta":{"origin":621,"position":4},"title":"\u3010JavaScript\u3011\u5225\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u958b\u304f\u969b\u306bPOST\u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u9001\u308b","author":"yamamoto","date":"2020\u5e742\u670816\u65e5","format":false,"excerpt":"\u5225\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u958b\u304f\u969b\u306bPOST\u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u9001\u308b\u306b\u306f\u3001 window.open\u3067\u7a7a\u306e\u30da\u30fc\u30b8\u3092\u958b\u3044\u3066\u304b\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":608,"url":"https:\/\/clouds.tokyo\/blog\/js_upload\/","url_meta":{"origin":621,"position":5},"title":"\u3010JavaScript\u3011\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3067\u8907\u6570\u30d5\u30a1\u30a4\u30eb\u306e\u4e00\u62ec\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9","author":"yamamoto","date":"2017\u5e744\u67086\u65e5","format":false,"excerpt":"\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3067\u4e00\u6c17\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u30da\u30fc\u30b8\u3001 \u5b9f\u306f\u3051\u3063\u3053\u3046\u7c21\u5358\u306b\u4f5c\u308c\u307e\u3059\u3002Aj\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/621"}],"collection":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/comments?post=621"}],"version-history":[{"count":4,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/621\/revisions"}],"predecessor-version":[{"id":653,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/621\/revisions\/653"}],"wp:attachment":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/media?parent=621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/categories?post=621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/tags?post=621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}