<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://www.mootorial.com/wiki/lib/styles/feed.css" type="text/css"?>
<rss version="2.0">
    <channel>
        <title>The MooTorial</title>
        <description></description>
        <link>http://www.mootorial.com/wiki/</link>
        <lastBuildDate>Fri, 03 Feb 2012 22:06:03 -0700</lastBuildDate>
        <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
        <image>
            <url>http://www.mootorial.com/wiki/lib/images/favicon.ico</url>
            <title>The MooTorial</title>
            <link>http://www.mootorial.com/wiki/</link>
        </image>
        <item>
            <title>Core</title>
            <link>http://www.mootorial.com/wiki/mootorial/01-core?rev=1303284659&amp;do=diff1303284659</link>
            <description>Core.js represents the first file in the library on which all others depend. Here are the docs for Core.js

MooTools

MooTools has a namespace which contains a version number. This namespace isn't used for much else, but it's useful if you need to query the page to see what version of MooTools is in the environment:</description>
            <author>Jean-Claude Dufourd</author>
            <category>mootorial</category>
            <pubDate>Wed, 20 Apr 2011 01:30:59 -0700</pubDate>
        </item>
        <item>
            <title>Color</title>
            <link>http://www.mootorial.com/wiki/mootorial/08-plugins/02-utilityplugins/01-color?rev=1295013589&amp;do=diff1295013589</link>
            <description>The Color class provides utilities for handling all sorts of color functions in javascript including blending, inverting, setting hue, saturation, and brightness. Here is the documentation for Color.js.

Constructor



