> If you had the user define the animation effect in terms of the actual
> jQuery method names ("fadeIn", "slideDown", "show") and made the default be
> "show", you could replace all of that with one line:
>
> modalContent.css({top: mdcTop+'px', left: 
> mdcLeft+px}).hide()[animation](speed);


Nice, Dave!

And nice plugin, Gavin.  I like how easy it is to use.

Mike

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to