Doesn't Disqus provide you with a callback of any sort in it's api ?

Otherwise maybe you can watch out for dom changes and make it trigger your
resizing method.

And if you're really desperate there's always good old "let's execute that
periodically until whatever happens".

Michel Belleville


2009/11/24 Dave <[email protected]>

> I have a comment form that is fed by Disqus. It is in a div that is
> scrolled with ui.slider.
>
> The problem is, I determine the maxScroll by calculating teh
> difference between the scrolling content and the viewport. Work great
> all across the site except here.
>
> Reason is, the var fot the div's heigh is set when the page loads.
> Then the Disqus content loads, and the height var doesn't know that
> the dom is not full of content.
>
> SO how can I update the height of a parent div when ever a child's
> height changes.
>
> Any ideas?
>

Reply via email to