YUI Effects Library

DavGlass has created an effects library for the YUI libraries to match those of Scriptaculous. The example page can be found here, the JS source code is here.

I applied this library to an existing application to show/hide the online Help with a Blind Up/Blind Down effect:

function toggleHelp(){
   var d = YAHOO.util.Dom.get(’divHelp’);
   if(d.style.display == ‘none’){
      YAHOO.widget.Effects.BlindDown(d,{duration:1});
   }else{
      YAHOO.widget.Effects.BlindUp(d,{duration:1});
   }
}

One Response to “YUI Effects Library”

  1. Dav Glass Says:

    Jeff -

    Glad you liked the effects..

Leave a Reply