title: Flexcroll and innerHTML
body: <p>I'm trying to get content from a set of hidden (display:none) divs to display on a main "display" div using innerHTML. That part has no problem. However, flexcroll does not seem to load the moment I change the content of the "display" div using innerHTML, even after calling the updateScrollBars method. </p>
  
  <p>Here is the code in question:</p>
  
  <pre><code>function switchdis(IDS) {       
      caredet = document.getElementById('caredet');
      carednew = document.getElementById(IDS).innerHTML;
      caredet.innerHTML = carednew;
      fleXenv.updateScrollBars();
  }
  </code></pre>
  
  <p>I'm not too sure what is the problem. It seems to me like the function is called (I can scroll using the mousewheel) but the scrollbar is not appearing at all. For the record, my custom scrollbar works fine on other pages. On another page, I used the method of hiding and unhiding divs to change content within the page; the updateScrollBars() method works there when I call it after unhiding a div. </p>
  
  <p>But somehow with innerHTML it doesn't seem to work. Does anyone know why?</p>