Jump to content

Javascript and Pages

Featured Replies

Posted

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.

You're passing the parameters wrong

try this

$('.bxslider').bxSlider({
  mode: 'vertical',
  slideWidth: 300,
  minSlides: 4,
  maxSlides: 4,
  autoStart: true,
  slideMargin: 10
});
  • Author
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:

  • Author

Mm this is weird, apparently the javascript is still inactive :frantics:

Is perfect.

Archived

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

Recently Browsing 0

  • No registered users viewing this page.