It works just fine on my end. Can you post an example online?
Tracerbullet wrote: > > What is exactly is wrong with this jQuery code? I've tried for hours, but > something seems to be wrong with it. Is my logic incorrect? > > $(document).ready(function(){ > $("a").toggle(function(){ > $("p.jtest").animate({ height: 'hide', opacity: 'hide' }, 'slow'); > },function(){$("p.jtest").animate({ height: 'show', opacity: 'show' }, > 'slow'); > }); > }); > > Thanks, > Tracerbullet > -- View this message in context: http://www.nabble.com/What-is-wrong-with-this-jQuery-code--tf3169013.html#a8796133 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/