문제

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,

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top