Hi,

I'm getting the following error while clicking on the links inside a carousel:

Uncaught TypeError: Cannot read property 'animating' of undefined (line 5 of jquery.flexslider-min.js)

which leave me on the same page.

I'm using Flexslider in a views (format: Flexslider).

Any idea how to fix this?
Thx for help.

Here is a link: http://wwwenger.kostik.net

Comments

minorOffense’s picture

A link to the slider would help debugging.

sahaj’s picture

Issue summary: View changes

Added link to help debugging (http://wwwenger.kostik.net)

tuananh3988’s picture

i same error :(

minorOffense’s picture

I don't see the error on that page in Firebug.

I'll try to keep an eye out for it. I'm deploying a couple more sites with FlexSlider soon.

Peacog’s picture

I see that the original poster has fixed the problem, but I had the same error so this might help others in the same situation. It turned out it was happening because I was trying to re-use an option set that had been set up as a navigation controller for another slider. So I cloned the optionset, cleared the 'Use as navigation' field in 'Advanced Options' and used my new optionset instead.

axelpezzo’s picture

Hi,
i've found a solution for this problem. The problem is that the FlexSlider library use a parameter called "animation" but the module uses a parameter called "animating". For this reason the library going in crash.
So, i add a behaviors into the .js file of my theme and i add a new definition for flexslider adding the right parameters:

$(".flexslider").flexslider({
animation: "fade",
});

jive01’s picture

I am getting this error as well. I suspect #6 is the right answer, but was unable to follow exactly what he did.

Can a patch be submitted for this?

Samshel’s picture

I ran into the same problem and #5 was on point. @jive01 should try that solution.

sumit-k’s picture

If you are using flexslider module then goto configuration -> media and click on edit of flexslider format.Then goto advance option and leave blank "use as navigation field" and check other configuration.It worked for me.

amaria’s picture

Status: Active » Closed (outdated)

The animating property is no longer in 7.x.2.x-dev so closing as outdated.