<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>leader22</author_name>
  <author_url>https://blog.hatena.ne.jp/leader22/</author_url>
  <blog_title>console.lealog();</blog_title>
  <blog_url>https://lealog.hateblo.jp/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>WordPress</anon>
  </categories>
  <description>jQueryさんほんと便利ですね。 WordPressで固定ページのURLによって、ナビゲーションリストのCSSを切り替えるスクリプトを書いてみました。目指せWeb屋さんの第一歩！ 作ったもの Wordpressには固定ページを追加できる機能があります。 その追加したページに対して、現在地を知らせてあげるタブメニューを設置したかったのです。 トップ ブログ 固定ページ1 固定ページ2 みたいな時に。 ※注：後述しますが、こんなもの書かなくてもWordpress様は良く出来てます＋プラグインもあったりします・・・。 ソース //現在のURLからナビゲーションのリスト要素のcssを変更するスクリプ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flealog.hateblo.jp%2Fentry%2F2011%2F11%2F24%2F235308&quot; title=&quot;URLによって、ナビゲーションリストのCSSを切り替えるスクリプト - console.lealog();&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-11-24 23:53:08</published>
  <title>URLによって、ナビゲーションリストのCSSを切り替えるスクリプト</title>
  <type>rich</type>
  <url>https://lealog.hateblo.jp/entry/2011/11/24/235308</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
