Using Script.aculo.us to Toggle a DIV

Posted by jay on December 14, 2006 under AJAX | 18 Comments to Read

This is a nice little trick that I am constantly going back to Script.aculo.us to look up. This Hides/Shows (Toggles) a DIV (or any element) with the click of a link using the Script.aculo.us Effect.toggle(’ELEMENT’,'EFFECT’) function. Script.aculo.us has 16+ Combination Effects but only a few can be used with Toggle.
Read more of this article »