{"id":702,"date":"2018-03-12T11:11:07","date_gmt":"2018-03-12T02:11:07","guid":{"rendered":"http:\/\/www.takaya-com.jp\/archives\/?p=702"},"modified":"2018-03-12T11:11:07","modified_gmt":"2018-03-12T02:11:07","slug":"%e3%83%ac%e3%82%b9%e3%83%9d%e3%83%b3%e3%82%b7%e3%83%96%e5%af%be%e5%bf%9c%e3%82%b9%e3%83%a9%e3%82%a4%e3%83%89%e3%82%b7%e3%83%a7%e3%83%bc","status":"publish","type":"post","link":"https:\/\/takaya-com.jp\/archives\/2018\/03\/%e3%83%ac%e3%82%b9%e3%83%9d%e3%83%b3%e3%82%b7%e3%83%96%e5%af%be%e5%bf%9c%e3%82%b9%e3%83%a9%e3%82%a4%e3%83%89%e3%82%b7%e3%83%a7%e3%83%bc\/","title":{"rendered":"\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\uff1a\u524d\u5f8c\u306e\u753b\u50cf\u3092\u30c1\u30e9\u898b\u305b\u266a"},"content":{"rendered":"<p>jQuely\u306e\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\u306b\u3082\u8272\u3005\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u3061\u3089\u306f\u524d\u5f8c\u306e\u753b\u50cf\u304c\u4e21\u7aef\u304b\u3089\u30c1\u30e9\u30ea\u3068\u8997\u304f\u30bf\u30a4\u30d7\u266a<br \/>\n\u305d\u306e\u307e\u307e\u3067\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u306a\u306e\u3067\u4f7f\u3044\u52dd\u624b\u3082\u3044\u3044\u611f\u3058\u3067\u3059\u306d\uff01<\/p>\n<p>\u4eca\u56de\u4f7f\u7528\u3057\u305f\u306e\u306f\u3001<b>slick.js<\/b>\u3067\u3059\u3002<br \/>\n\u53c2\u8003\u30b5\u30a4\u30c8\u69d8\u306b\u306f\u4ed6\u306b\u3082\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u304c\u63c3\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u3001<br \/>\n\u304a\u6c17\u306b\u5165\u308a\u306e\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\u3092\u898b\u4ed8\u3051\u308b\u306e\u3082\u30a2\u30ea\u3067\u3059\u3088\uff01<\/p>\n<p><!--more--><\/p>\n<p>\u2193\u4ee5\u4e0b\u304c\u5b9f\u969b\u306e\u30bd\u30fc\u30b9\u30b5\u30f3\u30d7\u30eb\u3067\u3059\u3002<\/p>\n<p>\u25bcJavaScript<\/p>\n<pre class=\"lang:js decode:true \" title=\"JavaScript\" >\r\n<script src=\"http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.11.1\/jquery.min.js\"><\/script>\r\n<script src=\"slick.min.js\"><\/script>\r\n<script type=\"text\/javascript\">\r\n$(function() {\r\n    $('.center-item').slick({\r\n          infinite: true,\r\n          dots:true,\r\n          slidesToShow: 1,\r\n          centerMode: true,\r\n          centerPadding:'12.5%', \/\/\u30c1\u30e9\u898b\u305b\u90e8\u5206\u3092\u3053\u3053\u3067\u8abf\u6574\r\n          autoplay:true,\r\n          responsive: [{\r\n               breakpoint: 480,\r\n                    settings: {\r\n                         centerMode: false,\r\n               }\r\n          }]\r\n     });\r\n});\r\n<\/script>\r\n<\/pre>\n<p>\u25bcCSS<\/p>\n<pre class=\"lang:css decode:true \" title=\"CSS\" >\r\n<link rel=\"stylesheet\" type=\"text\/css\" href=\"slick.css\" media=\"screen\" \/>\r\n<link rel=\"stylesheet\" type=\"text\/css\" href=\"slick-theme.css\" media=\"screen\" \/>\r\n<style type=\"text\/css\">\r\n\/*\u77e2\u5370\u306e\u8272\u3068\u30b5\u30a4\u30ba*\/\r\n.slick-prev:before,\r\n.slick-next:before {\r\n    color: #111;\r\n    font-size: 24px;\r\n}\r\n\r\n\/*\u77e2\u5370\u306e\u4f4d\u7f6e*\/\r\n.slick-next {\r\n    right: 20px;\r\n    z-index: 110;\r\n}\r\n.slick-prev {\r\n    left: 15px;\r\n    z-index: 100;\r\n}\r\n\r\n\/*\u30c9\u30c3\u30c8\u306e\u8272*\/\r\n.slick-dots li.slick-active button:before,\r\n.slick-dots li button:before {\r\n    color: #000;\r\n}\r\n\r\n\/*\u753b\u50cf\u306e\u5e45*\/\r\nimg {\r\n    width: 100%;\r\n    max-width: 100%;\r\n    height: auto;\r\n    object-fit: cover;\r\n}\r\n\r\n\/*\u30b9\u30e9\u30a4\u30c0\u30fc\u306e\u8abf\u6574*\/\r\nul {\r\n    padding-right: 0;\r\n    padding-left: 0;\r\n    margin-right: 20px;\r\n    margin-left: 20px;\r\n}\r\n<\/style>\r\n<\/pre>\n<p>\u25bcHTML<\/p>\n<pre class=\"lang:xhtml decode:true \" title=\"XHTML\" >\r\n<div id=\"wrap\">\r\n<ul class=\"slider center-item\">\r\n     <li><a href=\"#\"><img decoding=\"async\" src=\"images\/image1.jpg\"><\/a><\/li>\r\n     <li><a href=\"#\"><img decoding=\"async\" src=\"images\/image2.jpg\"><\/a><\/li>\r\n     <li><a href=\"#\"><img decoding=\"async\" src=\"images\/image3.jpg\"><\/a><\/li>\r\n     <li><a href=\"#\"><img decoding=\"async\" src=\"images\/image4.jpg\"><\/a><\/li>\r\n     <li><a href=\"#\"><img decoding=\"async\" src=\"images\/image5.jpg\"><\/a><\/li>\r\n<\/ul>\r\n<\/div>\r\n<\/pre>\n<p>\u4eca\u56de\u3001\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u3044\u305f\u306e\u306f\u3001<br \/>\n<a href=\"http:\/\/kenwheeler.github.io\/slick\/\" target=\"_blank\">\u300eslick\u300f<\/a>\u3067\u3059\u3002<br \/>\n\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/www.takaya-com.jp\/archives\/demo\/slick\/\" target=\"_blank\">\u30c7\u30e2\u30da\u30fc\u30b8\u306f\u3001\u3053\u3061\u3089<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>jQuely\u306e\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\u306b\u3082\u8272\u3005\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u3061\u3089\u306f\u524d\u5f8c\u306e\u753b\u50cf\u304c\u4e21\u7aef\u304b\u3089\u30c1\u30e9\u30ea\u3068\u8997\u304f\u30bf\u30a4\u30d7\u266a \u305d\u306e\u307e\u307e\u3067\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u306a\u306e\u3067\u4f7f\u3044\u52dd\u624b\u3082\u3044\u3044\u611f\u3058\u3067\u3059\u306d\uff01 \u4eca\u56de\u4f7f\u7528\u3057\u305f\u306e\u306f\u3001slick.js\u3067\u3059\u3002 \u53c2\u8003\u30b5\u30a4\u30c8\u69d8\u306b\u306f\u4ed6\u306b [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/posts\/702"}],"collection":[{"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/comments?post=702"}],"version-history":[{"count":7,"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/posts\/702\/revisions"}],"predecessor-version":[{"id":709,"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/posts\/702\/revisions\/709"}],"wp:attachment":[{"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/media?parent=702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/categories?post=702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/tags?post=702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}