<?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: MooTools Link&#160;Fading</title> <atom:link href="http://davidwalsh.name/mootools-link-fading/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/mootools-link-fading</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Wed, 23 May 2012 14:01:31 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Johan</title><link>http://davidwalsh.name/mootools-link-fading#comment-22332</link> <dc:creator>Johan</dc:creator> <pubDate>Mon, 17 Jan 2011 12:43:38 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=525#comment-22332</guid> <description>Your comment formatting screws up the &quot;&quot; thingys around the selectors!</description> <content:encoded><![CDATA[<p>Your comment formatting screws up the &#8220;&#8221; thingys around the selectors!</p> ]]></content:encoded> </item> <item><title>By: morphwarp</title><link>http://davidwalsh.name/mootools-link-fading#comment-20888</link> <dc:creator>morphwarp</dc:creator> <pubDate>Mon, 04 Oct 2010 20:51:49 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=525#comment-20888</guid> <description>the best way was only one clicked event is stored and overrides other actives with original color again</description> <content:encoded><![CDATA[<p>the best way was only one clicked event is stored and overrides other actives with original color again</p> ]]></content:encoded> </item> <item><title>By: moprhwarp</title><link>http://davidwalsh.name/mootools-link-fading#comment-20887</link> <dc:creator>moprhwarp</dc:creator> <pubDate>Mon, 04 Oct 2010 20:48:53 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=525#comment-20887</guid> <description>Hi, thanks the script, simple and easy to use, but I definitely miss one small one function for the active class, i could figure it out it should look like a kind like that:&#039;mouseenter&#039; : function() { morph.start({ &#039;color&#039;:&#039;#2727f9&#039; }) },
&#039;mouseleave&#039; : function() { morph.start({ &#039;color&#039;: original }) },
&#039;click&#039; : function() { morph.start({ &#039;color&#039;:&#039;#FF0000&#039; }) }but on mouseleave the &#039;click&#039; color should stay, anyone knows how?best regards</description> <content:encoded><![CDATA[<p>Hi, thanks the script, simple and easy to use, but I definitely miss one small one function for the active class, i could figure it out it should look like a kind like that:</p><p>&#8216;mouseenter&#8217; : function() { morph.start({ &#8216;color&#8217;:'#2727f9&#8242; }) },<br
/> &#8216;mouseleave&#8217; : function() { morph.start({ &#8216;color&#8217;: original }) },<br
/> &#8216;click&#8217; : function() { morph.start({ &#8216;color&#8217;:'#FF0000&#8242; }) }</p><p>but on mouseleave the &#8216;click&#8217; color should stay, anyone knows how?</p><p>best regards</p> ]]></content:encoded> </item> <item><title>By: paps</title><link>http://davidwalsh.name/mootools-link-fading#comment-15808</link> <dc:creator>paps</dc:creator> <pubDate>Tue, 02 Feb 2010 07:57:47 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=525#comment-15808</guid> <description>hi david
great code and thanks a lot for all you make !!i use your script in a website with &quot;opacity&quot; and it work !window.addEvent(&#039;domready&#039;,function() {
$each($$(&#039;.fade&#039;), function(el) {
var original = el.getStyle(&#039;opacity&#039;);
var morph = new Fx.Morph(el,{ &#039;duration&#039;:&#039;100&#039;, link:&#039;cancel&#039;});
el.addEvents({
&#039;mouseenter&#039; : function() { morph.start({ &#039;opacity&#039;:0.5}) },
&#039;mouseleave&#039; : function() { morph.start({ &#039;opacity&#039;:original}) }
});
});
});but I would like my div with &quot;opacity:0.5&quot; when the page open, and when you click on the div, it stay on &quot;opacity:original&quot; (the link is on the same page with a function show/hide)
Is that possible ?thanks for your answers, and excuse me for my poor english (I&#039;m french :-))paps</description> <content:encoded><![CDATA[<p>hi david<br
/> great code and thanks a lot for all you make !!</p><p>i use your script in a website with &#8220;opacity&#8221; and it work !</p><p>window.addEvent(&#8216;domready&#8217;,function() {<br
/> $each($$(&#8216;.fade&#8217;), function(el) {<br
/> var original = el.getStyle(&#8216;opacity&#8217;);<br
/> var morph = new Fx.Morph(el,{ &#8216;duration&#8217;:&#8217;100&#8242;, link:&#8217;cancel&#8217;});<br
/> el.addEvents({<br
/> &#8216;mouseenter&#8217; : function() { morph.start({ &#8216;opacity&#8217;:0.5}) },<br
/> &#8216;mouseleave&#8217; : function() { morph.start({ &#8216;opacity&#8217;:original}) }<br
/> });<br
/> });<br
/> });</p><p>but I would like my div with &#8220;opacity:0.5&#8243; when the page open, and when you click on the div, it stay on &#8220;opacity:original&#8221; (the link is on the same page with a function show/hide)<br
/> Is that possible ?</p><p>thanks for your answers, and excuse me for my poor english (I&#8217;m french :-))</p><p>paps</p> ]]></content:encoded> </item> <item><title>By: elron</title><link>http://davidwalsh.name/mootools-link-fading#comment-14635</link> <dc:creator>elron</dc:creator> <pubDate>Sat, 19 Dec 2009 18:12:31 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=525#comment-14635</guid> <description>man you are awesome... really helpd me!!!</description> <content:encoded><![CDATA[<p>man you are awesome&#8230; really helpd me!!!</p> ]]></content:encoded> </item> <item><title>By: piotr</title><link>http://davidwalsh.name/mootools-link-fading#comment-11872</link> <dc:creator>piotr</dc:creator> <pubDate>Mon, 14 Sep 2009 09:51:38 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=525#comment-11872</guid> <description>Hey, here&#039;s code for MooTools 1.11 for menu in Joomla. Just assign ID in menu module configuration.
I got help from &lt;a href=&quot;http://demos111.mootools.net/Fx.Styles&quot; rel=&quot;nofollow&quot;&gt;http://demos111.mootools.net/Fx.Styles&lt;/a&gt;window.addEvent(&#039;domready&#039;, function() {var list = $$(&#039;#mainmenu li a&#039;);
var original;
list.each(function(element)
{
if ( element.parentNode != $(&#039;current&#039;)) {
var fx = new Fx.Styles(element, {duration: 1000, wait: false, transition: Fx.Transitions.Sine.easeIn});
original = element.getStyle(&#039;color&#039;);element.addEvent(&#039;mouseenter&#039;, function(){
fx.start({
//&#039;opacity&#039; : 1,
&#039;color&#039;: &#039;#333333&#039;
});
});element.addEvent(&#039;mouseleave&#039;, function(){
fx.start({
//&#039;opacity&#039; : 0.8,
&#039;color&#039;: original
});
});
};
});
}); </description> <content:encoded><![CDATA[<p>Hey, here&#8217;s code for MooTools 1.11 for menu in Joomla. Just assign ID in menu module configuration.<br
/> I got help from <a
href="http://demos111.mootools.net/Fx.Styles" rel="nofollow">http://demos111.mootools.net/Fx.Styles</a></p><p>window.addEvent(&#8216;domready&#8217;, function() {</p><p>var list = $$(&#8216;#mainmenu li a&#8217;);<br
/> var original;<br
/> list.each(function(element)<br
/> {<br
/> if ( element.parentNode != $(&#8216;current&#8217;)) {<br
/> var fx = new Fx.Styles(element, {duration: 1000, wait: false, transition: Fx.Transitions.Sine.easeIn});<br
/> original = element.getStyle(&#8216;color&#8217;);</p><p> element.addEvent(&#8216;mouseenter&#8217;, function(){<br
/> fx.start({<br
/> //&#8217;opacity&#8217; : 1,<br
/> &#8216;color&#8217;: &#8216;#333333&#8242;<br
/> });<br
/> });</p><p> element.addEvent(&#8216;mouseleave&#8217;, function(){<br
/> fx.start({<br
/> //&#8217;opacity&#8217; : 0.8,<br
/> &#8216;color&#8217;: original<br
/> });<br
/> });<br
/> };<br
/> });<br
/> });</p> ]]></content:encoded> </item> <item><title>By: Birke</title><link>http://davidwalsh.name/mootools-link-fading#comment-8252</link> <dc:creator>Birke</dc:creator> <pubDate>Tue, 17 Mar 2009 06:18:16 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=525#comment-8252</guid> <description>Isn´t it possible to use the link fading with the email protection script? Both together doesn´t work. :(</description> <content:encoded><![CDATA[<p>Isn´t it possible to use the link fading with the email protection script? Both together doesn´t work. :(</p> ]]></content:encoded> </item> <item><title>By: Pete</title><link>http://davidwalsh.name/mootools-link-fading#comment-7873</link> <dc:creator>Pete</dc:creator> <pubDate>Fri, 20 Feb 2009 21:08:01 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=525#comment-7873</guid> <description>I think this should work:Set in the css: &quot;text-decoration: none;&quot; for .fade and &quot;text-decoration: none; border-bottom: #000000 1px solid;&quot; for .fade:hoverThen replace in the script &quot;color&quot; with &quot;border-bottom&quot; and replace &quot;#ff8c00&quot; with &quot;#ff8c00 1px solid&quot;Adjust the color-codes and youre done ;)</description> <content:encoded><![CDATA[<p>I think this should work:</p><p>Set in the css: &#8220;text-decoration: none;&#8221; for .fade and &#8220;text-decoration: none; border-bottom: #000000 1px solid;&#8221; for .fade:hover</p><p>Then replace in the script &#8220;color&#8221; with &#8220;border-bottom&#8221; and replace &#8220;#ff8c00&#8243; with &#8220;#ff8c00 1px solid&#8221;</p><p>Adjust the color-codes and youre done ;)</p> ]]></content:encoded> </item> <item><title>By: johan</title><link>http://davidwalsh.name/mootools-link-fading#comment-7872</link> <dc:creator>johan</dc:creator> <pubDate>Fri, 20 Feb 2009 18:58:15 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=525#comment-7872</guid> <description>Looks very sweet &amp; simple and will deff. try this out. :)
But ...
I would like only the underlines to fade, not the letters is this possible?
If so, how?</description> <content:encoded><![CDATA[<p>Looks very sweet &amp; simple and will deff. try this out. :)<br
/> But &#8230;<br
/> I would like only the underlines to fade, not the letters is this possible?<br
/> If so, how?</p> ]]></content:encoded> </item> <item><title>By: Pete</title><link>http://davidwalsh.name/mootools-link-fading#comment-7871</link> <dc:creator>Pete</dc:creator> <pubDate>Fri, 20 Feb 2009 14:38:51 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=525#comment-7871</guid> <description>Hello,I&#039;m trying to write a link fading plugin for Joomla but i cant get it to work because Joomla uses Mootools 1.11
It seems mootools 1.11 doesnt know $each and Fx.morph
Do you have any advice how to get this to work with mootools 1.11?Thank you!</description> <content:encoded><![CDATA[<p>Hello,</p><p>I&#8217;m trying to write a link fading plugin for Joomla but i cant get it to work because Joomla uses Mootools 1.11<br
/> It seems mootools 1.11 doesnt know $each and Fx.morph<br
/> Do you have any advice how to get this to work with mootools 1.11?</p><p>Thank you!</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 3/7 queries in 0.020 seconds using disk: basic
Object Caching 805/805 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-23 09:59:21 -->