/*you can use hex values*/
var black = new Color('#000');
var white = new Color('#fff');
/*you can use numerical color values*/
var purple = new Color([255,0,255]);
/* mix black with white and purple, each time at 10% of the new color*/
var darkpurple = black.mix(white, purple, 10…</description>
            <author>Ralph Eichelberger</author>
            <category>mootorial:08-plugins:02-utilityplugins</category>
            <pubDate>Fri, 14 Jan 2011 06:59:49 -0700</pubDate>
        </item>
        <item>
            <title>Events</title>
            <link>http://www.mootorial.com/wiki/mootorial/03-native/05-event?rev=1295002411&amp;do=diff1295002411</link>
            <description>The Events class is a collection of functions for handling events across browsers. Here is the documentation for Event.js.

Whenever you add an event to a DOM element (not to be confused with the //Events// class in Class.Extras) the argument passed to that function will be the event native. This has been extended like other natives to have additional properties by MooTools.</description>
            <author>Ralph Eichelberger</author>
            <category>mootorial:03-native</category>
            <pubDate>Fri, 14 Jan 2011 03:53:31 -0700</pubDate>
        </item>
        <item>
            <title>Hash</title>
            <link>http://www.mootorial.com/wiki/mootorial/03-native/04-hash?rev=1295002289&amp;do=diff1295002289</link>
            <description>Here is the documentation for Hash.js.

The Hash returns a hash map object with various helper functions for managing a JavaScript object. We must use .set, .get, and .remove to add/change, retrieve and remove values; we must not access the internal object directly. null values are allowed. Pass in an object to convert to a Hash.</description>
            <author>Ralph Eichelberger</author>
            <category>mootorial:03-native</category>
            <pubDate>Fri, 14 Jan 2011 03:51:29 -0700</pubDate>
        </item>
        <item>
            <title>Strings</title>
            <link>http://www.mootorial.com/wiki/mootorial/03-native/03-string?rev=1295002116&amp;do=diff1295002116</link>
            <description>Strings

Here is the documentation page for String.js.

String.test

Tests a string against a regular expression; optional second parameter for Regex options. Accepts regular expressions in both string and regexp mode.


&quot;I like cookies&quot;.test(&quot;cookie&quot;); // returns true</description>
            <author>Ralph Eichelberger</author>
            <category>mootorial:03-native</category>
            <pubDate>Fri, 14 Jan 2011 03:48:36 -0700</pubDate>
        </item>
        <item>
            <title>Numbers</title>
            <link>http://www.mootorial.com/wiki/mootorial/03-native/02-number?rev=1295002093&amp;do=diff1295002093</link>
            <description>Here is the documentation for Number.js.

Number.toInt, .toFloat

Number.toInt() just returns the number; useful because toInt must work on both Strings and Numbers. Note that if you call .toInt() on a float, you'll get an integer back. 


var x = 10;
x.toInt(); //returns 10</description>
            <author>Ralph Eichelberger</author>
            <category>mootorial:03-native</category>
            <pubDate>Fri, 14 Jan 2011 03:48:13 -0700</pubDate>
        </item>
        <item>
            <title>Arrays</title>
            <link>http://www.mootorial.com/wiki/mootorial/03-native/00-array?rev=1295001901&amp;do=diff1295001901</link>
            <description>Here is the documentation for Array.js.

Array.each

Array.each() iterates through the array executing the specified function for each item in the array. The anonymous function can be passed two arguments (optional) - the item and the index.

.each() is really just a pointer to .forEach, which MooTools implements for browsers that don't already support it. Here's the documentation at Mozilla on .forEach.</description>
            <author>Ralph Eichelberger</author>
            <category>mootorial:03-native</category>
            <pubDate>Fri, 14 Jan 2011 03:45:01 -0700</pubDate>
        </item>
        <item>
            <title>Functions</title>
            <link>http://www.mootorial.com/wiki/mootorial/03-native/01-function?rev=1295001463&amp;do=diff1295001463</link>
            <description>Here is the documentation for Function.js.

Function.create

.create automatically wraps the function into another one with the defined set of functionalities, therefore shortens your code. It's used throughout mootools itself, as the foundation for .pass, .bind, .delay, .periodical.</description>
            <author>Ralph Eichelberger</author>
            <category>mootorial:03-native</category>
            <pubDate>Fri, 14 Jan 2011 03:37:43 -0700</pubDate>
        </item>
        <item>
            <title>Drag.Move</title>
            <link>http://www.mootorial.com/wiki/mootorial/08-plugins/01-drag/01-drag.move?rev=1295001055&amp;do=diff1295001055</link>
            <description>Here is the documentation for Drag.Move.js.

Drag.Move extends Drag to support moving an element around the page. 

The usage is pretty straight forward:


new Drag.Move($('fxTarget'));


It takes all the options that Drag takes and adds two new ones:</description>
            <author>Ralph Eichelberger</author>
            <category>mootorial:08-plugins:01-drag</category>
            <pubDate>Fri, 14 Jan 2011 03:30:55 -0700</pubDate>
        </item>
        <item>
            <title>Class.Extras - old revision restored</title>
            <link>http://www.mootorial.com/wiki/mootorial/02-class/01-class.extras?rev=1283136429&amp;do=diff1283136429</link>
            <description>Class.Extras

This file contains a few basic functionalities that are useful for many types of classes. You can add the functionality in these extras to any one of your classes easily by using Class.implement.

Here are the docs for Class.Extras.js</description>
            <author>Aaron Newton</author>
            <category>mootorial:02-class</category>
            <pubDate>Sun, 29 Aug 2010 20:47:09 -0700</pubDate>
        </item>
        <item>
            <title>Element Core</title>
            <link>http://www.mootorial.com/wiki/mootorial/04-element/00-element?rev=1274110181&amp;do=diff1274110181</link>
            <description>Here is the documentation for Element.js.

The Element object gets a LOT of love in MooTools. Most of the functions in the Element object are pretty self explanatory. Element.getTag does what you'd think it would.

Element Constructor

This just creates a new element object - same as document.createElement, but it also applies the MooTools extensions to that element.</description>
            <author>Aaron Newton</author>
            <category>mootorial:04-element</category>
            <pubDate>Mon, 17 May 2010 09:29:41 -0700</pubDate>
        </item>
        <item>
            <title>Request (aka Ajax) - old revision restored</title>
            <link>http://www.mootorial.com/wiki/mootorial/07-request/00-request?rev=1267740114&amp;do=diff1267740114</link>
            <description>Here is the documentation for Request.js.

The Request class is a relatively simple wrapper for the XMLHttpRequest object (the heart of Ajax functionality). 

It takes the following options: 

Then you'll need to call the .send method to actually initiate a request. .send takes two arguments, the url, and the data to send.</description>
            <author>Aaron Newton</author>
            <category>mootorial:07-request</category>
            <pubDate>Thu, 04 Mar 2010 15:01:54 -0700</pubDate>
        </item>
    </channel>
</rss>

