Javascript

Using MooTools 1.2 in Joomla

MooTools is on version 1.2.3 (after completely dropping 1.1.1 as the default about a year ago), and version 2.0 is expected before years' end. Joomla however, still is including 1.1.1 because of compatibility issues with various plugins. People have been asking how to safely replace the version of MooTools included. Since I've done this several times, I figured I'd share my method here.

Scrollwheel functionality

I've added functionality to the custom scrollbar feature so that it accepts input from a scrollwheel mouse. Give it a whirl!

 

Click and drag panning using the middle mousebutton is not supported. Also, IE seems to ignore some of my CSS settings (even though it fully supports them) which means that the margin for this textbox is wrong on IE (something I'll have to look into). But the scrolling deffinitely works. 

Pages