<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lesamoureuses</author_name>
  <author_url>https://blog.hatena.ne.jp/lesamoureuses/</author_url>
  <blog_title>こんにちはこんにちはmonmonです！</blog_title>
  <blog_url>https://monmon.hateblo.jp/</blog_url>
  <categories>
    <anon>jQuery</anon>
    <anon>JavaScript</anon>
  </categories>
  <description>jQuery使って$(document).width()でページ全体の幅が取得できるのは知ってたのだけど、 表示されてる幅の表示方法がわからなくて試行錯誤してた。 仕方ないからその部分だけ自分でクロスブラウザ用のコード書いてたり。 で、もう一回ググってみたらあった。 jQuery のお勉強 (practice input output) ｊQueryでユーザーのブラウザ表示幅を取得するには、width()$(window).width()を使う。例）var width = $(window).width();alert(width);でブラウザ表示幅を取得する$(document).width…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmonmon.hateblo.jp%2Fentry%2F20080602%2F1212417221&quot; title=&quot;$(window).width()で表示幅、$(document).width()でドキュメント幅（ページ全体の幅） - こんにちはこんにちはmonmonです！&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>2008-06-02 23:33:41</published>
  <title>$(window).width()で表示幅、$(document).width()でドキュメント幅（ページ全体の幅）</title>
  <type>rich</type>
  <url>https://monmon.hateblo.jp/entry/20080602/1212417221</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
