<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>mad4milk.net</title>
        <description><![CDATA[latest 15 entries]]></description>
        <link>http://mad4milk.net/</link>
        <lastBuildDate>Tue, 08 May 2007 01:57:23 +0100</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>MooTools v1.1 official world release</title>
            <link>http://mad4milk.net/entry/mootools-v1.1-official-world-release</link>
            <description>&lt;p&gt;Today we released MooTools v1.1.&lt;/p&gt;

&lt;p&gt;It brings great speed and compatibility improvements since version 1.0&lt;/p&gt;

&lt;p&gt;All the notable additions are listed in the &lt;a href=&quot;http://dev.mootools.net/wiki/whatsNew&quot;&gt;What&amp;#8217;s New&lt;/a&gt; section of MooTools Wiki, and if you&amp;#8217;re interested in details you can take a look at the &lt;a href=&quot;http://dev.mootools.net/wiki/changelog&quot;&gt;full changelog&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For v1.1 we also added a whole lot of &lt;a href=&quot;http://demos.mootools.net&quot;&gt;cool demos&lt;/a&gt; so you can actually see all the components in action before starting to get into development.&lt;/p&gt;

&lt;p&gt;Have Fun.&lt;/p&gt;
</description>
            <author>Valerio Proietti</author>
            <pubDate>Mon, 07 May 2007 17:19:00 +0100</pubDate>
        </item>
        <item>
            <title>mootools version 1 official world release</title>
            <link>http://mad4milk.net/entry/mootools-version-1-official-world-release</link>
            <description>&lt;p&gt;That&amp;#8217;s right. No more 0.x versions.&lt;/p&gt;

&lt;p&gt;After a few months of full development immersion, with the help of &lt;a href=&quot;http://digitalia.be/&quot;&gt;Chris&lt;/a&gt;, &lt;a href=&quot;http://clientside.cnet.com/&quot;&gt;Aaron&lt;/a&gt;, the &lt;a href=&quot;http://forum.mootools.net/&quot;&gt;forum guys&lt;/a&gt; and the &lt;a href=&quot;http://forum.mootools.net/topic.php?id=439&amp;amp;replies=6&quot;&gt;IRC Channel guys&lt;/a&gt;, &lt;a href=&quot;http://mootools.net&quot;&gt;Mootools v1&lt;/a&gt; has been officially released.&lt;/p&gt;

&lt;h4&gt;Notable Changes:&lt;/h4&gt;

&lt;p&gt;All the MooTools Classes use now Events. No, not element events. Class Events. Right, you can add as many onCompletes as you want, onChange(s), onStart(s).. Well, you get the idea.
Options starting with &amp;#8220;on&amp;#8221; become events, so need to change your code on this one.&lt;/p&gt;

&lt;p&gt;All the code, plugins, everything now uses element events. With a completely rewritten event system, its now less memory hungry and a whole lot easier to add events to your elements. You wont find another .onclick in MooTools.
We&amp;#8217;ve also added the ability to fire an event by hand, or remove all of the events from an element, or all of the events of a certain type (ex. click).&lt;/p&gt;

&lt;p&gt;There are also a number of new &amp;#8220;Components&amp;#8221;, like Color, to convert colors from HSB to RGB and vice-versa, Hash, to create more flexible javascript objects.&lt;/p&gt;

&lt;p&gt;New plugins have been added, like SmoothScroll, the Scroller, Slider, Assets and Json.Remote, to make Ajax requests directly with Javascript objects. As always, you decide which components to include, so your own version wont be bloated.&lt;/p&gt;

&lt;p&gt;Effects are now more powerful than ever, Fx.Style/Styles/Elements now can include colors and shorthand properties. They also support one value start (the starting value will be computed in real time). You have a div with height = 100 and want to go to 200? as easy as start(200). Fx will read your current style.&lt;/p&gt;

&lt;p&gt;There are a million of other changes/improvements, but I&amp;#8217;ll leave the job to the &lt;a href=&quot;http://docs.mootools.net&quot;&gt;documentation&lt;/a&gt;, or the &lt;a href=&quot;http://dev.mootools.net/timeline?changeset=on&amp;amp;update=Update&quot;&gt;long changelog&lt;/a&gt;.&lt;/p&gt;

&lt;h4&gt;API Changes:&lt;/h4&gt;

&lt;p&gt;Yes, there are a few of those. Thats what happens when a new, more powerful version comes out. (not to say the first v1 real release).&lt;/p&gt;

