<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kikiki-kiki</author_name>
  <author_url>https://blog.hatena.ne.jp/kikiki-kiki/</author_url>
  <blog_title>かもメモ</blog_title>
  <blog_url>https://chaika.hatenablog.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>jQuery</anon>
    <anon>Google Analytics</anon>
  </categories>
  <description>1ページの長いサイトを作っていてページがロードされた時にパラメータに合わせて該当する場所に予めスクロールさせたいと思い下記のようなコードを書いていました。 jQuery(function($) { (function(w, d) { var hash = w.location.hash; var $area; // ロード時に表示させるエリア /* hashに該当するエリアを取得する処理 */ // 表示エリアの位置にスクロールさせておく $(w).scrollTop( $area.offset().top ); })(window, document); }); 新規にページを開いた時などは…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2015%2F02%2F13%2F042157&quot; title=&quot;Google Analyticsのスクリプトがあるとページをリロード直後の.scrollTop()が上手く動作しない？ - かもメモ&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>http://ecx.images-amazon.com/images/I/61-+P8corjL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-02-13 04:21:57</published>
  <title>Google Analyticsのスクリプトがあるとページをリロード直後の.scrollTop()が上手く動作しない？</title>
  <type>rich</type>
  <url>https://chaika.hatenablog.com/entry/2015/02/13/042157</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
