I am trying to make a div that will disappear after slideUp ().
html:
<div class="rounded gradient" id="BCBox">
<ul class="BCSelect">
<li style="text-align:left;">Welcome <b>Username</b>,<br/><br/>Bla Bla Bla: </li>
<li>
<div class="button2 BCButton">
</div>
</li>
</ul>
</div>
β
javascript:
$('#BCBox').height($('#BCBox').height());
$('#BCBox').slideUp();β
Here you can see the demo: http://jsfiddle.net/4feU9/7/
Somehow, the box does not want to animate how it should ... It is moving fast. you can help? What am I doing wrong?
source
share