&lt;p&gt;Drag has been completely rewritten to be more stable, compatible, make use of the new Events system and with a few more candies. The bad news is the options have changed a little, so you&amp;#8217;ll need to update your code if you were using the old one.&lt;/p&gt;

&lt;p&gt;Same thing applies for Sortables.&lt;/p&gt;

&lt;p&gt;Needless to say, refer to the &lt;a href=&quot;http://docs.mootools.net&quot;&gt;official documentation&lt;/a&gt;, or the exceptional &lt;a href=&quot;http://clientside.cnet.com/wiki/mootorial&quot;&gt;MooTorial&lt;/a&gt; by &lt;a href=&quot;http://clientside.cnet.com&quot;&gt;Aaron Newton&lt;/a&gt;, if you have any doubts on anything.&lt;/p&gt;

&lt;p&gt;If you encounter problems or issues you are welcome in the &lt;a href=&quot;http://forum.mootools.net&quot;&gt;MooTools forum&lt;/a&gt;, or the &lt;a href=&quot;http://forum.mootools.net/topic.php?id=439&amp;amp;amp;replies=6&quot;&gt;irc channel&lt;/a&gt;.&lt;/p&gt;
</description>
            <author>Valerio Proietti</author>
            <pubDate>Wed, 21 Mar 2007 22:47:11 +0100</pubDate>
        </item>
        <item>
            <title>mootools primer: a guide for the rest of us</title>
            <link>http://mad4milk.net/entry/mootools-primer-a-guide-for-the-rest-of-us</link>
            <description>&lt;p&gt;Good news for all of you &lt;a href=&quot;http://mootools.net&quot;&gt;mootools&lt;/a&gt; users: my friend Aaron Newton (@cnet), just released &lt;a href=&quot;http://clientside.cnet.com/examples/mootools-primer/&quot;&gt;Mootools Primer&lt;/a&gt;, the mootools guide that doesnt expect you to be a javascript expert to understand. It covers more or less all of the current mootools plugins/addons and even Core files and functions. Its very well written and filled up with code samples you can execute. Smart idea. &lt;/p&gt;

&lt;p&gt;Still Here??? (or in your favorite feed reader)? Go &lt;a href=&quot;http://clientside.cnet.com/examples/mootools-primer/&quot;&gt;read mootools primer&lt;/a&gt;, and don&amp;#8217;t forget to have fun.&lt;/p&gt;
</description>
            <author>Valerio Proietti</author>
            <pubDate>Fri, 24 Nov 2006 09:40:00 +0100</pubDate>
        </item>
        <item>
            <title>moofx version 2 released</title>
            <link>http://mad4milk.net/entry/moofx-version-2-released</link>
            <description>&lt;p&gt;Okay, for the &lt;a href=&quot;http://mootools.net&quot;&gt;mootools&lt;/a&gt; lovers this isnt big news. moo.fx version 2 is infact the same version that ships with &lt;a href=&quot;http://mootools.net&quot;&gt;mootools&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;There&amp;#8217;s one big improvement though: With nearly all of the current functionalities, the newest version of the smallest effects framework has been ported to &lt;a href=&quot;http://prototype.conio.net&quot;&gt;prototype&lt;/a&gt; too. &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://moofx.mad4milk.net/&quot;&gt;Go take a look&lt;/a&gt;, and dont forget to &lt;a href=&quot;http://digg.com/programming/moo_fx_version_2_0_is_out_Javascript_has_never_been_so_sexy&quot;&gt;digg it&lt;/a&gt;.&lt;/p&gt;
</description>
            <author>Valerio Proietti</author>
            <pubDate>Fri, 03 Nov 2006 21:31:00 +0100</pubDate>
        </item>
        <item>
            <title>Mootools gets his documentation</title>
            <link>http://mad4milk.net/entry/mootools-gets-his-documentation</link>
            <description>&lt;p&gt;As revision 82 commits in, mootools got all the files, classes, functions, methods &lt;a href=&quot;http://docs.mootools.net&quot;&gt;highly documented&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I think we all need to say a big &lt;em&gt;thank you&lt;/em&gt; to &lt;a href=&quot;http://cnet.com&quot;&gt;Aaron Newton&lt;/a&gt;, a cnet &lt;del&gt;editor&lt;/del&gt; javascript evangelist who made all the documentation in the first place, later polished and fixed by myself.&lt;/p&gt;

