<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ofsilvers</author_name>
  <author_url>https://blog.hatena.ne.jp/ofsilvers/</author_url>
  <blog_title>しるてく</blog_title>
  <blog_url>https://ofsilvers.hateblo.jp/</blog_url>
  <categories>
    <anon>javascript</anon>
  </categories>
  <description>スマートフォンでリンクがクリックしづらい問題がある。 &lt;div&gt;&lt;a href=&quot;#&quot;&gt;hoge&lt;/a&gt;&lt;/div&gt; とかなら a { display: block; } と書くだけでお気軽にクリック領域を広げられるのですが、 &lt;div&gt;ほげほげー。詳しくは&lt;a href=&quot;#&quot;&gt;こちら&lt;/a&gt;でみてね。ほげほげー&lt;/div&gt; みたいなのだと上のやり方は通用しないので、divをクリックしたらいい感じにページ遷移してくれる君を作る必要がある。 jQueryを使う場合 $(&quot;div&quot;).click(function(){ window.location = $(this).find(a).attr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fofsilvers.hateblo.jp%2Fentry%2Fjs-linkable-tag&quot; title=&quot;aタグを子に持つdivとかをリンカブルにしたい - しるてく&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-08-07 08:00:41</published>
  <title>aタグを子に持つdivとかをリンカブルにしたい</title>
  <type>rich</type>
  <url>https://ofsilvers.hateblo.jp/entry/js-linkable-tag</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
