Load content into div with Jquery
<p>I hoping someone out there can help me out with a Jquery problem I'm running into. I'm trying to find a way to load multiple pieces of content into a div using a next and back button. </p>

<p>Here's a pic to explain:</p>

<p><img src="http://www.lindsaygross.com/shared/slideshow.png" alt="Jquery Slideshow Picture"></p>

<p>This is for a portfolio. Ideally what I would like this to do is when a user clicks on the left or right green arrow it changes all the client content below it (everything in .clientbox including the photo slideshow) to another div with a class of .clientbox.</p>

<p>I'm completely open to suggestions on a better way to structure this as well. I've thought about trying to make the client navigation pull the .clientbox info from other local html pages but I haven't had any luck any way I've tried it. </p>

<p>Anyone have any ideas? I'm completely stuck on this one. </p>

<p>Here is the code I'm using:</p>

<pre><code>    &lt;div class="container_24 slider_clients"&gt;

&lt;!-- Top Slider Navigation to rotate clients --&gt;
&lt;span class="grid_1 prefix_4"&gt;
        &lt;a id="mainlf_slidenav" class="left"&gt;&lt;/a&gt;
    &lt;/span&gt;

  &lt;span class="grid_12 prefix_1 slider_headertxt"&gt;
    &lt;p&gt;Client Number 1&lt;/p&gt;
    &lt;/span&gt;

  &lt;span class="grid_1 prefix_1"&gt;
    &lt;a id="mainrt_slidenav" class="right"&gt;&lt;/a&gt;
    &lt;/span&gt;

&lt;!-- END Top Slider Navigation to rotate clients --&gt; 

    &lt;div class="clientbox"&gt;

    &lt;div id="slides" class="clear_left"&gt;


    &lt;div class="grid_2 clear_left"&gt;
        &lt;!-- "previous slide" button --&gt; 
        &lt;a class="prev" id="sublf_slidenav"&gt;&lt;/a&gt; &lt;!-- Affects the &lt;li&gt; for each image in slider_background --&gt;
    &lt;/div&gt;


        &lt;span class="grid_20 slider_background slides_container"&gt; &lt;!-- DIV FOR PHOTOS OF EACH CLIENT --&gt;

                &lt;img src="images/logo.png" alt="Client Image 1" /&gt; 
                &lt;img src="images/slider_nav.png" alt="Client Image 2" /&gt; 
                &lt;a&gt;&lt;img src="#" alt="Client Image 3" /&gt;THE IMAGE WILL GO HERE IN PLACE OF THIS TEXT&lt;/a&gt;
                &lt;img src="#" alt="Client Image 4" /&gt;

        &lt;/span&gt; &lt;!-- END slider_background --&gt;


    &lt;div class="grid_2"&gt;
        &lt;!-- "next slide" button --&gt; 
        &lt;a id="subrt_slidenav" class="next"&gt;&lt;/a&gt; &lt;!-- Affects the &lt;li&gt; for each image in slider_background --&gt;
    &lt;/div&gt;


        &lt;span class="clear_left"&gt;
        &lt;span id="slider_objective" class="grid_9 prefix_2"&gt;

            &lt;h2&gt;Objective:&lt;/h2&gt;
            &lt;p&gt;Design a website that engages visitors with a fun, yet professional, tone while drawing interest in the array of products offered by Nspire and connecting visitors tot he people who make up the company through the use of social media.&lt;/p&gt;

        &lt;/span&gt; &lt;!-- END slider_objective --&gt;

        &lt;span id="slider_cultivated" class="grid_11 prefix_1"&gt;

            &lt;h2&gt;What We Cultivated:&lt;/h2&gt;
            &lt;ul&gt;
                &lt;li&gt;Fun &amp; Professional tone by using strategic copywriting&lt;/li&gt;
                &lt;li&gt;Latest blog posts widget that dynamically pulled posts&lt;/li&gt;
                &lt;li&gt;Twitter integration showing the most recent tweet&lt;/li&gt;
                &lt;li&gt;Salesforce CRM integration with forms&lt;/li&gt;
                &lt;li&gt;Interactive product descriptions&lt;/li&gt;
            &lt;/ul&gt;

        &lt;/span&gt; &lt;!-- END slider_cultivated --&gt;

        &lt;/span&gt; &lt;!-- END clear_left --&gt;

    &lt;/div&gt; &lt;!-- END slides --&gt;


&lt;/div&gt; &lt;!-- END clientbox --&gt;

&lt;/div&gt; &lt;!-- END div container_24 --&gt;

&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"&gt;&lt;/script&gt;
&lt;script src="js/slides.min.jquery.js"&gt;&lt;/script&gt;
</code></pre>

<p>And the Jquery I'm using for slider.js:</p>

<pre><code>&lt;script language="javascript"&gt;
$(function(){
  $("#slides").slides({
    next: 'next'
  });
});
&lt;/script&gt;
</code></pre>