&lt;p&gt;We used &lt;a href=&quot;http://naturaldocs.org&quot;&gt;naturaldocs&lt;/a&gt; to document mootools, a cool method to document projects with inline comments. The only downfall is that the source files are much bigger now, but this is no big deal, since you can already download the source compressed, stripped of all its comments (documentation included). I also plan to add an option later to remove only documentation from the download. &lt;/p&gt;

&lt;p&gt;I only wish naturaldocs didnt have to put that javascript inside! Also, creating the docs stylesheet took away about 6 hours of my life that I&amp;#8217;ll never get back. Dont get me wrong, &lt;a href=&quot;http://naturaldocs.org&quot;&gt;naturaldocs&lt;/a&gt; is a great documentation software, probably the best one out there. It&amp;#8217;s just a templating engine away from being perfect.&lt;/p&gt;

&lt;p&gt;But other features are online&amp;#8230;Yes, I had a lot of fun this weekend.&lt;/p&gt;

&lt;p&gt;I also added a &lt;a href=&quot;http://forum.mootools.net&quot;&gt;mootools forum&lt;/a&gt;, based on &lt;a href=&quot;http://bbpress.org&quot;&gt;bbpress&lt;/a&gt;.
I had an hard time customizing it to add vital functionalities like &lt;a href=&quot;http://gravatar.com&quot;&gt;gravatars&lt;/a&gt; (so vital), colourized code and integration with the bugs and suggestions reports. But in the end, it was &lt;a href=&quot;http://forum.mootools.net&quot;&gt;worth the pain&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Thats it for now! And what do you say about mootools? Has it been useful for you? Did you find any quirks? Dont be shy, the comment box is here for you, and I&amp;#8217;m here to listen, be it in the comments, by mail or &lt;a href=&quot;http://forum.mootools.net&quot;&gt;in the forum&lt;/a&gt;.&lt;/p&gt;
</description>
            <author>Valerio Proietti</author>
            <pubDate>Mon, 23 Oct 2006 09:09:00 +0100</pubDate>
        </item>
        <item>
            <title>A wiki for mootools</title>
            <link>http://mad4milk.net/entry/a-wiki-for-mootools</link>
            <description>&lt;p&gt;In its first 20 days of public life, mootools has seen a lot of revision (20!), bugfixes and improvements.&lt;/p&gt;

&lt;p&gt;Now there&amp;#8217;s an &lt;a href=&quot;http://feeds.feedburner.com/mootools-svn&quot;&gt;rss feed for code changes&lt;/a&gt;, and a couple of days ago I also added a &lt;a href=&quot;http://wiki.mootools.net&quot;&gt;wiki&lt;/a&gt;, powered by &lt;a href=&quot;http://wiki.splitbrain.org/wiki:dokuwiki&quot;&gt;dokuwiki&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;There&amp;#8217;s already a &lt;a href=&quot;http://wiki.mootools.net/documentation/gettingstarted&quot;&gt;Getting Started document&lt;/a&gt;, reference for &lt;a href=&quot;http://wiki.mootools.net/reference/moo.js&quot;&gt;moo.js&lt;/a&gt; and &lt;a href=&quot;http://wiki.mootools.net/reference/function.js&quot;&gt;function.js&lt;/a&gt;, and a page for &lt;a href=&quot;http://wiki.mootools.net/resources/external&quot;&gt;external resources, articles and tutorials&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you wrote anything about mootools, a tutorial, a demo, a plugin, simply want your mootools-powered site to be featured in the showcase, or you feel like adding a reference document/turorial/code snippet to the wiki, feel free to add a page!&lt;/p&gt;
</description>
            <author>Valerio Proietti</author>
            <pubDate>Wed, 04 Oct 2006 18:02:00 +0100</pubDate>
        </item>
        <item>
            <title>Mootools Released!</title>
            <link>http://mad4milk.net/entry/mootools-released</link>
            <description>&lt;p&gt;While its website is not very complete, I&amp;#8217;ve released &lt;a href=&quot;http://mootools.net&quot;&gt;mootools&lt;/a&gt;, as promised! (sometimes we do keep the word).
You cant do much right now, but you can download the very first release, browse the changelog and take a look at the getting started document.&lt;/p&gt;

&lt;p&gt;I&amp;#8217;ll add other features, demos, and larger documentation later. If you have questions or comments, dont hesitate to drop me a line through the contact page or here in the comments while Report and Suggest on mootools arent up.&lt;/p&gt;

