Avatar of niceoneishere
niceoneishere
 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

jQueryHTMLCSS

Avatar of undefined
Last Comment
niceoneishere

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
_TAD_

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
niceoneishere

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
_TAD_

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?
niceoneishere

ASKER
Thanks for replying I used a different code and solved my issue. I will still you the points :)
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23