I noticed that the page didn't work right with IE and also didn't stop
the animation if you did mouseover/out quickly. This version works a
bit better:

        var $cont = $('#scrollMe');
        var parentHeight = $cont.height();
        var childHeight = $cont.find('li:first').height();
        $cont.height(childHeight);
        $cont.hover(function(){
                $cont.stop().animate({
                        height: parentHeight
                },'slow');
        },function(){
                $cont.stop().animate({
                        height: childHeight
                },'slow');
        });

Reply via email to