{"id":5213,"date":"2019-03-26T21:55:41","date_gmt":"2019-03-26T12:55:41","guid":{"rendered":"http:\/\/tcd-manual.net\/?p=5213"},"modified":"2023-06-23T23:50:08","modified_gmt":"2023-06-23T14:50:08","slug":"tcd%e3%83%86%e3%83%bc%e3%83%9eoops%ef%bc%81%ef%bc%9a%e3%82%b9%e3%83%a0%e3%83%bc%e3%82%ba%e3%82%b9%e3%82%af%e3%83%ad%e3%83%bc%e3%83%ab%e3%81%8c%e3%81%86%e3%81%be%e3%81%8f%e5%8b%95%e4%bd%9c%e3%81%97","status":"publish","type":"post","link":"https:\/\/tcd-manual.net\/?p=5213","title":{"rendered":"TCD\u30c6\u30fc\u30deOOPS\uff01\uff1a\u30b9\u30e0\u30fc\u30ba\u30b9\u30af\u30ed\u30fc\u30eb\u304c\u3046\u307e\u304f\u52d5\u4f5c\u3057\u306a\u3044\u5834\u5408\u306e\u5bfe\u51e6\u65b9\u6cd5"},"content":{"rendered":"<h4 class=\"style_headline2\">Q.\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u30b9\u30e0\u30fc\u30ba\u30b9\u30af\u30ed\u30fc\u30eb\u304c\u52d5\u304d\u307e\u305b\u3093\u3002<\/h4>\n<h4 class=\"style_headline2\">A.\u4e0b\u8a18\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/h4>\n<h5 class=\"style_headline3\">1. \u30ab\u30b9\u30bf\u30e0\u30ea\u30f3\u30af\u306eURL\u8a2d\u5b9a\u5185\u5bb9\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/h5>\n<p>\u5916\u89b3\uff1e\u30e1\u30cb\u30e5\u30fc\u3067\u3001\u30ab\u30b9\u30bf\u30e0\u30ea\u30f3\u30af\u306eURL\u3092\u300c\u30b5\u30a4\u30c8\u540d\/#cb_\u25cf\u300d\u3067\u306f\u306a\u304f\u3001\u300c#cb_\u25cf\u300d\u306e\u307f\u306e\u8a18\u8f09\u3068\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u25bc\u8a2d\u5b9a\u7b87\u6240\uff08\u8d64\uff1aNG\u3000\u7dd1\uff1aOK\uff09<br \/>\n<img decoding=\"async\" src=\"https:\/\/tcd-manual.net\/wp-content\/uploads\/2019\/03\/oops_custom-menu.jpg\" alt=\"\u4fee\u6b63\u7b87\u6240\u30a4\u30e1\u30fc\u30b8\" \/><\/p>\n<h5 class=\"style_headline3\">2. \u30c6\u30fc\u30de\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u300c\u30d8\u30c3\u30c0\u30fc\u300d\u8a2d\u5b9a\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/h5>\n<p>TCD\u30c6\u30fc\u30de\uff1e\u30d8\u30c3\u30c0\u30fc\uff1e\u30d8\u30c3\u30c0\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3067\u3001\u300c\u30da\u30fc\u30b8\u4e0a\u90e8\u306b\u56fa\u5b9a\u8868\u793a\u300d\u306b\u30c1\u30a7\u30c3\u30af\u304c\u5165\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/tcd-manual.net\/wp-content\/uploads\/2019\/03\/oops_index_scroll_troubleshoot01.jpg\" alt=\"\" width=\"800\" height=\"708\" class=\"alignnone size-full wp-image-11892\" srcset=\"https:\/\/tcd-manual.net\/wp-content\/uploads\/2019\/03\/oops_index_scroll_troubleshoot01.jpg 800w, https:\/\/tcd-manual.net\/wp-content\/uploads\/2019\/03\/oops_index_scroll_troubleshoot01-300x266.jpg 300w, https:\/\/tcd-manual.net\/wp-content\/uploads\/2019\/03\/oops_index_scroll_troubleshoot01-768x680.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\n<h5 class=\"style_headline3\">3. \u30c6\u30fc\u30de\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u300c\u30ed\u30fc\u30c9\u753b\u9762\u300d\u8a2d\u5b9a\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/h5>\n<p>TCD\u30c6\u30fc\u30de\uff1e\u57fa\u672c\u8a2d\u5b9a\uff1e\u30ed\u30fc\u30c9\u753b\u9762\u306e\u8a2d\u5b9a\u3067\u3001<br \/>\n\u300c\u30ed\u30fc\u30c9\u753b\u9762\u3092\u8868\u793a\u3059\u308b\u300d\u306e\u30c1\u30a7\u30c3\u30af\u304c\u5165\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u5916\u3057\u3066\u3044\u305f\u3060\u304d\u3001\u8868\u793a\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<br \/>\n\uff08\u57fa\u672c\u7684\u306b\u306f\u3001\u30c1\u30a7\u30c3\u30af\u306e\u6709\u7121\u306b\u95a2\u308f\u3089\u305a\u30b9\u30e0\u30fc\u30ba\u30b9\u30af\u30ed\u30fc\u30eb\u304c\u52d5\u4f5c\u3057\u307e\u3059\u3002\uff09<\/p>\n<h5 class=\"style_headline3\">4. \u30c6\u30fc\u30de\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8ff0\u3092\u8ffd\u52a0\u304f\u3060\u3055\u3044\u3002<\/h5>\n<p>\u300c1.\u300d\uff5e\u300c3.\u300d\u3092\u884c\u3063\u3066\u3082\u52b9\u679c\u304c\u306a\u3044\u5834\u5408\u306f\u3001\u4e0b\u8a18\u306e\u3068\u304a\u308a\u30c6\u30fc\u30de\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u3054\u5bfe\u5fdc\u304f\u3060\u3055\u3044\u3002<br \/>\n\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1aheader.php<br \/>\n\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a27\u884c\u76ee\u4ed8\u8fd1\u306e&lt;\/head&gt;\u524d\u306b\u3001\u4e0b\u8a18\u306e\u8a18\u8ff0\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;script&gt;\r\njQuery(function(){\r\n   jQuery('.p-global-nav a&#x5B;href^=&quot;#&quot;]').click(function() {\r\n      var speed = 800;\r\n      var href= jQuery(this).attr(&quot;href&quot;);\r\n      var target = jQuery(href == &quot;#&quot; || href == &quot;&quot; ? 'html' : href);\r\n      var position = target.offset().top;\r\n      jQuery('body,html').animate({scrollTop:position}, speed, 'swing');\r\n      return false;\r\n   });\r\n});\r\n&lt;\/script&gt;\r\n<\/pre>\n<p>\u88dc\u8db31 \uff09var speed = 800; \u30b9\u30af\u30ed\u30fc\u30eb\u901f\u5ea6\u30df\u30ea\u79d2\u306e\u6570\u5024\u306f\u5909\u66f4\u9802\u3051\u307e\u3059\u3002<br \/>\n\u88dc\u8db32 \uff09\u57fa\u672c\u7684\u306b\u306f\u3001\u4e0a\u8a18\u306e\u8ffd\u52a0\u8a18\u8ff0\u3092\u9802\u304b\u306a\u304f\u3068\u3082\u5f53\u30c6\u30fc\u30de\u3067\u306f\u30da\u30fc\u30b8\u5185\u30ea\u30f3\u30af\u306b\u30b9\u30e0\u30fc\u30ba\u30b9\u30af\u30ed\u30fc\u30eb\u304c\u9069\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<h5 class=\"style_headline3\">5. \u300c4.\u300d\u306e\u5185\u5bb9\u3067\u4e0d\u5177\u5408\u304c\u8d77\u304d\u305f\u5834\u5408<\/h5>\n<p>\u300c3.\u300d\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u3066\u610f\u56f3\u305b\u305a\u30da\u30fc\u30b8\u4e00\u756a\u4e0a\u306b\u623b\u308b\u52d5\u4f5c\u304c\u8d77\u304d\u3066\u3057\u307e\u3046\u3068\u3044\u3063\u305f\u5834\u5408\u306f\u3001\u300c3.\u300d\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u5185\u5bb9\u3092\u4e0b\u8a18\u306b\u66f8\u304d\u63db\u3048\u3066\u8868\u793a\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<br \/>\n&nbsp;<br \/>\n\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1aheader.php<br \/>\n\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a27\u884c\u76ee\u4ed8\u8fd1\u306e\/head\u524d\u306b\u3001\u4e0b\u8a18\u306e\u8a18\u8ff0\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;script&gt;\r\njQuery(function(){\r\n   jQuery('.p-global-nav a&#x5B;href^=&quot;#&quot;]').click(function() {\r\n      var speed = 800;\r\n      var href= jQuery(this).attr(&quot;href&quot;);\r\n      var target = jQuery(href == &quot;#&quot; || href == &quot;&quot; ? 'html' : href);\r\n      var position = target.offset().top;\r\n      jQuery('body,html').animate({scrollTop:position}, speed, 'swing');\r\n      return false;\r\n   });\r\n});\r\n&lt;\/script&gt;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"Q.\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u30b9\u30e0\u30fc\u30ba\u30b9\u30af\u30ed\u30fc\u30eb\u304c\u52d5\u304d\u307e\u305b\u3093\u3002 A.\u4e0b\u8a18\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002 1. \u30ab\u30b9\u30bf\u30e0\u30ea\u30f3\u30af\u306eURL\u8a2d\u5b9a\u5185\u5bb9\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002 \u5916\u89b3\uff1e\u30e1\u30cb\u30e5\u30fc\u3067\u3001\u30ab\u30b9\u30bf\u30e0\u30ea\u30f3\u30af\u306eURL\u3092\u300c\u30b5\u30a4\u30c8\u540d\/#cb_\u25cf\u300d\u3067\u306f\u306a\u304f\u3001\u300c#cb [&hellip;]","protected":false},"author":16,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[478],"tags":[691,692,223],"class_list":["post-5213","post","type-post","status-publish","format-standard","hentry","category-tcd048","tag-jquery","tag-692","tag-223"],"_links":{"self":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/5213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5213"}],"version-history":[{"count":0,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/5213\/revisions"}],"wp:attachment":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}