Getting Jiggy with JavaScript
Code, Web April 13th, 2007I’ve recently accepted a position at NextStat and many of the projects I’m working on are ideal candidates for JavaScript flashiness. I played around with Scriptaculous and Prototype but for me the holy grail of JS frameworks is Moooooooootools.
I’ve used a lot of sliders in my code recently and it’s brain-dead simple:
-
var lislider; window.onload = function() { lislider = new Fx.Slide(‘newlineitem’); lislider.hide(); }
And then whenever I want to toggle the slider I use:
-
lislider.toggle();
What could be easier? If you want to get started with a VERY powerful, yet lightweight JavaScript framework, give MooTools a try.






Recent Comments