I have used the jQuery cycle on the home page of my site, and have it working well. If I enable the Nice Menus, module however, the cycle stops working entirely, with no JS errors.

Any thoughts on how to get Nice Menus to play nicely with cycle?

Comments

mandclu’s picture

One other note: the two seem to be fine together with 6.x-1.3.

choster’s picture

Hmm, I have jQuery cycle.lite working with nice_menus. There was no issue except for the hovered menus disappearing behind the rotating image, which I eventually worked around with a lot of z-index fiddling on different elements. Does cycle work if you switch off everything but default settings?

mandclu’s picture

It seemed to just stop the cycle plugin working at all. No animation, wouldn't even generate the navigation links. Seems like some kind of namespace collision to me, but that's just a guess.

choster’s picture

Generate? This module just styles the display of the links, it doesn't create them. Are you thinking of http://drupal.org/project/dhtml_menu ?

mandclu’s picture

No, my point is that I have jQuery cycle set to generate navigation links and animate through a series of divs.

Before installing Nice Menus 6.x-2.x-dev it worked fine. When I installed it, there were no animations, no navigation, no sign that cycle was doing anything at all. When I switched to Nice Menus 6.x-1.3, cycle went back to being perfectly functional in all aspects. Seems pretty logical that the development version of Nice Menus is doing something that breaks cycle.

add1sun’s picture

Dev is *very* similar to the 6.x-1 release right now. The only differences are:
http://drupal.org/cvs?commit=132617
http://drupal.org/cvs?commit=132618
http://drupal.org/cvs?commit=159544

and some style cleanups. So I have no idea why one would have an issue versus the other. That said, V2 will be changing up the JS in NM with the addition of Superfish.

I don't use cycle and don't have time to set up a dev env with it. Can anyone else reproduce the issue?

add1sun’s picture

Status: Active » Postponed (maintainer needs more info)
mandclu’s picture

So there haven't been any changes to the JavaScript? Weird that I'm getting this issue, then.

add1sun’s picture

Is this still happening? I can't fix it if it can't be reproduced by anyone else.

add1sun’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No response, closing.