Released: MooTools 1.2.3
Posted on | June 19, 2009 | No Comments
I’m excited to tell you that MooTools 1.2.3 has been released today! It’s mainly bug fixes and updates. One major change is compatibility with other frameworks. Like the MooTools-Dev team, I do not advise using more than one framework. But if you have to.. then you have to. See below for a list of changes, straight from the cows mouth! Read more
Search Stylesheet Selectors with MooTools
Posted on | June 12, 2009 | No Comments
You should already know that MooTools has Fx.Morph, that allows you to animate multiple css properties on an element and you can also pass it a selector string so you don’t have to type out all of the properties.
Well, you can also pull these properties by using an undocumented method in MooTools, as I just learned from Mark Obcena. How? It’s very simple as you will see. Read more
MooTools TextOverlay Class
Posted on | May 18, 2009 | No Comments
Some classes I’ve come across do a lot and are inflexible. I’ve seen some that are semantically incorrect when it comes to creating/using elements that the user has no control over. So I’ve been mulling over the idea of rewriting/cleaning/correcting some of these classes that I come across in hopes to make them flexible and simple. Well, I decided to have a go at it, obviously
I understand it’s like re-inventing the wheel. But in order to improve, we should always scrutinize work because a better solution may be available.
Here’s my first attempt, with the MooTools class, TextOverlay. If you look closely, it’s MooTools-More OverText modified to give the user more options. Read more
MooTools FileManager by Christoph Pojer
Posted on | April 29, 2009 | No Comments
Christoph, one of MooTools’ developers and creator of Styx, a PHP framework, created a MooTools based File Manager. I’ve tried out his demos, and everything seems VERY slick. It has loads of features too. Read more
MooTools 1.2.2 and More Released!
Posted on | April 23, 2009 | No Comments
Valerio Proietti just posted the release of MooTools 1.2.2 and MooTools More (1.2.2.1).
Looks like there are some goodies from the Core:
MooTools 1.2.2 is a mainly a bug fix release but it also includes an almost entirely new Class.js. The reasoning behind this is that the old Class.js didn’t play nicely with some advanced usages of this.parent() present in the new MooTools-More. We already had the script ready and tested in the MooTools 2.0 branch so we simply “backported” it to 1.2.2. Other than providing the parent fixes, the new Class also features a much more robust inheritance model, especially when dealing with objects.
And something for the More:
One of the new features of MooTools-More, since the last RC, is that it is now possible access the previous state of overwritten methods of classes through Class.refractor.
And last bit of exciting news: quick/regular new feature bi-weekly releases.
Way to go team! Thank you for the awesome work!
Smarty Debug with Firebug
Posted on | April 16, 2009 | No Comments
I use Smarty, a template engine, at work. One of the most awesome things about it is the debug window, where it can list all the templates being used and variables that are available.
Mike Horn shared with me how a user, named Hipska, created a Smarty debug template file that works with Firebug. I thought it was so awesome and decided to share it with you too, but with a slight tweak of my own. Read more
Sly, New Selector Engine & How to Use in MooTools
Posted on | March 26, 2009 | 1 Comment
You’ve heard of selector engines right? The engine that parses the HTML to match a string argument to return matching HTML elements? How about Sizzle and Peppy (two fast selector engines) that was released? Or how a couple JS frameworks were implementing Sizzle and the MooTools dev team decided not to follow suit?
Now, have you heard of Sly, the new selector engine on the block? No? That’s because Harald Kirschner just released it yesterday, 03/25/09, and I can’t tell you how awesome it is.. or can I?
I’ll start you off with a brief description… and graphs! Read more
SitePoint’s Andrew Tetlaw on Styling html and body tags
Posted on | February 13, 2009 | 3 Comments
If a page has a background different from it’s content’s background, like most people, I usually begin building a page by styling the body tag with one background and a div container where the content would go with another background. SitePoint’s Andrew Tetlaw wrote up a pretty awesome article on making use of the html tag along with the body tag so I won’t have to add redundant tags for backgrounds. Read more
MooTools ContextMenu Class by David Walsh
Posted on | January 29, 2009 | No Comments
Do you need to write some custom code or plug-in together for a context menu? I’m talking about the menu that comes up when you use your right mouse click. Well, now you don’t because David Walsh has release a pretty wicked and flexible ContextMenu class for MooTools. Read more
CSS Best Practice #4: Understand Selector Specificity for Better Speed and Easier Override
Posted on | January 10, 2009 | 1 Comment
Understanding the specificity of CSS selectors is important because it makes overriding your previous styles easier. The fastest to slowest selectors also corresponds to how easy it will be to override the cascaded and/or inherited style rules. Read more