Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Function not being updated correctly Reply To: Function not being updated correctly

#236201
Alen
Participant

You need to call calcLeftWrapper(); when the page is done fading in.

In your code, try:

/* code emmited for brevity */
$mainContent.fadeIn(200, function() {
  $pageWrap.animate({
    height: baseHeight + $mainContent.height() + "px"
  });
 calcLeftWrapper(); /* fn call */
});