<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Pragmatic Forums | Posts in topic 'Meter example on page 40 doesn't work'</title>
    <link>/forums/150/topics/4921.rss</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Meter example on page 40 doesn't work posted by Brian P. Hogan @ Wed, 11 Aug 2010 04:43:46 +0000</title>
      <description>&lt;p&gt;It&amp;#8217;s a great question. The thing is, like the html5 color form field, which also isn&amp;#8217;t implemented anywhere, using the meter element as semantic markup to describe the content doesn&amp;#8217;t actually break anything on browsers that don&amp;#8217;t support it. I don&amp;#8217;t think I did a good enough job of explaining that, and to that end, I&amp;#8217;m sorry I wasted your time. I&amp;#8217;ve reread the tip and I think there are a few things I can do to help get that point across better.&lt;/p&gt;


	&lt;p&gt;Thanks for reading, and for your feedback.&lt;/p&gt;</description>
      <pubDate>Wed, 11 Aug 2010 04:43:46 +0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:150:4921:17319</guid>
      <author>Brian P. Hogan</author>
      <link>http://forums.pragprog.com/forums/150/topics/4921</link>
    </item>
    <item>
      <title>Meter example on page 40 doesn't work posted by Andrew de Andrade @ Tue, 10 Aug 2010 21:40:49 +0000</title>
      <description>&lt;p&gt;Ohhhh, I think I get it now. I just reread your reply.&lt;/p&gt;


	&lt;p&gt;Let&amp;#8217;s me see if I got this right, none of the browsers have yet implemented &lt;code&gt;&amp;lt;meter&amp;gt;&lt;/code&gt;?&lt;/p&gt;


	&lt;p&gt;If this is the case, why did you include it in the book, especially so early in the text? I know that the book is being written on a spec currently being defined by &lt;span class="caps"&gt;WHAT&lt;/span&gt;-WG, but it would seem to me that it would be best to only write about &lt;span class="caps"&gt;HTML5&lt;/span&gt; that have been implemented by at least one of the browser makers.&lt;/p&gt;</description>
      <pubDate>Tue, 10 Aug 2010 21:40:49 +0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:150:4921:17307</guid>
      <author>Andrew de Andrade</author>
      <link>http://forums.pragprog.com/forums/150/topics/4921</link>
    </item>
    <item>
      <title>Meter example on page 40 doesn't work posted by Andrew de Andrade @ Tue, 10 Aug 2010 21:31:16 +0000</title>
      <description>&lt;p&gt;Javascript is enabled in all browsers.&lt;/p&gt;


	&lt;p&gt;First, I tried typing the example/exercise by hand without any jquery fallback method, but after I got frustrated I went ahead and downloaded the code directly from PragProg. I opened it in all browsers and it looked as it should. Next, I commented out the link to jquery in the head to &amp;#8220;break&amp;#8221; the fallback method and see if it would render using html5. Once I did that, I ended up with the same result as when I had personally coded up the meter.&lt;/p&gt;


	&lt;p&gt;I get the exact same in all browsers I listed above. The meter works via javascript fallback but fails when using &lt;span class="caps"&gt;HTML5&lt;/span&gt; alone.&lt;/p&gt;


	&lt;p&gt;here&amp;#8217;s a screen shot of what I get in every browser after stripping all the javascript from the files I downloaded from pragprog.&lt;br /&gt;&lt;a href="http://skitch.com/malandrew/dtc13/dock"&gt;http://skitch.com/malandrew/dtc13/dock&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 10 Aug 2010 21:36:26 +0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:150:4921:17306</guid>
      <author>Andrew de Andrade</author>
      <link>http://forums.pragprog.com/forums/150/topics/4921</link>
    </item>
    <item>
      <title>Meter example on page 40 doesn't work posted by Brian P. Hogan @ Tue, 10 Aug 2010 21:13:48 +0000</title>
      <description>&lt;p&gt;I&amp;#8217;m not sure I follow. If you disable JavaScript, then the meter element cannot be styled in any browser right now, as no browser actulaly supports it. Removing jQuery will prevent any of the JavaScript from running, and so you&amp;#8217;re left with just the textual information.&lt;/p&gt;


	&lt;p&gt;&amp;#8220;Users without JavaScript enabled will still see the content we placed within the opening and closing meter element, which means we have to be mindful of what we place there. &amp;#8220;&lt;/p&gt;


	&lt;p&gt;Any suggestions on I can explain this better?&lt;/p&gt;</description>
      <pubDate>Tue, 10 Aug 2010 21:13:48 +0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:150:4921:17305</guid>
      <author>Brian P. Hogan</author>
      <link>http://forums.pragprog.com/forums/150/topics/4921</link>
    </item>
    <item>
      <title>Meter example on page 40 doesn't work posted by Andrew de Andrade @ Tue, 10 Aug 2010 21:07:05 +0000</title>
      <description>&lt;p&gt;For whatever reason I can&amp;#8217;t get the meter exercise on page 40 of b03 to work.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;m using &lt;span class="caps"&gt;OS X&lt;/span&gt; Snow Leopard and it doesn&amp;#8217;t work in any browser. Not Safari 5.01, not Chrome 5.0.375.125, Not Firefox 3.6.8, not Opera 10.60.&lt;/p&gt;


	&lt;p&gt;The best I&amp;#8217;ve gotten in some browsers is the meter styled exactly like the image on the top of page 39. However the moment I comment out the script link to jquery, the meter breaks, showing only the rectangular meter box and all labels, but not the green meter part.&lt;/p&gt;


	&lt;p&gt;Any ideas on why this might be happening? I&amp;#8217;ve looked around and can&amp;#8217;t seem to figure out the root cause.&lt;br /&gt;Thanks!&lt;/p&gt;</description>
      <pubDate>Tue, 10 Aug 2010 21:07:05 +0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:150:4921:17304</guid>
      <author>Andrew de Andrade</author>
      <link>http://forums.pragprog.com/forums/150/topics/4921</link>
    </item>
  </channel>
</rss>
