Jump to content

Javascript and Pages


Heosforo

Recommended Posts

Hello guys
I've been fighting with bxslider for some time, and still can't make it work :mad:

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.
KmFOazn.png

What am I doing wrong? 

Thanks for any help.

Link to comment
Share on other sites

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 :lol:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...