&lt;p&gt;And dont forget to let me know what you think of this new tool. I alwas do keep your suggestions in mind, they had a big role in the making of mootools!&lt;/p&gt;
</description>
            <author>Valerio Proietti</author>
            <pubDate>Sat, 09 Sep 2006 06:16:00 +0100</pubDate>
        </item>
        <item>
            <title>mootools: extending HTML Elements with IE</title>
            <link>http://mad4milk.net/entry/mootools-and-extending-html-elements-with-ie</link>
            <description>&lt;p&gt;Well, sorta&amp;#8230;
Let me explain: as you probably haven&amp;#8217;t noticed, there&amp;#8217;s a new small banner on the top-left on the main pages of this useless blog: &lt;strong&gt;mootools: coming september 8th&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;Mootools is a new framework, a new library, a new call-it-as-you-wish set of scripts (Javascript ofcourse!) that was born to unify all the &lt;a href=&quot;http://moofx.mad4milk.net&quot;&gt;moo&lt;/a&gt; &lt;a href=&quot;http://moodom.mad4milk.net&quot;&gt;libraries&lt;/a&gt; ever &lt;a href=&quot;http://mad4milk.net/entry/moo.ajax&quot;&gt;released&lt;/a&gt;, but it has slowly become much more. &amp;#8230;YES yes the elements: with the Element.js component of mootools, which is a part of the core library, you can actually extend HTML Elements. How? Simply target one with the famous $ function (also $S and $E counts) and voila, extended. With all my properties. With all &lt;em&gt;YOUR&lt;/em&gt; properties. I wont explain it in details here and now, but I will on release, in a couple of days. Ok just another couple of hints about Element.js, since you want it so badly:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;to create an element from scratch? (let&amp;#8217;s say a DIV) : &lt;code&gt;new Element('div')&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;and to apply some styles to it? And maybe a className too? &lt;code&gt;new Element('div').setStyles({'height': '100px', 'width': '200px'}).addClassName('whatever')&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;alright now I want it in the body! &lt;code&gt;new Element('div').setStyles({'height': '100px', 'width': '200px'}).addClassName('whatever').injectInside($E('body'))&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;is this the only way? &lt;code&gt;$E('body').adopt('div').setStyles ...&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;okay but I want an effect too! &lt;code&gt;$('myelement').addEvent('click', myFunction).effect('opacity').custom(0,1) ...&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And just not to name a few of other features: Drag and drop with full support for drop-zones, events, a better Accordion, a nicer Ajax with Form and Objects Serializers, a revamped Fx, Dom with attribute queries and Sortable lists. Oh, and a better (but still compatible with &lt;a href=&quot;http://prototype.conio.net&quot;&gt;prototype&lt;/a&gt;) Class, based on &lt;a href=&quot;http://dean.edwards.name/weblog/2006/03/base/&quot;&gt;Base.js&lt;/a&gt; from &lt;a href=&quot;http://dean.edwards.name&quot;&gt;Dean Edwards&lt;/a&gt;. All of this (and more) about 15kb of (well, this time compressed) code. But dont panic: you can always chose the components you want to get with a nice download manager. Need Drag but no Fx? no prob. Need Dom but no Ajax? its fine. With mootools you&amp;#8217;ll always get what you need.&lt;/p&gt;

&lt;p&gt;See you in a couple of days @ &lt;a href=&quot;http://mootools.net&quot;&gt;mootools.net&lt;/a&gt;! Do not ever type /download after it! Its still beta!&lt;/p&gt;
</description>
            <author>Valerio Proietti</author>
            <pubDate>Wed, 06 Sep 2006 20:53:00 +0100</pubDate>
        </item>
        <item>
            <title>mooglets?!?</title>
            <link>http://mad4milk.net/entry/mooglets</link>
            <description>&lt;p&gt;Today, I’d like to introduce you a friend of mine, his name is mooglets. He is many things, a newsreader, a web2.0 personal homepage, a development platform, a widget framework. Somebody says he quite resembles mac osx dashboard, but he runs in your browser, so no macintosh needed.&lt;/p&gt;

