form and substance of communication

menu

Among dozens of WordPress plugins involving content indexing, Collapsing Archives and Collapsing Categories by Rob Felty are able to manage hierarchy and nesting better than any other.

Since the effects and some of the script core depend on the jQuery framework, I had been missing a corresponding MooTools plugin not involving page overloads. Even the SuperSlider-Menu seems to me too invasive.

When editing the PHP code of the plugins in order to match the MooTools Slider, I’ve been hardly inspired by the neat and solid script provided byShawn Milker. Most of the widget features of the jQuery counterparts have been preserved, including cookies. Now, the remaining page and link plugins of the same series might be converted as well.

MooTools 1.11 versions:
moo-collapsing-archives_052_mt111.zip
moo-collapsing-categories_052_mt111.zip

MooTools 1.2.5 versions:
mootools-collapsing-archives.0.5.3.zip
mootools-collapsing-archives.0.5.4.zip
mootools-collapsing-archives.0.5.5.zip
mootools-collapsing-categories.0.5.2.zip
mootools-collapsing-categories.0.5.4.zip
mootools-collapsing-categories.0.5.5.zip

In the WordPress official plugin directory, with docs, changelog and version archive:
Moo Collapsing Archives
Moo Collapsing Categories


lava lamp

April 28th, 2010

wordpress lavalamp menu

The animated LavaLamp menu is funny, pleasing and lightweight. Originally developed in MooTools flavour, it has been ported to jQuery, and now it could be installed with ease on WordPress platforms to have a role in a blog index.

The LavaLamp menu plugin makes everything easy:
lavalamp-menu.0.1.zip
LavaLamp menu in the WordPress plugin archive.

Let’s explain the features with detailed source code.
In order to show the effect anywhere into the template, we have to define in functions.php a custom way to show the navgation menu:

continue…


light

April 16th, 2010

wordpress multibox plugin

There are many modal window plugins, commonly known as “lightbox”, available online: multiBox coded by phatfusion is powerful and relatively lightweight, it is probably the best option within the MooTools framework.

Starting from that script, Manfred Rutschmann, has released the WordPress Multibox Plugin, to make the installation process into a WordPress blog easy and straightforward.

Unfortunately, this plugin could conflict with other extensions, since it injects <script> tags into the page without checking if the code has already been loaded, as the WordPress documentation crearly recommends.

So, I’ve modified the file multibox.php in order to run wp_register_script and wp_enqueue_script function for javascript loading without hassle:

continue…


Scripts developed under the MooTools framework are useful to easily achieve complex menu displaying effects.

For instance MooTabs creates tabbed menu, like those used by the browser or the OS, from ordered and unordered lists. This could be a great option if dealing with small spaces in the page: when clicking one of the triggers, the content of the main box gets replaced, with custom styles and transitions.
The script class, originally built for earlier MooTools 1.11, has been completely upgraded in Fx.Tabs for the newest framework version, while Perspective Tabs offers an even more complex approach.

Similarly, MGFX.Tabs is driven to the same purpose, by crossfading the CSS opacity value instead of sliding the content.

So I’ve decided to combine and arrange the effects in a single javascript file:

continue…


  • development diary