Div Click on Image / Slide to new div possible with JQuery?
<p>I am looking for some way to click on an image or link on a Div and it will slide to another div without changing to height...so something like the below</p>

<pre><code>&lt;div id="div1"&gt;
&lt;img src="image.jpg" onclick="slide_to_other_div" /&gt;
&lt;/div&gt;

&lt;div id="div2" style="display:none"&gt;
&lt;p&gt;Another Div Here&lt;/p&gt;
&lt;/div&gt;
</code></pre>

<p>But I don't want an accordion effect... I want to slide to Div2 without affecting the height?</p>

<p>Explained further ... </p>

<p>Suppose you have a table></p>

<pre><code>&lt;table&gt;
&lt;tr&gt;
  &lt;td id="div1"&gt;&lt;a href="#div2"&gt;Slide to Div2 Direction --&gt; &lt;/a&gt;&lt;/td&gt;
  &lt;td&gt; id="div2" style="display:none"&gt;This is Div 2&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>So, Div1 scrolls sideways to Div2 when I click on the link to Div2</p>
