Link to home
Start Free TrialLog in
Avatar of Tammu
Tammu

asked on

Onclick of anchor tag I am showing Customer Testimonials DIV but the height is not expanding

am displaying customer testimonials in a horizontal scroll using flexslider. They are displayed when you click on view all testimonials link as shown below in JSFiddle

You will notice that when the link is clicked the testimonial container gets displayed but the height is getting not expanding. I am pretty sure I am missing like style height or something.

Thanks and appreciate it

JSFiddle DEMO

$('#see-all').click(function () {
   $(".cust-reviews-show").slideToggle();
});
$('.cd-testimonials-wrapper').flexslider({
    selector: ".cd-testimonials > li",
    animation: "slide",
    controlNav: false,
    slideshow: false,
    smoothHeight: true,
    start: function () {
        $('.cd-testimonials').children('li').css({
            'opacity': 1,
            'position': 'relative'
     });
    }
});

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of _TAD_
_TAD_

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tammu
Tammu

ASKER

Thanks for replying but its not displaying properly what I mean is if you click on view all testimonials the black box being displayed below is not showing properly as you can't see the content inside
Which browser are you using?  

This code only works with IE9, Chrome and a fairly recent build of FireFox.   Is it possible you are testing on an incompatible browser?

What happens in other browsers?
Avatar of Tammu

ASKER

Thanks for replying I used a different code and solved my issue. I will still you the points :)