<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>jQuery</anon>
  </categories>
  <description>最初の要素の、ドキュメント上での表示位置を返す。 戻り値のオブジェクトはtopとleftの2つの数値を持つ。 この関数は、可視状態にある要素に対してのみ有効である。 (つまりhideとかで隠された要素については無効)こんな風に要素についてoffsetを使うと、表示位置を取得できる。 var p = $(&quot;p:last&quot;); var offset = p.offset(); p.html( &quot;left: &quot; + offset.left + &quot;, top: &quot; + offset.top ); offset() - jQuery 日本語リファレンス</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20120608%2F1339151071&quot; title=&quot;offset - by shigemk2&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>2012-06-08 19:24:31</published>
  <title>offset</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/20120608/1339151071</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