&lt;p&gt;He&amp;#8217;s a guest of &lt;a href=&quot;http://www.freewebsfarms.com/mooglets_project&quot;&gt;freewebs farms&lt;/a&gt;, but you can knock on his door &lt;a href=&quot;http://mooglets.freewebsfarms.com&quot;&gt;directly&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Hope I dont &lt;a href=&quot;http://www.freewebsfarms.com/entry/first-post-and-mooglets&quot;&gt;recycle&lt;/a&gt; too much.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;UPDATE&lt;/em&gt;: &lt;a href=&quot;http://digg.com/software/Ajax_draggable_dashboard_interface_like_MacOSX&quot;&gt;digg this&lt;/a&gt;!&lt;/p&gt;
</description>
            <author>Valerio Proietti</author>
            <pubDate>Thu, 03 Aug 2006 14:52:00 +0100</pubDate>
        </item>
        <item>
            <title>Italy won the world cup!</title>
            <link>http://mad4milk.net/entry/italy-won-the-world-cup</link>
            <description>&lt;p&gt;Well, Italy won the world cup!&lt;/p&gt;

&lt;p&gt;&lt;em&gt;update&lt;/em&gt;: to use the top-left badge on your website&lt;/p&gt;

&lt;h4&gt;The html&lt;/h4&gt;

&lt;p&gt;Just create a div with id=&amp;#8221;italy&amp;#8221;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;div id=&quot;italy&quot;&amp;gt;&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;The css&lt;/h4&gt;

&lt;p&gt;Pretty straightforward, it sets the previous div to an absolute position, and pushes it to the upper/left corner of the window.
Make sure you use the correct path for images!&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;
#italy {
    background: url(italy.png) top left no-repeat !important;
    background: url(italy.gif) top left no-repeat;
    height: 113px;
    width: 112px;
    position: absolute;
    top: 0;
    left: 0;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;The Images&lt;/h4&gt;

&lt;p&gt;For the images, you will need both the png and the gif. The gif will only be served to ie, due to its silly lack of png support.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://mad4milk.net/downloads/italy.png&quot;&gt;&lt;img src=&quot;http://mad4milk.net/downloads/italy.png&quot; /&gt;&lt;/a&gt;

&lt;a href=&quot;http://mad4milk.net/downloads/italy.gif&quot;&gt;&lt;img src=&quot;http://mad4milk.net/downloads/italy.gif&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Have fun!&lt;/p&gt;
</description>
            <author>Valerio Proietti</author>
            <pubDate>Sun, 09 Jul 2006 18:15:00 +0100</pubDate>
        </item>
        <item>
            <title>moo.dom: easily target html elements</title>
            <link>http://mad4milk.net/entry/moo.dom-easily-target-html-elements</link>
            <description>&lt;p class=&quot;notice&quot;&gt;&lt;strong&gt;Notice&lt;/strong&gt;: moo.dom has been replaced by &lt;a href=&quot;http://mootools.net&quot;&gt;mootools&lt;/a&gt;. Go &lt;a href=&quot;http://mootools.net/download&quot;&gt;get it now&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;moo.dom is a very lightweight (less than 3kb!) and effective script, to target html elements using javascript and css selectors.&lt;/p&gt;

&lt;p&gt;It uses &lt;a href=&quot;http://prototype.conio.net&quot;&gt;prototype.js&lt;/a&gt;, or &lt;a href=&quot;http://moodom.mad4milk.net/prototype.lite.js&quot;&gt;the light version&lt;/a&gt; (also included in moo.fx), and works perfectly with Firefox, Internet Explorer, Safari and Opera.&lt;/p&gt;

&lt;p&gt;For the impatients &lt;a href=&quot;http://moodom.mad4milk.net&quot;&gt;there is a test page&lt;/a&gt;, and dont forget to view the source. &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.mad4milk.net/entry/moo.dom-easily-target-html-elements&quot;&gt;Continue reading&lt;/a&gt; for some sort of documentation.I&amp;#8217;ve been working on this for quite some time, and in the latest revision I&amp;#8217;ve decided to extend the javascript Objects Array and String instead of using a custom Object, to allow maximum flexibility.&lt;/p&gt;

&lt;p&gt;The core of the script is without any doubt the &lt;strong&gt;$S&lt;/strong&gt; function.&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;$S&lt;/strong&gt; function is used to dynamically select a collection of elements. It takes as parameters an arbitrary number of css selectors, or real elements. Some examples:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&lt;span&gt;//this will select all span elements with class=&quot;myspan&quot;&lt;/span&gt;

var spans = $S('span.myspan');

&lt;span&gt;//this will select all div elements with class=&quot;mydiv&quot; 
//AND all a elements with class=&quot;mylink&quot; that are inside the div with id=&quot;mydiv&quot;&lt;/span&gt;

var elements = $S('div.mydiv', '#mydiv a.mylink');

&lt;span&gt;//please note you can also combine selectors and real elements&lt;/span&gt;

