I just created this: jsfiddle.net/MWzDe/ ,
JS:
$('button').click(function () { if ($('ul').height = 0) { $('ul').animate({'height':'100%'},'slow'); } else { $('ul').animate({'height': 0},'slow'); }});
I need to move the tag 'ul' up / down without 'really' to disappear. What is wrong with the code? doesn't do it yet. thanks.
source share