Closed ghost closed 10 years ago
That function was in liquid slider v2. Are you getting this from a tutorial somewhere?
Try
SliderObject.adjustHeight(true)
I don't have any error anymore. But It does not adjust the height.
What is it doing instead? Can you show me?
I auto generate images using javascript. It overflows the panel so I want to adjust the height.
I use this code. var sliderObject = $.data( $('#slider-id')[0], 'liquidSlider'); sliderObject.adjustHeightNoAnimation();
but it gave me this error Cannot call method 'adjustHeightNoAnimation' of undefined. The sliderObject is undefined when I alert(sliderObject)