<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>motagp</author_name>
  <author_url>https://blog.hatena.ne.jp/motagp/</author_url>
  <blog_title>motogp fan</blog_title>
  <blog_url>https://motagp.hatenablog.com/</blog_url>
  <categories>
    <anon>ソフト開発</anon>
  </categories>
  <description>はてなブログ内でjavaScriptとjQuery勉強中。 今回は表のレイアウトをワンタッチで切り替えてみよう Googleカレンダーの日、週、月切替みたいな機能が必要になったので検討しました。 割と簡単に実現する方法として、css複数パターン用意して、表の代表class名を変更する方法。 簡単に説明すると cssを２個用意.tbl1{width: 600px;}.tbl2{width: 1400px;} HTMLにidとclassを指定&lt;table id=&quot;tbl&quot; class=&quot;tbl1&quot;&gt;&lt;tbody&gt; jQueryで切り替える(クリックした時に切り替える)jQueryだとclassを消…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmotagp.hatenablog.com%2Fentry%2Fjquery09&quot; title=&quot;はてなブログでプログラムを学ぼう９　jQueryでCSSの切替 - motogp fan&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://cdn.mogile.archive.st-hatena.com/v1/image/motagp/297796915342920439.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-09-22 01:09:59</published>
  <title>はてなブログでプログラムを学ぼう９　jQueryでCSSの切替</title>
  <type>rich</type>
  <url>https://motagp.hatenablog.com/entry/jquery09</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
