Javascript slider jquery

<script type="text/javascript">
  $(window).load(function() {
    $('.flexslider').flexslider({
        controlNav: false,
        animation: "fade",
        startAt: 0,                     
        slideshow: true,                
        slideshowSpeed: 7000,
    });     
});
</script>

Why doesn't my slider work? I copy pasted it from an other script so I am clueless where to start.

Answers


Delete the comma after slideshowSpeed: 7000, and you are good to go ;)


Need Your Help

unresolved import in python opencv samples

python opencv pydev

I am having problem running the opt_flow.py in /opencv/samples/python2.

Call to undefined method Doctrine\DBAL\Configuration::getFilterSchemaAssetsExpression()

php mysql symfony2 doctrine2 vendor

I updated my vendors on symfony2, and after I began to got this error, I have no idea why apper

Custom to_yaml and domain_type

ruby yaml

I need to define custom methods for serializing/deserializing an object. I want to do something like the following.