Reputation: 141
I have been using this carousel to load images dynamically in my homework project of ASP .NET. In the documentation of this carousel , there is an option called "activeClassName" which is used to get the center item (if I have interpreted it correctly) but still I am unable to get this class in my ASPX file where I have written my javascript code since I am new to Jquery as well as javascript. I have searched through net and still I could get as far as making an object of a class like this:
a = new classA;
Can somebody give me any example of how to use this option please?
Upvotes: 0
Views: 221
Reputation: 14054
If you read the comment in the following code (from the site you linked)
$("#waterwheelCarousel").waterwheelCarousel({
// include options like this:
// (use quotes only for string values, and no trailing comma after last option)
// option: value,
// option: value
});
They tell you how to do it :)
So basically,
$("#waterwheelCarousel").waterwheelCarousel({
activeClassName: 'yourclassname'
});
will do the trick.
Upvotes: 1