Heosforo Posted July 1, 2017 Share Posted July 1, 2017 Hello guys I've been fighting with bxslider for some time, and still can't make it work This in header <script src="http://site.com/js/jquery.bxslider.min.js"></script> <link href="http://site.com/js/jquery.bxslider.css" rel="stylesheet" /> and this in a "Manual HTML page" (Pages) <script type="text/javascript"> $(document).ready(function(){ $('.bxslider').bxSlider(); mode: 'vertical', slideWidth: 300, minSlides: 4, maxSlides: 4, autoStart: true, slideMargin: 10 }); }); </script> With firebug I see that the css is working, but the javascript appears inactive. What am I doing wrong? Thanks for any help. Link to comment Share on other sites More sharing options...
TAMAN Posted July 1, 2017 Share Posted July 1, 2017 You're passing the parameters wrong try this $('.bxslider').bxSlider({ mode: 'vertical', slideWidth: 300, minSlides: 4, maxSlides: 4, autoStart: true, slideMargin: 10 }); Link to comment Share on other sites More sharing options...
Heosforo Posted July 2, 2017 Author Share Posted July 2, 2017 5 hours ago, TAMAN said: You're passing the parameters wrong try this $('.bxslider').bxSlider({ mode: 'vertical', slideWidth: 300, minSlides: 4, maxSlides: 4, autoStart: true, slideMargin: 10 }); ahhh gosh, I love you Link to comment Share on other sites More sharing options...
Heosforo Posted July 2, 2017 Author Share Posted July 2, 2017 Mm this is weird, apparently the javascript is still inactive Is perfect. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.