<?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: Show/Hide Content With CSS &amp; Javascript</title>
	<atom:link href="http://www.metatitan.com/css/18/showhide-content-with-css-javascript.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.metatitan.com/css/18/showhide-content-with-css-javascript.html</link>
	<description>Knowledge to help you build good websites</description>
	<pubDate>Thu, 11 Mar 2010 23:13:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: may</title>
		<link>http://www.metatitan.com/css/18/showhide-content-with-css-javascript.html/comment-page-1#comment-316</link>
		<dc:creator>may</dc:creator>
		<pubDate>Fri, 07 Nov 2008 15:01:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.metatitan.com/css/18/showhide-content-with-css-javascript.html#comment-316</guid>
		<description>Hi,
When I used it for more than one content , and when I click to "hide the content" it causes problem with explorer 7. The site is going down and there occurs a blank on the top :s Why is that and any solution there?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
When I used it for more than one content , and when I click to &#8220;hide the content&#8221; it causes problem with explorer 7. The site is going down and there occurs a blank on the top :s Why is that and any solution there?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaap</title>
		<link>http://www.metatitan.com/css/18/showhide-content-with-css-javascript.html/comment-page-1#comment-225</link>
		<dc:creator>Jaap</dc:creator>
		<pubDate>Fri, 11 Apr 2008 06:34:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.metatitan.com/css/18/showhide-content-with-css-javascript.html#comment-225</guid>
		<description>Hm... all in all I'm agree with you, but your readership... what are they gonna say about it?</description>
		<content:encoded><![CDATA[<p>Hm&#8230; all in all I&#8217;m agree with you, but your readership&#8230; what are they gonna say about it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: keven</title>
		<link>http://www.metatitan.com/css/18/showhide-content-with-css-javascript.html/comment-page-1#comment-210</link>
		<dc:creator>keven</dc:creator>
		<pubDate>Thu, 31 Jan 2008 19:13:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.metatitan.com/css/18/showhide-content-with-css-javascript.html#comment-210</guid>
		<description>I usually don't declare the 'display:'

My script is exactly like yours except this line:

document.getElementById(content).style.display = 
'block'

I will write as so:

document.getElementById(content).style.display = ''</description>
		<content:encoded><![CDATA[<p>I usually don&#8217;t declare the &#8216;display:&#8217;</p>
<p>My script is exactly like yours except this line:</p>
<p>document.getElementById(content).style.display =<br />
&#8216;block&#8217;</p>
<p>I will write as so:</p>
<p>document.getElementById(content).style.display = &#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shelly</title>
		<link>http://www.metatitan.com/css/18/showhide-content-with-css-javascript.html/comment-page-1#comment-201</link>
		<dc:creator>Shelly</dc:creator>
		<pubDate>Thu, 03 Jan 2008 06:34:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.metatitan.com/css/18/showhide-content-with-css-javascript.html#comment-201</guid>
		<description>I know this is simple but I got lost on this 
"Now you can effectively show/hide content by placing id=”elementname” style=”display:none;” inside the element tag you wish to be toggle-able, and  onclick=”shToggle(’elementname‘); return false;” inside the link code of the image or text the user clicks to toggle it."
where is the "link code of the text" . What  and where is the element tag? do I put the "id="..on the css style sheet? I know my questions is dumb, I know where to insert the code in the header and the code where I want the content revealed, but i can' get where to put the id thing you are talking about.

You say to look at the code snippet below and I did but there is no code such as you describe in the snippet you say to look at.

any help appreciated. daybyday@sisna.com</description>
		<content:encoded><![CDATA[<p>I know this is simple but I got lost on this<br />
&#8220;Now you can effectively show/hide content by placing id=”elementname” style=”display:none;” inside the element tag you wish to be toggle-able, and  onclick=”shToggle(’elementname‘); return false;” inside the link code of the image or text the user clicks to toggle it.&#8221;<br />
where is the &#8220;link code of the text&#8221; . What  and where is the element tag? do I put the &#8220;id=&#8221;..on the css style sheet? I know my questions is dumb, I know where to insert the code in the header and the code where I want the content revealed, but i can&#8217; get where to put the id thing you are talking about.</p>
<p>You say to look at the code snippet below and I did but there is no code such as you describe in the snippet you say to look at.</p>
<p>any help appreciated. <a href="mailto:daybyday@sisna.com">daybyday@sisna.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moin Uddin</title>
		<link>http://www.metatitan.com/css/18/showhide-content-with-css-javascript.html/comment-page-1#comment-173</link>
		<dc:creator>Moin Uddin</dc:creator>
		<pubDate>Sun, 18 Nov 2007 10:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.metatitan.com/css/18/showhide-content-with-css-javascript.html#comment-173</guid>
		<description>I search more than 1 hour for this.
Really thanks.</description>
		<content:encoded><![CDATA[<p>I search more than 1 hour for this.<br />
Really thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse</title>
		<link>http://www.metatitan.com/css/18/showhide-content-with-css-javascript.html/comment-page-1#comment-153</link>
		<dc:creator>Jesse</dc:creator>
		<pubDate>Thu, 08 Nov 2007 23:28:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.metatitan.com/css/18/showhide-content-with-css-javascript.html#comment-153</guid>
		<description>kinda 'cheap but you can also do:

document.getElementById('DIV_ID').innerHTML='';</description>
		<content:encoded><![CDATA[<p>kinda &#8216;cheap but you can also do:</p>
<p>document.getElementById(&#8217;DIV_ID&#8217;).innerHTML=&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neon Knight</title>
		<link>http://www.metatitan.com/css/18/showhide-content-with-css-javascript.html/comment-page-1#comment-116</link>
		<dc:creator>Neon Knight</dc:creator>
		<pubDate>Wed, 31 Oct 2007 20:23:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.metatitan.com/css/18/showhide-content-with-css-javascript.html#comment-116</guid>
		<description>I use a similar script in my pages. To extend this script to toggle other elements (such as a table row) you need to set the display style to it's own setting. I.e. a tr will need to be set to 'table-row', a td to 'table-cell' etc. See http://www.w3schools.com/css/pr_class_display.asp for other options.

However, this throws an error in IE. So you need to either put each statement in a try/catch block, or be more clever about browser detection to determine the correct method.</description>
		<content:encoded><![CDATA[<p>I use a similar script in my pages. To extend this script to toggle other elements (such as a table row) you need to set the display style to it&#8217;s own setting. I.e. a tr will need to be set to &#8216;table-row&#8217;, a td to &#8216;table-cell&#8217; etc. See <a href="http://www.w3schools.com/css/pr_class_display.asp" rel="nofollow">http://www.w3schools.com/css/pr_class_display.asp</a> for other options.</p>
<p>However, this throws an error in IE. So you need to either put each statement in a try/catch block, or be more clever about browser detection to determine the correct method.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
