title: Website with a tricky structure with JS
body: <p>Here is my tricky problem. I'm trying to do this:</p>
  
  <blockquote>
    <p><a href="http://www.hostingpics.net/viewer.php?id=767312test.gif" rel="nofollow">http://www.hostingpics.net/viewer.php?id=767312test.gif</a></p>
  </blockquote>
  
  <p>(More clear than an explication I think). </p>
  
  <p>My structure :</p>
  
  <pre><code>&lt;header&gt;&lt;/header&gt;
  
  &lt;div class="section"&gt;
  &lt;div class="text"&gt;&lt;/div&gt;
  &lt;div class="content"&gt;&lt;/div&gt;
  &lt;div class="img"&gt;&lt;img src="img1.png"/&gt;&lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div class="section"&gt;
  &lt;div class="text"&gt;&lt;/div&gt;
  &lt;div class="content"&gt;&lt;/div&gt;
  &lt;div class="img"&gt;&lt;img src="img2.png"/&gt;&lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div class="section"&gt;
  &lt;div class="text"&gt;&lt;/div&gt;
  &lt;div class="content"&gt;&lt;/div&gt;
  &lt;div class="img"&gt;&lt;img src="img3.png"/&gt;&lt;/div&gt;
  &lt;/div&gt;
  
  &lt;footer&gt;&lt;/footer&gt;
  </code></pre>
  
  <p><strong>Important informations :</strong></p>
  
  <ul>
  <li>"Header" is fix </li>
  <li>"Content" fit to the screen less the height of header</li>
  <li>Every "section" are the same but with different content</li>
  <li>When the image comes to an end, the "content" div is unfixed.</li>
  </ul>
  
  <p>I am using "section" for implementing a next and previous button in the header (with anchors). </p>
  
  <p>My problem is the scrolling part. I am really lost when I try to fix the "content" div. I don't know how to fix everything except the scroll of the image in the active "img" div   when the active "content" div hits the header. (Everyone follows? Look here : <a href="http://www.hostingpics.net/viewer.php?id=767312test.gif" rel="nofollow">http://www.hostingpics.net/viewer.php?id=767312test.gif</a> </p>
  
  <p>For the scrolling part in the "img" div, I was thinking use a sort of "overflow:scroll" but the scrollbar is really awful. </p>
  
  <p>I don't know if it's enough clear. If there is any problem I can complete my problem. I am not very comfortable with complex structures in html with JS.</p>
  
  <p>Thanks for your help!</p>