var myDiv = document.getElementById('mydiv');
var myElements = $S('div.mydiv', 'a.mylink', myDiv);

&lt;span&gt;//You can use much more complicated selectors.&lt;/span&gt;

var myOtherElements = $S('div.mydiv #myid a.mylink span b.bold');

&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Another cool feature of moo.dom is the use of actions. Actions are used to attach a set of events to any collection of elements, not just the ones you select with the $S function. This is the syntax:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$S('span.myspan').action ({
&lt;span&gt;//the initialize function takes place immediately, if some elements are found.&lt;/span&gt;
  initialize: function(){ 
&lt;span&gt;//all spans with class=myspan will have &quot;hello&quot; as innerHTML.&lt;/span&gt;
    this.innerHTML = &quot;hello&quot;;
  }
});
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Note that the keyword &amp;#8216;this&amp;#8217; always refers to the current element in the array.&lt;/p&gt;

&lt;p&gt;Optionally you can also use functions as onclick and onmouseover inside the action. Every function beginning with &lt;code&gt;on&lt;/code&gt; will be threaten as an event.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$S('span.myspan').action ({
    initialize: function(){ 
        this.innerHTML = &quot;hello&quot;;
    }
&lt;span&gt;//when I click on any spans with class=myspan it will become blue.&lt;/span&gt;
  onclick: function(){
 &lt;span&gt;//inside events, use this as the current element.&lt;/span&gt;
    this.style.color = &quot;blue&quot;;
  }
});
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;As said before, I&amp;#8217;ve decided to extend The native javascript objects String and Array to allow maximum flexibility: Every function in moo.dom infact can be used if required. For example, if you need to filter a collection of elements by its container, and you only have the element reference (not an ID or class) you can use the getElementsBySelector method of the String object:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;'a.link span'.getElementsBySelector(filterElement);&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Same principle, if you already have your collection of elements, you can apply actions to them. Feel free to digg through the source code of this script to get an idea of the multiple functions you can use.&lt;/p&gt;

&lt;p&gt;So, &lt;a href=&quot;http://moodom.mad4milk.net&quot;&gt;view the example page&lt;/a&gt; and &lt;a href=&quot;http://moodom.mad4milk.net/moo.dom.js&quot;&gt;download the script&lt;/a&gt;. Bye till next time!&lt;/p&gt;
</description>
            <author>Valerio Proietti</author>
            <pubDate>Tue, 04 Apr 2006 19:59:00 +0100</pubDate>
        </item>
        <item>
            <title>moo.fx forums &amp; 1.2.2</title>
            <link>http://mad4milk.net/entry/moo.fx-forums--and--1.2.2</link>
            <description>&lt;p&gt;Just a quick update: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I&amp;#8217;ve added &lt;a href=&quot;http://moofx.mad4milk.net/forum&quot;&gt;the moofx forum&lt;/a&gt;, so post there for further help requests!&lt;/li&gt;
&lt;li&gt;I&amp;#8217;ve fixed some bugs in moo.fx.pack (thanx for the comments), and Switched the opacity/visibility order in moo.fx (for a better compatibility with &lt;a href=&quot;http://www.alwaysbeta.com/2006/02/08/building-ab-customizing-lightbox/&quot;&gt;Customizing lightbox&lt;/a&gt;). &lt;a href=&quot;http://moofx.mad4milk.net&quot;&gt;Get the new version&lt;/a&gt;!&lt;/li&gt;
&lt;/ul&gt;
</description>
            <author>Valerio Proietti</author>
            <pubDate>Fri, 24 Feb 2006 15:08:00 +0100</pubDate>
        </item>
        <item>
            <title>links of interest</title>
            <link>http://mad4milk.net/entry/links-of-interest</link>
            <description>&lt;p&gt;These days I found some interesting links I would like to share with you. But wait, I have no &lt;b&gt;linkbox&lt;/b&gt; in this damn blog&amp;#8230; no prob, I&amp;#8217;m writing an entry.&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;&lt;a href=&quot;http://www.alwaysbeta.com/2006/02/08/building-ab-customizing-lightbox/&quot;&gt;Building aB: Customizing Lightbox&lt;/a&gt; - a special version of &lt;a href=&quot;http://www.huddletogether.com/projects/lightbox/&quot;&gt;Lightbox Js&lt;/a&gt;, that uses &lt;a href=&quot;http://moofx.mad4milk.net&quot;&gt;moofx transitions&lt;/a&gt;. Very fashionable, By &lt;a href=&quot;http://seanmcb.com/&quot;&gt;Sean McBride&lt;/a&gt;.&lt;/li&gt;

