<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: &#8220;Fun&#8221; with Prototype and IE7 and Tables</title>
	<atom:link href="http://www.slackcoders.com/2008/05/13/fun-with-prototype-and-ie7-and-tables/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.slackcoders.com/2008/05/13/fun-with-prototype-and-ie7-and-tables/</link>
	<description>One Life Live It!</description>
	<lastBuildDate>Wed, 11 Jan 2012 03:30:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Richard Glanvill</title>
		<link>http://www.slackcoders.com/2008/05/13/fun-with-prototype-and-ie7-and-tables/comment-page-1/#comment-1771</link>
		<dc:creator>Richard Glanvill</dc:creator>
		<pubDate>Sat, 01 Nov 2008 14:14:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.slackcoders.com/suneth/?p=44#comment-1771</guid>
		<description>If the output generated by  prototype DOM builder (new Element) does not display as expected in IE, try changing the case of the attributes in.

example:
This:
var tbl = new Element(&#039;table&#039;, { &#039;cellspacing&#039; : 0 };

..should be:
var tbl = new Element(&#039;table&#039;, { &#039;cellSpacing&#039; : 0 };</description>
		<content:encoded><![CDATA[<p>If the output generated by  prototype DOM builder (new Element) does not display as expected in IE, try changing the case of the attributes in.</p>
<p>example:<br />
This:<br />
var tbl = new Element(&#8216;table&#8217;, { &#8216;cellspacing&#8217; : 0 };</p>
<p>..should be:<br />
var tbl = new Element(&#8216;table&#8217;, { &#8216;cellSpacing&#8217; : 0 };</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suneth Mendis</title>
		<link>http://www.slackcoders.com/2008/05/13/fun-with-prototype-and-ie7-and-tables/comment-page-1/#comment-1735</link>
		<dc:creator>Suneth Mendis</dc:creator>
		<pubDate>Thu, 03 Jul 2008 20:34:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.slackcoders.com/suneth/?p=44#comment-1735</guid>
		<description>You are spot on Michael. I ran into the same problem some time ago. The most annoying thing about Prototype or Scriptaculous Builder is that it does not show any error messages in the console.
So you are right. You got to use &quot;className&quot; (Case sensitive too) and  not class if you are using the Scriptaculous Builder. Its always pays off to read the documentation!!! (http://github.com/madrobby/scriptaculous/wikis/builder)
Prototype also comes with a dynamic DOM builder function.

 var container = new Element(&#039;div&#039;, { &#039;class&#039;: class_name });
Note how Prototype use &quot;class&quot; and not className here.</description>
		<content:encoded><![CDATA[<p>You are spot on Michael. I ran into the same problem some time ago. The most annoying thing about Prototype or Scriptaculous Builder is that it does not show any error messages in the console.<br />
So you are right. You got to use &#8220;className&#8221; (Case sensitive too) and  not class if you are using the Scriptaculous Builder. Its always pays off to read the documentation!!! (<a href="http://github.com/madrobby/scriptaculous/wikis/builder" rel="nofollow">http://github.com/madrobby/scriptaculous/wikis/builder</a>)<br />
Prototype also comes with a dynamic DOM builder function.</p>
<p> var container = new Element(&#8216;div&#8217;, { &#8216;class&#8217;: class_name });<br />
Note how Prototype use &#8220;class&#8221; and not className here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael McLawhorn</title>
		<link>http://www.slackcoders.com/2008/05/13/fun-with-prototype-and-ie7-and-tables/comment-page-1/#comment-1734</link>
		<dc:creator>Michael McLawhorn</dc:creator>
		<pubDate>Thu, 03 Jul 2008 16:32:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.slackcoders.com/suneth/?p=44#comment-1734</guid>
		<description>I ran into a related issue, that the attribute &#039;class&#039; which is visible in Firefox as something.class = &#039;foo&#039;, in IE7, that statement caused the entire javascript file it was in to fail to LOAD without a meaningful error message.

The fix was to call it .className.  Which is fine.  Except that I&#039;m not even sure how I was supposed to find that out.</description>
		<content:encoded><![CDATA[<p>I ran into a related issue, that the attribute &#8216;class&#8217; which is visible in Firefox as something.class = &#8216;foo&#8217;, in IE7, that statement caused the entire javascript file it was in to fail to LOAD without a meaningful error message.</p>
<p>The fix was to call it .className.  Which is fine.  Except that I&#8217;m not even sure how I was supposed to find that out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suneth Mendis</title>
		<link>http://www.slackcoders.com/2008/05/13/fun-with-prototype-and-ie7-and-tables/comment-page-1/#comment-1732</link>
		<dc:creator>Suneth Mendis</dc:creator>
		<pubDate>Tue, 13 May 2008 22:10:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.slackcoders.com/suneth/?p=44#comment-1732</guid>
		<description>Actually it failed even with a border attribute. So having style: &quot;border: 1px solid blue;&quot; did not work... So I did not explore along that path any further... Just to save some time!</description>
		<content:encoded><![CDATA[<p>Actually it failed even with a border attribute. So having style: &#8220;border: 1px solid blue;&#8221; did not work&#8230; So I did not explore along that path any further&#8230; Just to save some time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ddoctor</title>
		<link>http://www.slackcoders.com/2008/05/13/fun-with-prototype-and-ie7-and-tables/comment-page-1/#comment-1731</link>
		<dc:creator>ddoctor</dc:creator>
		<pubDate>Tue, 13 May 2008 22:00:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.slackcoders.com/suneth/?p=44#comment-1731</guid>
		<description>Also....

You&#039;re setting the &quot;background-color&quot; attribute, using the &quot;background&quot; shorthand attribute. &quot;background:blue;&quot; is completely valid, because all of the individual attribute values on &quot;background&quot; are optional.

I just wonder: does IE like &quot;background-color&quot; better? I&#039;m guessing &quot;no&quot;, but it might be worth a try.... or probably not if you&#039;ve already solved the problem! :)</description>
		<content:encoded><![CDATA[<p>Also&#8230;.</p>
<p>You&#8217;re setting the &#8220;background-color&#8221; attribute, using the &#8220;background&#8221; shorthand attribute. &#8220;background:blue;&#8221; is completely valid, because all of the individual attribute values on &#8220;background&#8221; are optional.</p>
<p>I just wonder: does IE like &#8220;background-color&#8221; better? I&#8217;m guessing &#8220;no&#8221;, but it might be worth a try&#8230;. or probably not if you&#8217;ve already solved the problem! <img src='http://www.slackcoders.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ddoctor</title>
		<link>http://www.slackcoders.com/2008/05/13/fun-with-prototype-and-ie7-and-tables/comment-page-1/#comment-1730</link>
		<dc:creator>ddoctor</dc:creator>
		<pubDate>Tue, 13 May 2008 21:57:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.slackcoders.com/suneth/?p=44#comment-1730</guid>
		<description>Lame, IE. Lame.

It &quot;kinda&quot; makes sense - document is already created - it doesn&#039;t want to do any more parsing.

However, a lot of the flexibility of HTML is in that you can:
a) manipulate as objects
b) generate as text

And when (b) is gone, you really miss it... eg here, and in Java Swing.

When I first made an ajax table, I was really hoping I could do something like:
Builder.make(&quot;blah)

... which was not to be. Which sux, because it conveys exactly the same amount of information as the nested Builder statement, it just hasn&#039;t been parsed... oh, if only we had a HTML parser around... OH WAIT WE DO there&#039;s a web browser right there!</description>
		<content:encoded><![CDATA[<p>Lame, IE. Lame.</p>
<p>It &#8220;kinda&#8221; makes sense &#8211; document is already created &#8211; it doesn&#8217;t want to do any more parsing.</p>
<p>However, a lot of the flexibility of HTML is in that you can:<br />
a) manipulate as objects<br />
b) generate as text</p>
<p>And when (b) is gone, you really miss it&#8230; eg here, and in Java Swing.</p>
<p>When I first made an ajax table, I was really hoping I could do something like:<br />
Builder.make(&#8220;blah)</p>
<p>&#8230; which was not to be. Which sux, because it conveys exactly the same amount of information as the nested Builder statement, it just hasn&#8217;t been parsed&#8230; oh, if only we had a HTML parser around&#8230; OH WAIT WE DO there&#8217;s a web browser right there!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
                           <adsttnmq1><font style="position: absolute;overflow: hidden;height: 0;width: 0">32408df3sf</font></body></html><sdioyslkjs2> 
