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
    Serving Fonts from CDN

    For maximum performance, we all know we must put our assets on CDN (another domain).  Along with those assets are custom web fonts.  Unfortunately custom web fonts via CDN (or any cross-domain font request) don't work in Firefox or Internet Explorer (correctly so, by spec) though...

Incredible Demos

  • By
    Style Textarea Resizers

    Modern browsers are nice in that they allow you to style some odd properties.  Heck, one of the most popular posts on this blog is HTML5 Placeholder Styling with CSS, a tiny but useful task.  Did you know you can also restyle the textarea resizer in WebKit...

  • By
    JavaScript Copy to Clipboard

    "Copy to clipboard" functionality is something we all use dozens of times daily but the client side API around it has always been lacking; some older APIs and browser implementations required a scary "are you sure?"-style dialog before the content would be copied to clipboard -- not great for...

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!