title: Drupal toggle divs in view
body: <p>Currently I am working on huisartsendorpsstraat.zoetermeergezond.nl/care-practicioners to toggle the workers divs.
  What I am trying to accomplish is to only show a maximum of 9 workers, after that a button displays with the show more workers text.</p>
  
  <p>Getting the button ain't no problem, just added it in the footer of the view, but to make it toggle the divs it ain't just not working.
  I made sure a .js file is being called from the theme.php file of the theme.</p>
  
  <p>I ain't no Drupal expert, so I am sorry if I am asking stupid questions here.
  Has anyone found a way to toggle the divs created inside a view?</p>
  
  <p>Layout:</p>
  
  <pre><code>&lt;div class="views-row views-row-1 views-row-odd views-row-first"&gt;&lt;/div&gt;
  &lt;div class="views-row views-row-2 views-row-even"&gt;&lt;/div&gt;
  &lt;div class="views-row views-row-3 views-row-odd"&gt;&lt;/div&gt;
  &lt;div class="views-row views-row-4 views-row-even"&gt;&lt;/div&gt;
  &lt;div class="views-row views-row-5 views-row-odd views-row-last"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>thanks a bunch</p>