title: Sample code for dropdown box in javascript
body: <p>Happy Saturday community, i've been building my first website and have learned tons about css,javascript,php,mvc framework and much more. Can anyone help me with a dropdown box like some of the bootsrap examples.... something like </p>
  
  <pre><code> ---------------------------
   |      HEADER            +| 
  
   ---------------------------
  
   ---------------------------
   |      HEADER            -|
   ---------------------------
   ---------------------------
   ---------------------------
  ----------------------------
  </code></pre>
  
  <p><strong>EDIT:</strong></p>
  
  <pre><code>&lt;ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu"&gt; 
      &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Action&lt;/a&gt;&lt;/li&gt; 
      &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Another action&lt;/a&gt;&lt;/li&gt; 
      &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Something else here&lt;/a&gt;&lt;/li&gt; 
      &lt;li class="divider"&gt;&lt;/li&gt; 
      &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Separated link&lt;/a&gt;&lt;/li&gt; 
  &lt;/ul&gt;
  </code></pre>
  
  <p>when expanded ???</p>