<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>misos</author_name>
  <author_url>https://blog.hatena.ne.jp/misos/</author_url>
  <blog_title>めも</blog_title>
  <blog_url>https://paper.hatenadiary.jp/</blog_url>
  <categories>
    <anon>javascript</anon>
    <anon>html</anon>
    <anon>コード</anon>
  </categories>
  <description>この記事は何 作成方法 サイドバーに要素を追加 css javascript 参考文献 この記事は何 スクロールに追従する目次や広告をたまに見かけますが、同じものを実現したかったので実装方法を調べました。 このサイトの広告もスクロールしたら追従するようにしました。 ※要素のID名・cssの指定方法・要素の高さ変更はブログや使用しているテンプレートに従って適宜変更する必要があるので注意してください 作成方法 サイドバーに要素を追加 はてなブログのサイドバーに広告を貼り付ける領域を追加します。どこに追加したかによって後のcssの div.hatena-module:nth-last-child(2…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpaper.hatenadiary.jp%2Fentry%2F2021%2F06%2F17%2F200000&quot; title=&quot;はてなブログのサイドバーにスクロールに追従するコンテンツを置く - めも&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>https://cdn-ak.f.st-hatena.com/images/fotolife/m/misos/20210617/20210617124147.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-06-17 20:00:00</published>
  <title>はてなブログのサイドバーにスクロールに追従するコンテンツを置く</title>
  <type>rich</type>
  <url>https://paper.hatenadiary.jp/entry/2021/06/17/200000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
