Animated Collapsible DIV v2.4
<p>This is brilliant and good to work with, there is one issue i have if someone can help.</p>

<p>I have used example 4 bacause it visually does exactly what i need, however there is one little problem i cant solve.</p>

<p>I copied the div and now have 2 collapsible divs next to each other, which nearly do exactly what i need.</p>

<p>I have lined up the 2 divs next to each other they both open, but the one on the left pushes the right one out to the right and i don't know how to do that.</p>

<p>here is the code:</p>

<p>The animatedcollapse.js is too long to put but can be found here <a href="http://www.dynamicdrive.com/dynamici...edcollapse.htm" rel="nofollow">http://www.dynamicdrive.com/dynamici...edcollapse.htm</a></p>

<p>[code]</p>

<pre><code>&lt;script type="text/javascript"&gt;

    animatedcollapse.addDiv('jason', 'fade=1,height=80px')
    animatedcollapse.addDiv('kelly', 'fade=1,height=100px')
    animatedcollapse.addDiv('michael', 'fade=1,height=120px')

    animatedcollapse.addDiv('cat', 'fade=0,speed=400,group=pets')
    animatedcollapse.addDiv('dog', 'fade=0,speed=400,group=pets')
    animatedcollapse.addDiv('rabbit', 'fade=0,speed=400,group=pets,hide=1')

    animatedcollapse.ontoggle = function ($, divobj, state) { //fires each time a DIV is expanded/contracted
        //$: Access to jQuery
        //divobj: DOM reference to DIV being expanded/ collapsed. Use "divobj.id" to get its ID
        //state: "block" or "none", depending on state
    }

    animatedcollapse.init()
&lt;/script&gt;

&lt;div id="mobile_navigation"&gt;
&lt;div id="sectionnav"&gt;
&lt;a href="#" rel="toggle[dog]" data-openimage="section_active.gif" data-closedimage="section.gif"&gt;&lt;img src="collapse.jpg" border="0" /&gt;&lt;/a&gt; 
&lt;div id="dog"&gt;
The cat (Felis catus), also known as the domestic cat or house cat to distinguish it from other felines, is a small carnivorous species of crepuscular mammal that is often valued by humans for its companionship and its ability to hunt vermin. It has been associated with humans for at least 9,500 years. A skilled predator, the cat is known to hunt over 1,000 species for food. It can be trained to obey simple commands.
&lt;/div&gt;
&lt;/div&gt;

&lt;div id="searchnav"&gt;
&lt;a href="#" rel="toggle[cat]" data-openimage="search_active.gif" data-closedimage="search.gif"&gt;&lt;img src="collapse.jpg" border="0" /&gt;&lt;/a&gt; 

&lt;div id="cat"&gt;
The cat (Felis catus), also known as the domestic cat or house cat to distinguish it from other felines, is a small carnivorous species of crepuscular mammal that is often valued by humans for its companionship and its ability to hunt vermin. It has been associated with humans for at least 9,500 years. A skilled predator, the cat is known to hunt over 1,000 species for food. It can be trained to obey simple commands.
&lt;/div&gt;
&lt;/div&gt; 
&lt;/div&gt;
</code></pre>

<p>[/code]</p>
