KevinBatdorf / liquidslider

A Responsive jQuery Content Slider
161 stars 62 forks source link

Chrome reports error adjustheight after width narrow.. #112

Closed theblindrat closed 9 years ago

theblindrat commented 10 years ago

This error cause when I made the browser window really narrow, like < 300px.

My code is behind the firewall, this is the error chrome is showing, my JS calling code below that:

Uncaught TypeError: Object # has no method 'adjustHeight' jquery.liquid-slider-custom.min.js:6 (anonymous function)

<script>
$(function(){

    // This wildcards to any with "slider-id" as the start of the div id name
     $('div[id^="slider-id"]').liquidSlider({dynamicTabs:false, continuous:false, slideEaseDuration: 300, hideSideArrows: true, dynamicArrowsGraphical: true}); 

});
</script>    
KevinBatdorf commented 10 years ago

Seems like you forgot to include the package in the custom builder that has the autoHeight. If you don't want the autoHeight feature, then just make sure it's set to false