Scroll to the bottom after a toggleslide?
<p>I'm trying to do the following - Once I click the a href the form-container slides down, no issue there. I'm also trying to have the page scroll down to the bottom (smooth, animated scrolling) so the content is viewable during the slide down.</p>

<p>My attempt:</p>

<pre><code>&lt;a class="enter" id=slide href="#bottom"&gt;&lt;/a&gt;
&lt;div class="form-container"&gt;
&lt;/div&gt;

    &lt;script type="text/javascript"&gt;     
$("#slide").click(function () {
   $('.form-container').slideToggle();
});

$("a[href='#bottom']").click(function() {
  $('html, body').animate({ 
   scrollTop: $(document).height()-$(window).height()}, 
   1400, 
   "easeOutQuint"
);
});    
    &lt;/script&gt;
</code></pre>
