<?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: How to hide, show, or toggle your div</title>
	<atom:link href="http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/</link>
	<description>Random Snippets of Code and Ideas for any Web Developer</description>
	<lastBuildDate>Sat, 17 Jul 2010 11:08:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Eiolon</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-14088</link>
		<dc:creator>Eiolon</dc:creator>
		<pubDate>Wed, 14 Jul 2010 02:36:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-14088</guid>
		<description>I am using this script to toggle when a form is being shown.  However, when the form is submitted, if there is an error, the DIV disappears when the page reloads.  Any way to keep the DIV shown after the page is reloaded?</description>
		<content:encoded><![CDATA[<p>I am using this script to toggle when a form is being shown.  However, when the form is submitted, if there is an error, the DIV disappears when the page reloads.  Any way to keep the DIV shown after the page is reloaded?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Knix</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-13910</link>
		<dc:creator>Knix</dc:creator>
		<pubDate>Thu, 01 Jul 2010 07:02:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-13910</guid>
		<description>No problem =)

Allen</description>
		<content:encoded><![CDATA[<p>No problem =)</p>
<p>Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asmi</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-13909</link>
		<dc:creator>Asmi</dc:creator>
		<pubDate>Thu, 01 Jul 2010 07:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-13909</guid>
		<description>Hey thanks a lot.. tht solved my problem..</description>
		<content:encoded><![CDATA[<p>Hey thanks a lot.. tht solved my problem..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Knix</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-13908</link>
		<dc:creator>Knix</dc:creator>
		<pubDate>Thu, 01 Jul 2010 06:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-13908</guid>
		<description>Hi Asmi,

Make sure the css for your divs are set to:

&lt;code&gt;#yourDivIds {display: block;}&lt;/code&gt;

Allen</description>
		<content:encoded><![CDATA[<p>Hi Asmi,</p>
<p>Make sure the css for your divs are set to:</p>
<p><code>#yourDivIds {display: block;}</code></p>
<p>Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asmi</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-13906</link>
		<dc:creator>Asmi</dc:creator>
		<pubDate>Thu, 01 Jul 2010 06:41:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-13906</guid>
		<description>Hi i am working with toggle5 where plus and minus images are used for hiding and showing div. I hv created 3 such boxes.. n gave it diff ids. when u click minus button for the very first time it doesn&#039;t work however every click aft tht works fine.</description>
		<content:encoded><![CDATA[<p>Hi i am working with toggle5 where plus and minus images are used for hiding and showing div. I hv created 3 such boxes.. n gave it diff ids. when u click minus button for the very first time it doesn&#8217;t work however every click aft tht works fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mithila</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-13709</link>
		<dc:creator>Mithila</dc:creator>
		<pubDate>Wed, 16 Jun 2010 08:52:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-13709</guid>
		<description>Hello
I am having a toggling div tag. I want div tag to overlap contents below it. whenever it is visible it changes that row height to height of div tag.</description>
		<content:encoded><![CDATA[<p>Hello<br />
I am having a toggling div tag. I want div tag to overlap contents below it. whenever it is visible it changes that row height to height of div tag.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-13694</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Tue, 15 Jun 2010 13:24:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-13694</guid>
		<description>Thanks for compiling and usefully displaying all this info. Great learning resource :]</description>
		<content:encoded><![CDATA[<p>Thanks for compiling and usefully displaying all this info. Great learning resource :]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bobin</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-13692</link>
		<dc:creator>bobin</dc:creator>
		<pubDate>Tue, 15 Jun 2010 10:19:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-13692</guid>
		<description>Hi i am working with toggle5, is it possible to work link the text along with the + , - images?

I am using 13 instances, Thirteen has different texts

Please any help will the highly appreciated</description>
		<content:encoded><![CDATA[<p>Hi i am working with toggle5, is it possible to work link the text along with the + , &#8211; images?</p>
<p>I am using 13 instances, Thirteen has different texts</p>
<p>Please any help will the highly appreciated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aron</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-13427</link>
		<dc:creator>Aron</dc:creator>
		<pubDate>Wed, 02 Jun 2010 10:39:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-13427</guid>
		<description>thanks for the quick reply, i&#039;ll try that now</description>
		<content:encoded><![CDATA[<p>thanks for the quick reply, i&#8217;ll try that now</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Knix</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-13416</link>
		<dc:creator>Knix</dc:creator>
		<pubDate>Tue, 01 Jun 2010 21:44:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-13416</guid>
		<description>Hi Aron,

To start with the divs collapsed, simply edit your CSS so that the divs are hidden:

&lt;code&gt;#mydivId {
    display: none;
}&lt;/code&gt;

That should do it!</description>
		<content:encoded><![CDATA[<p>Hi Aron,</p>
<p>To start with the divs collapsed, simply edit your CSS so that the divs are hidden:</p>
<p><code>#mydivId {<br />
    display: none;<br />
}</code></p>
<p>That should do it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aron</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-13410</link>
		<dc:creator>Aron</dc:creator>
		<pubDate>Tue, 01 Jun 2010 14:51:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-13410</guid>
		<description>I&#039;m looking Toggle 3, is it possible to have it so when the site loads it starts collapsed?</description>
		<content:encoded><![CDATA[<p>I&#8217;m looking Toggle 3, is it possible to have it so when the site loads it starts collapsed?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-13094</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 03 May 2010 06:21:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-13094</guid>
		<description>Thank you for the onlyshowone multiple div script. I was able to use the same script to change the style of the links so that they change when the div changes. This was for thumbnail images that open a larger gallery image, so the thumbnail image has a border of one color when selected and another when unselected.

&lt;code&gt;
function change(link) {
	var th = document.getElementsByTagName(&quot;img&quot;);
		for(var i=0; i&lt;th.length; i++) {
			name = th[i].getAttribute(&quot;name&quot;);
			if (name == &#039;th&#039;) {
				if (th[i].id == link) {
				th[i].className = &#039;sel&#039;;
			}
			else {
				th[i].className = &#039;unsel&#039;;
			}
		}
	}
}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Thank you for the onlyshowone multiple div script. I was able to use the same script to change the style of the links so that they change when the div changes. This was for thumbnail images that open a larger gallery image, so the thumbnail image has a border of one color when selected and another when unselected.</p>
<p><code><br />
function change(link) {<br />
	var th = document.getElementsByTagName("img");<br />
		for(var i=0; i&lt;th.length; i++) {<br />
			name = th[i].getAttribute(&quot;name&quot;);<br />
			if (name == &#039;th&#039;) {<br />
				if (th[i].id == link) {<br />
				th[i].className = &#039;sel&#039;;<br />
			}<br />
			else {<br />
				th[i].className = &#039;unsel&#039;;<br />
			}<br />
		}<br />
	}<br />
}<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Heidi</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-12597</link>
		<dc:creator>Heidi</dc:creator>
		<pubDate>Mon, 29 Mar 2010 16:48:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-12597</guid>
		<description>Whoops, forgot to specify which code I was using! I&#039;m using the &quot;new&quot; demo, with only one div displayed at a time. (showonlyone)</description>
		<content:encoded><![CDATA[<p>Whoops, forgot to specify which code I was using! I&#8217;m using the &#8220;new&#8221; demo, with only one div displayed at a time. (showonlyone)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Heidi</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-12596</link>
		<dc:creator>Heidi</dc:creator>
		<pubDate>Mon, 29 Mar 2010 16:46:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-12596</guid>
		<description>I love this script, but I need to be able to click on the link again to completely collapse the divs (and have NOTHING expanded). Right now, clicking on the same link after expanding the div makes the div remain expanded.

So, I guess I want to combine this and a &#039;toggle&#039; script, but I don&#039;t even know where to begin.

Is there any way somebody could help me with the code for that?</description>
		<content:encoded><![CDATA[<p>I love this script, but I need to be able to click on the link again to completely collapse the divs (and have NOTHING expanded). Right now, clicking on the same link after expanding the div makes the div remain expanded.</p>
<p>So, I guess I want to combine this and a &#8216;toggle&#8217; script, but I don&#8217;t even know where to begin.</p>
<p>Is there any way somebody could help me with the code for that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul_cmfx</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-12460</link>
		<dc:creator>paul_cmfx</dc:creator>
		<pubDate>Mon, 22 Mar 2010 18:57:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-12460</guid>
		<description>Hi. I used the showonlyone code on each of the following pages and it works terrific:

&lt;code&gt;

&lt;a href=&quot;service_videoWeddings.html&quot; rel=&quot;nofollow&quot;&gt;Weddings&lt;/a&gt;
&lt;a href=&quot;service_videoCommercial.html&quot; rel=&quot;nofollow&quot;&gt;Commercial&lt;/a&gt;
&lt;a href=&quot;service_videoTraining.html&quot; rel=&quot;nofollow&quot;&gt;Training&lt;/a&gt;
&lt;a href=&quot;service_videoWorkshops.html&quot; rel=&quot;nofollow&quot;&gt;Seminars/Workshops&lt;/a&gt;
&lt;a href=&quot;service_videoRecitals.html&quot; rel=&quot;nofollow&quot;&gt;Performances/Recitals&lt;/a&gt;
&lt;a href=&quot;service_videoParties.html&quot; rel=&quot;nofollow&quot;&gt;Occasions/Parties&lt;/a&gt;
&lt;a href=&quot;service_videoMusic.html&quot; rel=&quot;nofollow&quot;&gt;Music&lt;/a&gt;
&lt;a href=&quot;service_videoDocumentary.html&quot; rel=&quot;nofollow&quot;&gt;Documentary&lt;/a&gt;

&lt;/code&gt;

However, it creates a new problem in IE 7.  Each of those links should open in my IFRAME called &quot;sizeframe&quot;.  

&lt;code&gt;
 


&lt;/code&gt;

After I have visited my first page, eg. weddings, and the showonlyone function has been called/clicked at least once, the links I have in the first snippet do not open up in my IFRAME any longer.  Instead they open in a New Window.  Any ideas why this is happening?  I know it is caused somehow by the showonlyone javascript, because without it, my links open just fine.</description>
		<content:encoded><![CDATA[<p>Hi. I used the showonlyone code on each of the following pages and it works terrific:</p>
<p><code></p>
<p><a href="service_videoWeddings.html" rel="nofollow">Weddings</a><br />
<a href="service_videoCommercial.html" rel="nofollow">Commercial</a><br />
<a href="service_videoTraining.html" rel="nofollow">Training</a><br />
<a href="service_videoWorkshops.html" rel="nofollow">Seminars/Workshops</a><br />
<a href="service_videoRecitals.html" rel="nofollow">Performances/Recitals</a><br />
<a href="service_videoParties.html" rel="nofollow">Occasions/Parties</a><br />
<a href="service_videoMusic.html" rel="nofollow">Music</a><br />
<a href="service_videoDocumentary.html" rel="nofollow">Documentary</a></p>
<p></code></p>
<p>However, it creates a new problem in IE 7.  Each of those links should open in my IFRAME called &#8220;sizeframe&#8221;.  </p>
<p><code></p>
<p></code></p>
<p>After I have visited my first page, eg. weddings, and the showonlyone function has been called/clicked at least once, the links I have in the first snippet do not open up in my IFRAME any longer.  Instead they open in a New Window.  Any ideas why this is happening?  I know it is caused somehow by the showonlyone javascript, because without it, my links open just fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahabub</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-12451</link>
		<dc:creator>Mahabub</dc:creator>
		<pubDate>Mon, 22 Mar 2010 06:00:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-12451</guid>
		<description>
       
        function showstuff(boxid) {
            document.getElementById(boxid).style.visibility = &quot;visible&quot;;
            document.getElementById(boxid).style.display = &quot;block&quot;;
        }

        function hidestuff(boxid) {
            document.getElementById(boxid).style.visibility = &quot;hidden&quot;;
            document.getElementById(boxid).style.display = &quot;none&quot;;
        }
    


&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Show again&lt;/a&gt;

BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH

 

&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;hide again&lt;/a&gt;
plz try this .</description>
		<content:encoded><![CDATA[<p>function showstuff(boxid) {<br />
            document.getElementById(boxid).style.visibility = &#8220;visible&#8221;;<br />
            document.getElementById(boxid).style.display = &#8220;block&#8221;;<br />
        }</p>
<p>        function hidestuff(boxid) {<br />
            document.getElementById(boxid).style.visibility = &#8220;hidden&#8221;;<br />
            document.getElementById(boxid).style.display = &#8220;none&#8221;;<br />
        }</p>
<p><a href="#" rel="nofollow">Show again</a></p>
<p>BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH</p>
<p><a href="#" rel="nofollow">hide again</a><br />
plz try this .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-11929</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sat, 06 Mar 2010 07:11:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-11929</guid>
		<description>Hi Knix,

Firstly I love this script... Great for massive amounts of content in tiny little spaces and very SEO savy.

I have run across another use for this script that you may want to use, but it requires a little modification that&#039;s out of my league (JS Newb). What I wanted the script to do is toggle trough divs via a single next button or link.

My client wants a few fact files shown one at a time and the ability to see the next fact by clicking a link. I tried some random quote generators but with only 4 facts atm they tend to show the same fact over and over and need the page to be reloaded to change.

Do you think it is possible to add this to your demos? 

Regards,
Steve</description>
		<content:encoded><![CDATA[<p>Hi Knix,</p>
<p>Firstly I love this script&#8230; Great for massive amounts of content in tiny little spaces and very SEO savy.</p>
<p>I have run across another use for this script that you may want to use, but it requires a little modification that&#8217;s out of my league (JS Newb). What I wanted the script to do is toggle trough divs via a single next button or link.</p>
<p>My client wants a few fact files shown one at a time and the ability to see the next fact by clicking a link. I tried some random quote generators but with only 4 facts atm they tend to show the same fact over and over and need the page to be reloaded to change.</p>
<p>Do you think it is possible to add this to your demos? </p>
<p>Regards,<br />
Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mr Butterfly</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-11885</link>
		<dc:creator>Mr Butterfly</dc:creator>
		<pubDate>Thu, 04 Mar 2010 11:27:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-11885</guid>
		<description>Hi there,
Firstly, thanks a MILLION for the demo and corresponding code. Works like a treat and I&#039;m eternally grateful.

Just to push things a little further, I am wanting to have a &#039;slide&#039; effect with the show/hide action and was hoping you could advise how I need to adjust my code:

function toggle(showHideDiv, switchImgTag) {
        var ele = document.getElementById(showHideDiv);
        var imageEle = document.getElementById(switchImgTag);
        if(ele.style.display == &quot;block&quot;) {
                ele.style.display = &quot;none&quot;;
		imageEle.innerHTML = &#039;&#039;;
        }
        else {
                ele.style.display = &quot;block&quot;;
                imageEle.innerHTML = &#039;&#039;;
        }

Hope to hear from you soon!
Thanks and regards.</description>
		<content:encoded><![CDATA[<p>Hi there,<br />
Firstly, thanks a MILLION for the demo and corresponding code. Works like a treat and I&#8217;m eternally grateful.</p>
<p>Just to push things a little further, I am wanting to have a &#8217;slide&#8217; effect with the show/hide action and was hoping you could advise how I need to adjust my code:</p>
<p>function toggle(showHideDiv, switchImgTag) {<br />
        var ele = document.getElementById(showHideDiv);<br />
        var imageEle = document.getElementById(switchImgTag);<br />
        if(ele.style.display == &#8220;block&#8221;) {<br />
                ele.style.display = &#8220;none&#8221;;<br />
		imageEle.innerHTML = &#8221;;<br />
        }<br />
        else {<br />
                ele.style.display = &#8220;block&#8221;;<br />
                imageEle.innerHTML = &#8221;;<br />
        }</p>
<p>Hope to hear from you soon!<br />
Thanks and regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olax</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-11760</link>
		<dc:creator>Olax</dc:creator>
		<pubDate>Sat, 27 Feb 2010 09:31:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-11760</guid>
		<description>Thank you so very much for the &#039;showonlyone&#039;part above! I&#039;ve been looking for hours for that!</description>
		<content:encoded><![CDATA[<p>Thank you so very much for the &#8217;showonlyone&#8217;part above! I&#8217;ve been looking for hours for that!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russell Day</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-2/#comment-11038</link>
		<dc:creator>Russell Day</dc:creator>
		<pubDate>Sun, 31 Jan 2010 08:55:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-11038</guid>
		<description>Hi,
I have a problem which seems like it should be routine but I cannot find an answer to it.  

I have a log file which has two levels of detail: results and analysis.  I want the page to display only the results by default, with a link that shows the analysis on demand. 

There are an unknown number of each type of entry.  I have created an &quot;analysis&quot; id and a &quot;results&quot; id and I assign them appropriately, so the report has many &quot;analysis&quot; divs and many &quot;results&quot; divs.  

What I want is that when I click the &quot;Show&quot; link, all the analysis divs become visible.  Every example I have found on the internet only reveals the first div with id &quot;analysis&quot;.  The rest of them stay hidden.
There must be a solution, but I cannot find it.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I have a problem which seems like it should be routine but I cannot find an answer to it.  </p>
<p>I have a log file which has two levels of detail: results and analysis.  I want the page to display only the results by default, with a link that shows the analysis on demand. </p>
<p>There are an unknown number of each type of entry.  I have created an &#8220;analysis&#8221; id and a &#8220;results&#8221; id and I assign them appropriately, so the report has many &#8220;analysis&#8221; divs and many &#8220;results&#8221; divs.  </p>
<p>What I want is that when I click the &#8220;Show&#8221; link, all the analysis divs become visible.  Every example I have found on the internet only reveals the first div with id &#8220;analysis&#8221;.  The rest of them stay hidden.<br />
There must be a solution, but I cannot find it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