&lt;li&gt;&lt;a href=&quot;http://jquery.com/&quot;&gt;jQuery&lt;/a&gt; - &amp;#8220;jQuery is designed to change the way that you write Javascript.&amp;#8221; Very cool, uses also a special version of moofx, and I wonder how this guy extends the HTMLElement in ie.. By &lt;a href=&quot;http://ejohn.org/&quot;&gt;John Resig&lt;/a&gt;.&lt;/li&gt;

&lt;li&gt;&lt;a href=&quot;http://www.nyokiglitter.com/blog/moofx-tutorial-quickie&quot;&gt;moo.fx tutorial quickie&lt;/a&gt; - &amp;#8220;a short and simple beginner tutorial on how to use moo.fx&amp;#8221; - this should help you get started! by &lt;a href=&quot;http://www.nyokiglitter.com&quot;&gt;nyokiglitter&lt;/a&gt;.&lt;/li&gt;

&lt;li&gt;&lt;a href=&quot;http://www.avinashv.net/2006/02/17/the-idiots-guide-to-moofx/&quot;&gt;The Idiot’s Guide to moo.fx&lt;/a&gt; - &amp;#8220;Let&amp;#8217;s face it, you want to use moo.fx to look cool&amp;#8221; - a very detailed guide on how to start your career as a special effect engineer. by &lt;a href=&quot;http://www.avinashv.net/&quot;&gt;Avinash Vora&lt;/a&gt;.&lt;/li&gt;

&lt;/ul&gt;
</description>
            <author>Valerio Proietti</author>
            <pubDate>Mon, 20 Feb 2006 15:08:00 +0100</pubDate>
        </item>
        <item>
            <title>a new moofx</title>
            <link>http://mad4milk.net/entry/a-new-moofx</link>
            <description>&lt;p&gt;I&amp;#8217;m officially announcing &lt;a href=&quot;http://moofx.mad4milk.net&quot;&gt;moo.fx 1.2&lt;/a&gt;! The biggest improvement? &lt;a href=&quot;http://moofx.mad4milk.net/documentation&quot;&gt;Documentation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Accordion effect, custom transition, a number of bugfixes (including opacity for safari) and a &lt;a href=&quot;http://www.mad4milk.net/entry/a-new-moofx&quot;&gt;lot more&lt;/a&gt;!&lt;h4&gt;moo.fx changelog&lt;/h4&gt;&lt;/p&gt;

&lt;p&gt;Each effect element will now support another option: &lt;strong&gt;transition&lt;/strong&gt;: fx.TRANSITIONNAME. With this you can choose wich transition to use: from fast to slow, from slow to fast, start slow then fast then slow again, even a linear one, for older computers. You can get a list of available transitions at the end of moo.fx.js (simple ones) and moo.fx.pack.js (a lot more).&lt;/p&gt;

&lt;p&gt;Opacity for safari is now fixed. The Opacity effect has also another method now: &lt;strong&gt;setOpacity&lt;/strong&gt;. It&amp;#8217;s used to suddenly set the opacity, crossbrowser, without displaying the effect. It will also hide/show the element when opacity=0/1, a quick fix for browsers not supporting opacity on elements (OPERA).&lt;/p&gt;

&lt;p&gt;The new moo.fx is completely safe to update, all your effects will still work.&lt;/p&gt;

&lt;h4&gt;moo.fx.pack changelog&lt;/h4&gt;

&lt;p&gt;Here a lot more has changed. I decided to replace a lot of stuff with better stuff. If you need the old stuff you can always include that stuff in the new files, or just don&amp;#8217;t update moo.fx.pack. Too much stuff would have been bad for filesize. stuff.&lt;/p&gt;

&lt;p&gt;The best thing is the new &lt;strong&gt;fx.Accordion&lt;/strong&gt;: forget about &lt;del&gt;fx.Multi&lt;/del&gt;, for loops and headhaches. You can now generate accordions in just one line of code! This new effect takes as parameters two arrays, one for the switches (the elements you click on) and one for the elements to be expanded/collapsed. A nice way to do this is with classNames, using document.getElementsByClassName from prototype. For a more detailed explanation, &lt;a href=&quot;http://moofx.mad4milk.net/documentation&quot;&gt;go read the docs&lt;/a&gt;!&lt;/p&gt;

