<?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: Mootools: playing with height-transitions</title>
	<atom:link href="http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/feed/" rel="self" type="application/rss+xml" />
	<link>http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/</link>
	<description>Publicing platform</description>
	<lastBuildDate>Thu, 11 Mar 2010 19:44:05 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mootools - 40 przykładowych zastosowań &#124; Ptaszor i jego blog! Lol...</title>
		<link>http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/comment-page-1/#comment-13114</link>
		<dc:creator>Mootools - 40 przykładowych zastosowań &#124; Ptaszor i jego blog! Lol...</dc:creator>
		<pubDate>Wed, 06 Feb 2008 11:02:37 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/#comment-13114</guid>
		<description>[...] Dynamiczna zmiana wysokości elementu (mootools) [...]</description>
		<content:encoded><![CDATA[<p>[...] Dynamiczna zmiana wysokości elementu (mootools) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casey</title>
		<link>http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/comment-page-1/#comment-2774</link>
		<dc:creator>Casey</dc:creator>
		<pubDate>Wed, 16 May 2007 08:16:40 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/#comment-2774</guid>
		<description>Thanks for this nice tut. 
I&#039;m curious how difficult would it be to use this in *Fx.Slide instead of *Fx.Style so the added effects (bounce, etc.) can be achieved?</description>
		<content:encoded><![CDATA[<p>Thanks for this nice tut.<br />
I&#8217;m curious how difficult would it be to use this in *Fx.Slide instead of *Fx.Style so the added effects (bounce, etc.) can be achieved?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/comment-page-1/#comment-931</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Mon, 26 Mar 2007 11:38:08 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/#comment-931</guid>
		<description>ignore that last comment it works fine in safari!</description>
		<content:encoded><![CDATA[<p>ignore that last comment it works fine in safari!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/comment-page-1/#comment-930</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Mon, 26 Mar 2007 11:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/#comment-930</guid>
		<description>..can&#039;t get this working in safari though... could you take another look at it Bas?</description>
		<content:encoded><![CDATA[<p>..can&#8217;t get this working in safari though&#8230; could you take another look at it Bas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/comment-page-1/#comment-929</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Mon, 26 Mar 2007 11:19:09 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/#comment-929</guid>
		<description>Thanks Bas ..really helpful.

Re the Javascript disabled issue: There is a simple css fix for this - add height:100%; below the first c1, c2 statement ie:

#c1,#c2{
	height:0px;
	margin:0;
	padding:0;
	overflow:hidden;
}
#c1 {
height:100%;
}

you could use height &#039;auto&#039; also (depends on your layout / ie6 box model issues).</description>
		<content:encoded><![CDATA[<p>Thanks Bas ..really helpful.</p>
<p>Re the Javascript disabled issue: There is a simple css fix for this &#8211; add height:100%; below the first c1, c2 statement ie:</p>
<p>#c1,#c2{<br />
	height:0px;<br />
	margin:0;<br />
	padding:0;<br />
	overflow:hidden;<br />
}<br />
#c1 {<br />
height:100%;<br />
}</p>
<p>you could use height &#8216;auto&#8217; also (depends on your layout / ie6 box model issues).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan</title>
		<link>http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/comment-page-1/#comment-795</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Wed, 14 Mar 2007 04:47:39 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/#comment-795</guid>
		<description>Hey there Bas, a while back you helped me with creating a function to change the color of the currently opened tab&#039;s button.

Of Course that was before the 1.0 version of Mootools was added to the scripts.
Wanted to know if you could help once again, to help me achieve that same effect. from before.
Let me know.
Thanks, A LOT!
Great work as always.</description>
		<content:encoded><![CDATA[<p>Hey there Bas, a while back you helped me with creating a function to change the color of the currently opened tab&#8217;s button.</p>
<p>Of Course that was before the 1.0 version of Mootools was added to the scripts.<br />
Wanted to know if you could help once again, to help me achieve that same effect. from before.<br />
Let me know.<br />
Thanks, A LOT!<br />
Great work as always.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Torbjørn</title>
		<link>http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/comment-page-1/#comment-647</link>
		<dc:creator>Torbjørn</dc:creator>
		<pubDate>Tue, 27 Feb 2007 18:53:09 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/#comment-647</guid>
		<description>Hello guys. To Tdaf:

The code under could probably work for your problem &quot;If not javacript is enabled&quot;.

b1Toggle.hide(); is the trick:

&lt;code&gt;
window.onload = function(){

	var button1 = $(&#039;button1&#039;);
	var content1 = $(&#039;contentElement1&#039;);

	var b1Toggle = new Fx.Style(&#039;contentElement1&#039;, &#039;height&#039;, {duration: 700});

	b1Toggle.hide();

	button1.addEvent(&#039;click&#039;, function()
	{

		if(content1.getStyle(&#039;height&#039;).toInt() &gt; 0)
		{
			b1Toggle.start(0);
		}
		else
		{
			b1Toggle.start(c1Height);
		}

		return false;
	});

	content1.setStyle(&#039;display&#039;,&#039;block&#039;);

	var c1Height = content1.getSize().scrollSize.y;

};
&lt;/code&gt;

The bad thing is that the inline style &quot;display: none&quot; has to go.. so there will probably be some flickering.

You also have to remove the &quot;height: 0;&quot; from #contentElement1</description>
		<content:encoded><![CDATA[<p>Hello guys. To Tdaf:</p>
<p>The code under could probably work for your problem &#8220;If not javacript is enabled&#8221;.</p>
<p>b1Toggle.hide(); is the trick:</p>
<p><code><br />
window.onload = function(){</p>
<p>	var button1 = $('button1');<br />
	var content1 = $('contentElement1');</p>
<p>	var b1Toggle = new Fx.Style('contentElement1', 'height', {duration: 700});</p>
<p>	b1Toggle.hide();</p>
<p>	button1.addEvent('click', function()<br />
	{</p>
<p>		if(content1.getStyle('height').toInt() &gt; 0)<br />
		{<br />
			b1Toggle.start(0);<br />
		}<br />
		else<br />
		{<br />
			b1Toggle.start(c1Height);<br />
		}</p>
<p>		return false;<br />
	});</p>
<p>	content1.setStyle('display','block');</p>
<p>	var c1Height = content1.getSize().scrollSize.y;</p>
<p>};<br />
</code></p>
<p>The bad thing is that the inline style &#8220;display: none&#8221; has to go.. so there will probably be some flickering.</p>
<p>You also have to remove the &#8220;height: 0;&#8221; from #contentElement1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brodie</title>
		<link>http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/comment-page-1/#comment-622</link>
		<dc:creator>brodie</dc:creator>
		<pubDate>Sun, 25 Feb 2007 18:10:14 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/#comment-622</guid>
		<description>H - why don&#039;t you copy the source code from the page and just change the layout/css to your own style?</description>
		<content:encoded><![CDATA[<p>H &#8211; why don&#8217;t you copy the source code from the page and just change the layout/css to your own style?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brodie</title>
		<link>http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/comment-page-1/#comment-621</link>
		<dc:creator>brodie</dc:creator>
		<pubDate>Sun, 25 Feb 2007 17:19:26 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/#comment-621</guid>
		<description>Hi Bas, first off, fantastic site and work!  really impressed and inspired by it. 
im working on a site and i&#039;ve hit a brick wall with your accordion script and cmotion image gallery from Dynamic Drive. 

I&#039;ve put the two examples with both effects here to make it clear:

motion gallery -

&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;
http://nb015a9938.pwp.blueyonder.co.uk/jc/accordion.html&lt;/a&gt;

and the accordion effect -

&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;http://nb015a9938.pwp.blueyonder.co.uk/jc/accordion2.html&lt;/a&gt;

When the two are on the same page the accordion effect ceases to work, and the only script that prevents it is the motiongallery.js (by process of elimination)

(there is a fade.js dependant on what i believe is an older version of mootools.js which also has to be removed for the accordion.js to see the mootools.v1.00.js but i don&#039;t think its where the conflict lies)

I would greatly appreciate any help with this.

Thanks in advance,

Brodie</description>
		<content:encoded><![CDATA[<p>Hi Bas, first off, fantastic site and work!  really impressed and inspired by it.<br />
im working on a site and i&#8217;ve hit a brick wall with your accordion script and cmotion image gallery from Dynamic Drive. </p>
<p>I&#8217;ve put the two examples with both effects here to make it clear:</p>
<p>motion gallery -</p>
<p><a href="#" rel="nofollow"><br />
</a><a href="http://nb015a9938.pwp.blueyonder.co.uk/jc/accordion.html" rel="nofollow">http://nb015a9938.pwp.blueyonder.co.uk/jc/accordion.html</a></p>
<p>and the accordion effect -</p>
<p><a href="#" rel="nofollow">http://nb015a9938.pwp.blueyonder.co.uk/jc/accordion2.html</a></p>
<p>When the two are on the same page the accordion effect ceases to work, and the only script that prevents it is the motiongallery.js (by process of elimination)</p>
<p>(there is a fade.js dependant on what i believe is an older version of mootools.js which also has to be removed for the accordion.js to see the mootools.v1.00.js but i don&#8217;t think its where the conflict lies)</p>
<p>I would greatly appreciate any help with this.</p>
<p>Thanks in advance,</p>
<p>Brodie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: H</title>
		<link>http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/comment-page-1/#comment-546</link>
		<dc:creator>H</dc:creator>
		<pubDate>Mon, 19 Feb 2007 23:42:57 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/01/16/mootools-playing-with-height-transitions/#comment-546</guid>
		<description>Does anyone know where I can find a good example of the fx.Slider effect for MooTools v1.0. I have already poured over the mootoosl.net documentation and as I am such a nooob cannot make head or tail of it... I wish some one would create a simple example that creates he same effect as the left hand menu on mootools.net. It is such a commonly used effect that in my opinion adds a lot of value when used in the correct context. I would really appreciate any help anyone could offer me.</description>
		<content:encoded><![CDATA[<p>Does anyone know where I can find a good example of the fx.Slider effect for MooTools v1.0. I have already poured over the mootoosl.net documentation and as I am such a nooob cannot make head or tail of it&#8230; I wish some one would create a simple example that creates he same effect as the left hand menu on mootools.net. It is such a commonly used effect that in my opinion adds a lot of value when used in the correct context. I would really appreciate any help anyone could offer me.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
