<?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: collapse extended entries</title>
	<atom:link href="http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/</link>
	<description></description>
	<lastBuildDate>Tue, 10 Jan 2012 01:21:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Dreama</title>
		<link>http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/comment-page-1/#comment-7372</link>
		<dc:creator>Dreama</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/#comment-7372</guid>
		<description>Jennifer -- it is working on your site, if this is what you&#039;re using to display comments inline.  Funny.  I&#039;ve seen it in three other places thus far, and none of them worked.

(Btw, IE 6 is not available for any Mac OS yet, and I don&#039;t think that Microsloth has even given a release date for it yet.  5.1 or some such is the latest version we have.)</description>
		<content:encoded><![CDATA[<p>Jennifer &#8212; it is working on your site, if this is what you&#039;re using to display comments inline.  Funny.  I&#039;ve seen it in three other places thus far, and none of them worked.</p>
<p>(Btw, IE 6 is not available for any Mac OS yet, and I don&#039;t think that Microsloth has even given a release date for it yet.  5.1 or some such is the latest version we have.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Promo</title>
		<link>http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/comment-page-1/#comment-7373</link>
		<dc:creator>Promo</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/#comment-7373</guid>
		<description>Wonderful! I look forward to adding this tomorrow, but I have 2 requests.

1) Could a Goddess please make a cumulative post of the &quot;collapse comments&quot; version (with better variables?) and make it a new entry here at SG.com? I fear others who may want this would never find it in the comments in this entry.

2) Is there a way to either: a) use this on some entries and not others? or b) have it auto-collapse (hide comments) after a given number of comments (like 5, for example)?

