MooTools Plugins Updates: LazyLoad, LightFace, ScrollSpy, and More!

By  on  

What a busy month it's been!  I've spent a good amount of time prepping my Facebook Lightbox clone, LightFace, and working to expand my Dojo Toolkit knowledge.  I thought I'd take a few moments to catch you up on a few of my plugins and some other happenings within the MooTools plugin world.

LightFace

LightFace continues to take the world by storm.  I've made a few updates to LightFace including:

  • LightFace.Image automatically closes the LightBox when the image is clicked
  • The destroy method has been updated with a few fixes
  • A changelog has been added to record all of these updates

Please continue to file bug reports for LightFace;  I appreciate all of the comments, suggestions, and  bug reports.

LazyLoad

LazyLoad, the MooTools plugin that allows you to defer image loading until the user scrolls down/over to it, has been updated for maximum compatibility with MooTools 1.3.  Be sure to update LazyLoad on your website!

ScrollSpy

ScrollSpy has been updated to coincide with MooTools best practices:  adding a method by which you can start and stop the spy, thus remove an event once it's no longer needed.  This update was long overdue so be sure to update ScrollSpy when you get a moment.  All other functionality remains as it should.

Plugin Updates

If you aren't doing so already, you can follow me on Twitter to stay up to date with all plugin updates as I generally tweet as soon as one is updated.  MooTools FTW!

Recent Features

  • By
    Responsive and Infinitely Scalable JS Animations

    Back in late 2012 it was not easy to find open source projects using requestAnimationFrame() - this is the hook that allows Javascript code to synchronize with a web browser's native paint loop. Animations using this method can run at 60 fps and deliver fantastic...

  • By
    Welcome to My New Office

    My first professional web development was at a small print shop where I sat in a windowless cubical all day. I suffered that boxed in environment for almost five years before I was able to find a remote job where I worked from home. The first...

Incredible Demos

  • By
    CSS pointer-events

    The responsibilities taken on by CSS seems to be increasingly blurring with JavaScript. Consider the -webkit-touch-callout CSS property, which prevents iOS's link dialog menu when you tap and hold a clickable element. The pointer-events property is even more JavaScript-like, preventing: click actions from doing...

  • By
    Create a Dynamic Table of Contents Using MooTools 1.2

    You've probably noticed that I shy away from writing really long articles. Here are a few reasons why: Most site visitors are coming from Google and just want a straight to the point, bail-me-out ASAP answer to a question. I've noticed that I have a hard time...

Discussion

  1. Nice info David, I used scrollspy for now on.

  2. i hope after the update lazyload starts working on my blog, i have installed and activated it but its not working for some unknown reason.

    • try @ my lazyload..^^V

  3. Cliff

    I was using Lightface to create some dialog fields. I noticed that each call created a new Lightface object but only the first object’s elements were easily accessible – so entering different parameters in subsequent boxes had no effect. The solution was to use the destroy() function rather than the close() function. That is not obvious from the examples and documentation.

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!