I would like to use a jQuery plugin called Superfish as the menu on my website.
I'm currently using Dojo as my JavaScript framework. But, Dojo 1.4 supports some of jQuery's API (everything except animation, I think?). So I am able to run the whole plugin, except the "animation" part. My question is:
How do I translate the jQuery $ul.animate()
method with Dojo?
showSuperfishUl : function(){
var o = sf.op,
sh = sf.c.shadowClass+'-off',
$ul = this.addClass(o.hoverClass)
.find('>ul:hidden').css('visibility','visible');
sf.IE7fix.call($ul);
o.onBeforeShow.call($ul);
$ul.animate(o.animation,o.speed,function(){ sf.IE7fix.call($ul); o.onShow.call($ul); });
return this;
}
Thanks in advance!