Hi,

on my site, when i first visit a page with the link More... on (to show all text) it looks like it it showing all the text but the height is correct.
When I click more and refresh all seems ok.

Please help

Code:
function createDisclosure(parentClass,textClass){

    $(parentClass).each(function(){
        var $text=$(this).find(textClass);
        var $height = $text.height();
        $(parentClass).data('origheight',$height);
        if($height>150){

            $(this).append("<div class='disclosure_more_less'>More...</div>");

            $(this).find('.disclosure_more_less').toggle(function(){
                    var $element = $(this).parent();
                    $(this).text('Less...');

                    /*$element.find(textClass).animate({
                        'height':$element.data('origheight')+'px',
                        'overflow':'auto'
                    });*/
                    $element.find(textClass).height($element.data('origheight'));
                    $element.find(textClass).css('overflow','visible');
                },function(){
                    var $element = $(this).parent();
                    $(this).text('More...');
                    /*$element.find(textClass).animate({
                    'height':$element.find('p:first').height()+'px',
                    'overflow':'hidden'
                    });*/
                    $element.find(textClass).height($element.find('p:first').height()+30);
                    $element.find(textClass).css('overflow','hidden');


            });
            $text.animate({
              'height':$text.find('p:first').height()+'px',
              'overflow':'hidden'
            });
        }

     });


}