If not no problem, this is just what I wanted, thanks so much!</description>
		<content:encoded><![CDATA[<p>Wonderful! I look forward to adding this tomorrow, but I have 2 requests.</p>
<p>1) Could a Goddess please make a cumulative post of the &#034;collapse comments&#034; version (with better variables?) and make it a new entry here at SG.com? I fear others who may want this would never find it in the comments in this entry.</p>
<p>2) Is there a way to either: a) use this on some entries and not others? or b) have it auto-collapse (hide comments) after a given number of comments (like 5, for example)?</p>
<p>If not no problem, this is just what I wanted, thanks so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/comment-page-1/#comment-7371</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/#comment-7371</guid>
		<description>Hmm... Dreama - have you tried it on my site? If it doesn&#039;t work - then it might not work on IE 5 for Mac. Wonder if it works on IE 6 tho. (I don&#039;t have access to a mac to test stuff out on - I will at my new job though...)</description>
		<content:encoded><![CDATA[<p>Hmm&#8230; Dreama &#8211; have you tried it on my site? If it doesn&#039;t work &#8211; then it might not work on IE 5 for Mac. Wonder if it works on IE 6 tho. (I don&#039;t have access to a mac to test stuff out on &#8211; I will at my new job though&#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dreama</title>
		<link>http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/comment-page-1/#comment-7370</link>
		<dc:creator>Dreama</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/#comment-7370</guid>
		<description>I have yet to see this actually work -- that&#039;s in IE 5 for Mac OS 9.  Click the links and nothing happens.  I don&#039;t know if the people who I have encountered trying the script have done something wrong, or  if it&#039;s just not functional for IE/Mac.  Worth checking into, though.</description>
		<content:encoded><![CDATA[<p>I have yet to see this actually work &#8212; that&#039;s in IE 5 for Mac OS 9.  Click the links and nothing happens.  I don&#039;t know if the people who I have encountered trying the script have done something wrong, or  if it&#039;s just not functional for IE/Mac.  Worth checking into, though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zalary</title>
		<link>http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/comment-page-1/#comment-7369</link>
		<dc:creator>zalary</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/#comment-7369</guid>
		<description>i was playing with it yesterday - and i added a seperate function to make the comments work - but i think it works best just to display the comments and not the actual commenting form - as i couldn&#039;t get the &quot;remember me&quot; cookie to work.

add to script: (you could probably consolidate this into the original, but i didn&#039;t)

&lt;blockquote&gt;
&lt;script&gt;

function ThyWordisaLamp(youBet, justInCase){
aarondotrules = (&#039;justtestingthisout&#039; + (youBet));
getitoutofhere = (&#039;morethanenough&#039; + (youBet));
if( document.getElementById ) {
if( document.getElementById(aarondotrules).style.display ) {
if( justInCase != 0 ) {
document.getElementById(aarondotrules).style.display = &quot;block&quot;;
document.getElementById(getitoutofhere).style.display = &quot;none&quot;;
} else { document.getElementById(aarondotrules).style.display = &quot;none&quot;; 
document.getElementById(getitoutofhere).style.display = &quot;block&quot;; }
} else { location.href = justInCase;
return true; }
} else { location.href = justInCase;
return true; }
}
&lt;/script&gt;
&lt;/blockquote&gt;
then for your comment link:
&lt;blockquote&gt;
&lt;MTEntryIfAllowComments&gt;
&lt;span id=&quot;aarondotrules&lt;$MTEntryID$&gt;&quot; class=&quot;extended&quot;&gt;&lt;a href=&quot;javascript:(void);&quot; onclick=&quot;ThyWordisaLamp(&lt;$MTEntryID$&gt;,&#039;&lt;$MTEntryLink$&gt;#comments&#039;);return false;&quot;  target=&quot;_self&quot;&gt;comments (&lt;$MTEntryCommentCount$&gt;)&lt;/a&gt;
&lt;/span&gt; 

&lt;div id=&quot;justtestingthisout&lt;$MTEntryID$&gt;&quot; style=&quot;display: none&quot;&gt;

&lt;p align=&quot;center&quot;&gt;&lt;a href=&quot;#&lt;$MTEntryID pad=&quot;1&quot;$&gt;&quot; onclick=&quot;ThyWordisaLamp(&lt;$MTEntryID$&gt;,0);return
true;&quot; target=&quot;_top&quot; onmouseover=&quot;window.status=&#039;collapse this entry &#039;; return true;&quot; onmouseout=&quot;window.status=&#039; &#039;; return true;&quot;&gt;collapse comment display&lt;/a&gt;
&lt;MTComments&gt;
. . .   (your stuff)
&lt;/MTComments&gt;

&lt;/MTEntryIfAllowComments&gt;&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>i was playing with it yesterday &#8211; and i added a seperate function to make the comments work &#8211; but i think it works best just to display the comments and not the actual commenting form &#8211; as i couldn&#039;t get the &#034;remember me&#034; cookie to work.</p>
<p>add to script: (you could probably consolidate this into the original, but i didn&#039;t)</p>
<blockquote><p>
&lt;script&gt;</p>
<p>function ThyWordisaLamp(youBet, justInCase){<br />
aarondotrules = (&#039;justtestingthisout&#039; + (youBet));<br />
getitoutofhere = (&#039;morethanenough&#039; + (youBet));<br />
if( document.getElementById ) {<br />
if( document.getElementById(aarondotrules).style.display ) {<br />
if( justInCase != 0 ) {<br />
document.getElementById(aarondotrules).style.display = &#034;block&#034;;<br />
document.getElementById(getitoutofhere).style.display = &#034;none&#034;;<br />
} else { document.getElementById(aarondotrules).style.display = &#034;none&#034;;<br />
document.getElementById(getitoutofhere).style.display = &#034;block&#034;; }<br />
} else { location.href = justInCase;<br />
return true; }<br />
} else { location.href = justInCase;<br />
return true; }<br />
}<br />
&lt;/script&gt;
</p></blockquote>
<p>then for your comment link:</p>
<blockquote><p>
&lt;MTEntryIfAllowComments&gt;<br />
&lt;span id=&#034;aarondotrules&lt;$MTEntryID$&gt;&#034; class=&#034;extended&#034;&gt;&lt;a href=&#034;javascript:(void);&#034; onclick=&#034;ThyWordisaLamp(&lt;$MTEntryID$&gt;,&#039;&lt;$MTEntryLink$&gt;#comments&#039;);return false;&#034;  target=&#034;_self&#034;&gt;comments (&lt;$MTEntryCommentCount$&gt;)&lt;/a&gt;<br />
&lt;/span&gt; </p>
<p>&lt;div id=&#034;justtestingthisout&lt;$MTEntryID$&gt;&#034; style=&#034;display: none&#034;&gt;</p>
<p>&lt;p align=&#034;center&#034;&gt;&lt;a href=&#034;#&lt;$MTEntryID pad=&#034;1&#034;$&gt;&#034; onclick=&#034;ThyWordisaLamp(&lt;$MTEntryID$&gt;,0);return<br />
true;&#034; target=&#034;_top&#034; onmouseover=&#034;window.status=&#039;collapse this entry &#039;; return true;&#034; onmouseout=&#034;window.status=&#039; &#039;; return true;&#034;&gt;collapse comment display&lt;/a&gt;<br />
&lt;MTComments&gt;<br />
. . .   (your stuff)<br />
&lt;/MTComments&gt;</p>
<p>&lt;/MTEntryIfAllowComments&gt;</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/comment-page-1/#comment-7368</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/#comment-7368</guid>
		<description>Yeah, I tried that, but it didnt&#039; work... both putting a unique character BEFORE or AFTER the MTEntryID. It would just send you to the individual entry.</description>
		<content:encoded><![CDATA[<p>Yeah, I tried that, but it didnt&#039; work&#8230; both putting a unique character BEFORE or AFTER the MTEntryID. It would just send you to the individual entry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lynda</title>
		<link>http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/comment-page-1/#comment-7367</link>
		<dc:creator>Lynda</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/#comment-7367</guid>
		<description>By the way, &lt;a href=&quot;http://www.digitalwoe.com/siteinfo_c.php?id=333_0_1_0_C&quot;&gt;Here&#039;s how to do it with pMachine&lt;/a&gt;

A bit more difficult.. :)</description>
		<content:encoded><![CDATA[<p>By the way, <a href="http://www.digitalwoe.com/siteinfo_c.php?id=333_0_1_0_C">Here&#039;s how to do it with pMachine</a></p>
<p>A bit more difficult.. <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lynda</title>
		<link>http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/comment-page-1/#comment-7366</link>
		<dc:creator>Lynda</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/#comment-7366</guid>
		<description>Jennifer, I&#039;m not sure if you&#039;d need to make a separate function, but since the javascript is calling up each thing in reference to its mtentryid, you&#039;ll probably have to add a &quot;c&quot; or another  distinguishing character onto the end of the the ones for comments so it knows its separate.

Like this: 
&lt;h3&gt;&lt;MTEntryIfAllowComments&gt;
&lt;span id=&quot;thankYourMother&lt;$MTEntryID$&gt;c&quot; class=&quot;extended&quot;&gt;&lt;a href=&quot;&lt;$MTEntryLink$&gt;#&lt;$MTEntryID pad=&quot;1&quot;$&gt;&quot; onclick=&quot;ChristIsImmanentInAllThings(&lt;$MTEntryID$&gt;c,&#039;&lt;$MTEntryLink$&gt;#&lt;$MTEntryID pad=&quot;1&quot;$&gt;&#039;);return false;&quot;&gt;Show Comments Here »&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div id=&quot;coconutsKillMorePeopleThanSharks&lt;$MTEntryID$&gt;c&quot; style=&quot;display: none&quot;&gt;&lt;MTComments&gt;
&lt;p&gt;&lt;$MTCommentBody$&gt;&lt;/p&gt;
&lt;p&gt;Posted by &lt;$MTCommentAuthorLink$&gt; at &lt;$MTCommentDate$&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;
&lt;/MTComments&gt;&lt;a href=&quot;#&lt;$MTEntryID pad=&quot;1&quot;$&gt;&quot; onclick=&quot;ChristIsImmanentInAllThings(&lt;$MTEntryID$&gt;c,0);return
true;&quot;&gt;« Hide Comments&lt;/a&gt;&lt;/div&gt;
&lt;MTEntryIfAllowComments&gt;&lt;/h3&gt;

I don&#039;t see a need to create a separate function though.</description>
		<content:encoded><![CDATA[<p>Jennifer, I&#039;m not sure if you&#039;d need to make a separate function, but since the javascript is calling up each thing in reference to its mtentryid, you&#039;ll probably have to add a &#034;c&#034; or another  distinguishing character onto the end of the the ones for comments so it knows its separate.</p>
<p>Like this: </p>
<h3>&lt;MTEntryIfAllowComments&gt;<br />
&lt;span id=&#034;thankYourMother&lt;$MTEntryID$&gt;c&#034; class=&#034;extended&#034;&gt;&lt;a href=&#034;&lt;$MTEntryLink$&gt;#&lt;$MTEntryID pad=&#034;1&#034;$&gt;&#034; onclick=&#034;ChristIsImmanentInAllThings(&lt;$MTEntryID$&gt;c,&#039;&lt;$MTEntryLink$&gt;#&lt;$MTEntryID pad=&#034;1&#034;$&gt;&#039;);return false;&#034;&gt;Show Comments Here »&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div id=&#034;coconutsKillMorePeopleThanSharks&lt;$MTEntryID$&gt;c&#034; style=&#034;display: none&#034;&gt;&lt;MTComments&gt;<br />
&lt;p&gt;&lt;$MTCommentBody$&gt;&lt;/p&gt;<br />
&lt;p&gt;Posted by &lt;$MTCommentAuthorLink$&gt; at &lt;$MTCommentDate$&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;<br />
&lt;/MTComments&gt;&lt;a href=&#034;#&lt;$MTEntryID pad=&#034;1&#034;$&gt;&#034; onclick=&#034;ChristIsImmanentInAllThings(&lt;$MTEntryID$&gt;c,0);return<br />
true;&#034;&gt;« Hide Comments&lt;/a&gt;&lt;/div&gt;<br />
&lt;MTEntryIfAllowComments&gt;</h3>
<p>I don&#039;t see a need to create a separate function though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/comment-page-1/#comment-7365</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/#comment-7365</guid>
		<description>ok - now I&#039;ve got it... if you want to do BOTH, you&#039;ll need to make a seperate function for the comments. Do a search and replace on the variable in the function and the comment code snippet and change the name to something different.

That&#039;s it. It&#039;s working on my blog now. :)</description>
		<content:encoded><![CDATA[<p>ok &#8211; now I&#039;ve got it&#8230; if you want to do BOTH, you&#039;ll need to make a seperate function for the comments. Do a search and replace on the variable in the function and the comment code snippet and change the name to something different.</p>
<p>That&#039;s it. It&#039;s working on my blog now. <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/comment-page-1/#comment-7364</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/06/20/collapse-extended-entries/#comment-7364</guid>
		<description>one thing I just noticed though... if you have both an extended entry AND comments - it doesn&#039;t seem to work. I&#039;ll have to play with it a bit to figure out why.</description>
		<content:encoded><![CDATA[<p>one thing I just noticed though&#8230; if you have both an extended entry AND comments &#8211; it doesn&#039;t seem to work. I&#039;ll have to play with it a bit to figure out why.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

