Question

Checkout this site that I'm working on.

The idea is as follows:

-That the slide show is supposed to rotate - this works

-When hovering over the menu on the right the appropriate slide appears - this works

-Also when hovering the nav should expand to show a brief description - this works

-When clicking on Airboat, Aircraft, UAV, or the "view" link it then takes you to that page - this doesn't work. I'm sure what's happening here is that the javascripts are fighting it out, as disabling one makes the links work, reenabling breaks it.

Your help is greatly appreciated,

Was it helpful?

Solution

Try using this:

 return '#nav li:eq(' + (idx) + ') > a';}

instead of

return '#nav li:eq(' + (idx) + ') a';}

in your cycle plugin. Using the direct descendent selector instead of the descendent selector will keep it from matching on the links contained in the accordion for the page anchors.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top