<?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/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Implementing Basic and Fancy Show/Hide in MooTools&#160;1.2</title> <atom:link href="http://davidwalsh.name/mootools-show-hide/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/mootools-show-hide</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 09 Feb 2012 09:13:01 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: AnswersDot</title><link>http://davidwalsh.name/mootools-show-hide/comment-page-1#comment-23320</link> <dc:creator>AnswersDot</dc:creator> <pubDate>Thu, 31 Mar 2011 02:18:17 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=251#comment-23320</guid> <description>I&#039;ve been looking around for something like this and maybe I&#039;ll end up using this one...</description> <content:encoded><![CDATA[<p>I&#8217;ve been looking around for something like this and maybe I&#8217;ll end up using this one&#8230;</p> ]]></content:encoded> </item> <item><title>By: gilcierweb</title><link>http://davidwalsh.name/mootools-show-hide/comment-page-1#comment-22551</link> <dc:creator>gilcierweb</dc:creator> <pubDate>Thu, 03 Feb 2011 19:59:30 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=251#comment-22551</guid> <description>Poderia ser assim é muito melhor, otimo post.
window.addEvent(&#039;domready&#039;, function()
{
//domready é o onload do mootools
Element.implement(
{
fancyShow: function()
{
this.fade(&#039;in&#039;);
this.setStyle(&#039;display&#039;,&#039;&#039;);
},
fancyHide: function()
{
this.fade(&#039;out&#039;);
this.setStyle(&#039;display&#039;,&#039;none&#039;);
}
});
$(&#039;element&#039;).fancyHide();//carrega primeiro o função  fancyHide para deixar os campos ocultos
});</description> <content:encoded><![CDATA[<p>Poderia ser assim é muito melhor, otimo post.<br
/> window.addEvent(&#8216;domready&#8217;, function()<br
/> {<br
/> //domready é o onload do mootools<br
/> Element.implement(<br
/> {<br
/> fancyShow: function()<br
/> {<br
/> this.fade(&#8216;in&#8217;);<br
/> this.setStyle(&#8216;display&#8217;,&#8221;);<br
/> },<br
/> fancyHide: function()<br
/> {<br
/> this.fade(&#8216;out&#8217;);<br
/> this.setStyle(&#8216;display&#8217;,'none&#8217;);<br
/> }<br
/> });<br
/> $(&#8216;element&#8217;).fancyHide();//carrega primeiro o função  fancyHide para deixar os campos ocultos<br
/> });</p> ]]></content:encoded> </item> <item><title>By: Jay</title><link>http://davidwalsh.name/mootools-show-hide/comment-page-1#comment-22246</link> <dc:creator>Jay</dc:creator> <pubDate>Sat, 08 Jan 2011 21:14:05 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=251#comment-22246</guid> <description>Shoot! I guess this site does not allow HTML, so here goes&lt;code&gt;
LT div id=&quot;idvalue&quot; style=&quot;display=none;&quot; GT
Div Contents
LT /div GT
&lt;/code&gt;
To show this just use show or fade(&#039;in&#039;) or similar.Jay</description> <content:encoded><![CDATA[<p>Shoot! I guess this site does not allow HTML, so here goes</p><p><code><br
/> LT div id="idvalue" style="display=none;" GT<br
/> Div Contents<br
/> LT /div GT<br
/> </code><br
/> To show this just use show or fade(&#8216;in&#8217;) or similar.</p><p>Jay</p> ]]></content:encoded> </item> <item><title>By: Jay</title><link>http://davidwalsh.name/mootools-show-hide/comment-page-1#comment-22245</link> <dc:creator>Jay</dc:creator> <pubDate>Sat, 08 Jan 2011 21:11:04 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=251#comment-22245</guid> <description>Sorry! (forgot to hide code with code tag)&lt;code&gt;Div contents&lt;!-- your div will now start up hidden, use show/hide in your code --&gt;&lt;/code&gt;Jay</description> <content:encoded><![CDATA[<p>Sorry! (forgot to hide code with code tag)</p><p><code></p><p>Div contents</p><p></p><p></code></p><p>Jay</p> ]]></content:encoded> </item> <item><title>By: Jay</title><link>http://davidwalsh.name/mootools-show-hide/comment-page-1#comment-22244</link> <dc:creator>Jay</dc:creator> <pubDate>Sat, 08 Jan 2011 21:08:05 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=251#comment-22244</guid> <description> Div contents&lt;!-- it now starts off hidden --&gt;Jay</description> <content:encoded><![CDATA[<p>Div contents</p><p></p><p>Jay</p> ]]></content:encoded> </item> <item><title>By: marco</title><link>http://davidwalsh.name/mootools-show-hide/comment-page-1#comment-21384</link> <dc:creator>marco</dc:creator> <pubDate>Wed, 24 Nov 2010 05:26:44 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=251#comment-21384</guid> <description>How can you make the div display=&quot;hidden&quot; onLoad work with the fancy version? The basic version is obvious, it toggles the display. But the fancy show doesn&#039;t work like that, so a hidden div stays hidden...</description> <content:encoded><![CDATA[<p>How can you make the div display=&#8221;hidden&#8221; onLoad work with the fancy version? The basic version is obvious, it toggles the display. But the fancy show doesn&#8217;t work like that, so a hidden div stays hidden&#8230;</p> ]]></content:encoded> </item> <item><title>By: Bryan</title><link>http://davidwalsh.name/mootools-show-hide/comment-page-1#comment-19592</link> <dc:creator>Bryan</dc:creator> <pubDate>Sun, 29 Aug 2010 17:01:21 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=251#comment-19592</guid> <description>Woops.
I meant, I&#039;d love to have the effect of hiding a  on page load.</description> <content:encoded><![CDATA[<p>Woops.<br
/> I meant, I&#8217;d love to have the effect of hiding a  on page load.</p> ]]></content:encoded> </item> <item><title>By: Bryan</title><link>http://davidwalsh.name/mootools-show-hide/comment-page-1#comment-19591</link> <dc:creator>Bryan</dc:creator> <pubDate>Sun, 29 Aug 2010 17:00:19 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=251#comment-19591</guid> <description>I was wondering the same thing.
I&#039;d really love to have that effect.
Any ideas?</description> <content:encoded><![CDATA[<p>I was wondering the same thing.<br
/> I&#8217;d really love to have that effect.<br
/> Any ideas?</p> ]]></content:encoded> </item> <item><title>By: Rodrigo</title><link>http://davidwalsh.name/mootools-show-hide/comment-page-1#comment-17012</link> <dc:creator>Rodrigo</dc:creator> <pubDate>Tue, 13 Apr 2010 18:28:15 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=251#comment-17012</guid> <description>Hi, I need to animate a panel onload (like a login panel), but started without any interaction of the user, how can I do something like this ? I can&#039;t find a property to change relative positioning for instance:position: relative; top:0pxtoposition: relative; top:100pxCan you help me ?</description> <content:encoded><![CDATA[<p>Hi, I need to animate a panel onload (like a login panel), but started without any interaction of the user, how can I do something like this ? I can&#8217;t find a property to change relative positioning for instance:</p><p>position: relative; top:0px</p><p>to</p><p>position: relative; top:100px</p><p>Can you help me ?</p> ]]></content:encoded> </item> <item><title>By: Neil</title><link>http://davidwalsh.name/mootools-show-hide/comment-page-1#comment-14568</link> <dc:creator>Neil</dc:creator> <pubDate>Wed, 16 Dec 2009 19:11:50 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=251#comment-14568</guid> <description>Hey Dave,Great tutorial, how can we make a div hide onload though?</description> <content:encoded><![CDATA[<p>Hey Dave,</p><p>Great tutorial, how can we make a div hide onload though?</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 4/20 queries in 0.015 seconds using disk: basic
Object Caching 867/874 objects using disk: basic

Served from: davidwalsh.name @ 2012-02-09 04:24:30 -->