&lt;p&gt;&lt;del&gt;fx.Fadesize&lt;/del&gt; and &lt;del&gt;fx.Resize&lt;/del&gt; are no more. Why all this when you can make your own combination of height/width/opacity with &lt;strong&gt;fx.Combo&lt;/strong&gt;? just set as options width: true, height: true or opacity: true. The default is the combination of height and opacity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;fx.Scroll&lt;/strong&gt; is now a part of the family!&lt;/p&gt;

&lt;h4&gt;Smallest improvements&lt;/h4&gt;

&lt;p&gt;A lot of smallest stuff has changed too. For example, if you&amp;#8217;re a code reader you&amp;#8217;ll notice there are no more for loops. I&amp;#8217;ve made a simple and effective function (at least for me!) to avoid for loops. I hate for loops. This function extends the Array object, adding a method (each.) This is the usage:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;myArray.each(function(element){
    element.style.color: &amp;amp;#8220;red&amp;amp;#8221;;
});
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This will make any element of the array myArray red. Easier to read!&lt;/p&gt;

&lt;p&gt;Another small thing is the function I&amp;#8217;ve added to prototype.lite: &lt;strong&gt;Element.find&lt;/strong&gt;. It takes as parameter what to find (nextSibling/previousSibling), and the element. It will return the real element, discarding any text-nodes. This eliminates the need to use &lt;del&gt;Element.clearWhitespace&lt;/del&gt; everytime you want to perform such operations. &lt;/p&gt;

&lt;h4&gt;Frequently asked questions&lt;/h4&gt;

&lt;p&gt;These days I&amp;#8217;m receiving a lot of support requests and I can&amp;#8217;t answer them all. So I&amp;#8217;m writing a faq for moo.fx/moo.fx.pack. If you have any questions you wold like too see in the faq, &lt;a href=&quot;#add_comment&quot;&gt;please ask&lt;/a&gt;!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;: &lt;a href=&quot;http://snapshot.opera.com/mac/m90p2.html&quot;&gt;Opera 9 PR2&lt;/a&gt; now supports opacity! Yay!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;UPDATE2&lt;/strong&gt;: moo.fx.js is now 1.2.1. The previous version brake &lt;a href=&quot;http://www.alwaysbeta.com/2006/02/08/building-ab-customizing-lightbox/&quot;&gt;Sean McBride version of lightbox&lt;/a&gt; (very cool btw) due to a visibility issue. This should fix the problem. Thanx Sean!&lt;/p&gt;
</description>
            <author>Valerio Proietti</author>
            <pubDate>Sat, 11 Feb 2006 21:28:00 +0100</pubDate>
        </item>
        <item>
            <title>windows xp pride</title>
            <link>http://mad4milk.net/entry/windows-xp-pride</link>
            <description>&lt;p&gt;Everyone these days wants to show mac osx superiority over the good and old windows xp. Ok, mac osx is better. Ok microsoft copies apple. Ok OK but what about some windows xp pride??&lt;/p&gt;

&lt;p&gt;I made these little icons for you, to show the world your windows xp pride! Everyone must know your love for the best OS in the world. They come in two versions, color and black &amp;amp; white. Gifs on white, gifs on black and even transparent pngs! Use with caution.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://www.mad4milk.net/files/madeon.gif&quot; style=&quot;padding: 20px&quot; /&gt;
&lt;img src=&quot;http://www.mad4milk.net/files/madeon_color.gif&quot; style=&quot;padding: 20px&quot; /&gt;
&lt;img src=&quot;http://www.mad4milk.net/files/madeon_black.gif&quot; style=&quot;padding: 20px&quot; /&gt;
&lt;img src=&quot;http://www.mad4milk.net/files/madeon_black_color.gif&quot; style=&quot;padding: 20px&quot; /&gt;
&lt;img src=&quot;http://www.mad4milk.net/files/madeon.png&quot; style=&quot;padding: 20px&quot; /&gt;
&lt;img src=&quot;http://www.mad4milk.net/files/madeon_color.png&quot; style=&quot;padding: 20px&quot; /&gt;&lt;/p&gt;

&lt;p&gt;p.s. I&amp;#8217;m on a supercool supernew powerbook, but those &lt;strong&gt;made on mac&lt;/strong&gt; icons suck.&lt;/p&gt;
</description>
            <author>Valerio Proietti</author>
            <pubDate>Mon, 06 Feb 2006 21:30:00 +0100</pubDate>
        </item>
    </channel>
</rss>
