title: jquery expand/toggle - initial div size
body: <p>Please see my code below... </p>
  
  <p>I am puzzled and want to initially show 30px (in height) of the below div. At present I can only toggle to show or hide.</p>
  
  <p>What I actually want is to show the first 30px and toggle/show anything contained below that.</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;meta charset=utf-8 /&gt;
  &lt;script type="text/javascript"&gt;
    $(document).ready(function() {
    // Hide the "view" div.
    $('div.view').hide();
    // Watch for clicks on the "slide" link.
    $('div.slide').click(function() {
    // When clicked, toggle the "view" div.
    $('div.view').slideToggle(400);
    return false;
  });
  });
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div class="view"&gt;
    &lt;p&gt;shown/hidden depending on the toggle above. &lt;/p&gt;
    &lt;p&gt;shown/hidden depending on the toggle above. &lt;/p&gt;
    &lt;p&gt;shown/hidden depending on the toggle above. &lt;/p&gt;
    &lt;p&gt;shown/hidden depending on the toggle above. &lt;/p&gt;
    &lt;p&gt;shown/hidden depending on the toggle above. &lt;/p&gt;
    &lt;p&gt;shown/hidden depending on the toggle above. &lt;/p&gt;
    &lt;p&gt;shown/hidden depending on the toggle above. &lt;/p&gt;
    &lt;p&gt;shown/hidden depending on the toggle above. &lt;/p&gt;
    &lt;p&gt;shown/hidden depending on the toggle above. &lt;/p&gt;
  &lt;/div&gt;
  &lt;div class="slide" style="cursor: pointer;"&gt;Show/Hide&lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Thanks</p>