slideToggle Jump
<p>I have seen many posts about the issue with jQuery and the slide toggle jump issue but I am new to this code and do not understand fully what I need to do to fix it. I am attempting to have several button and when button1 is clicked it opens but then when another button (button2) is clicked the Button1 closes and Button2 opens. I have this part working but I am still suffering from the jumping issue. Here is my code:</p>

<pre><code>function toggleDiv(divId) {
   $('div[name|="newboxes"]').each(function(index) {
   if ($(this).attr("id") == divId) {
       $(this).slideToggle(1500, "easeInOutCirc") 
   } else {
       $(this).slideUp(500, "easeInOutCirc");
   }
   });
function toggleByClass(className) {
     $("."+className).toggle();
}
}
</code></pre>

<p>Any advice would be very helpful and very much appreciated.<br>
Thanks.</p>
