Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Only first link detected/working.. second is simply ignored #46

Closed
DanDvoracek opened this issue Jun 22, 2014 · 1 comment
Closed

Only first link detected/working.. second is simply ignored #46

DanDvoracek opened this issue Jun 22, 2014 · 1 comment

Comments

@DanDvoracek
Copy link

Hi there --

I have an issue I can't understand. I'm reading the doc again and again, I try everything I can (data-menu-top, data-anchor-target,...) and none of these changes seems to be working at anytime.

Problem: I have two anchor tags that I want to use on one page but only the first one get animated. The second link change the url when it's clicked but nothing happens. The page stays on the same position and simply ignore the animation.

code here: edited

The problem looks rather simple in itself and the fact I did not find any issue related to this seems to suggest I must be struggling more than the majority here..

Any tip is more than welcome. Thanks in advance.

@DanDvoracek DanDvoracek changed the title Only first link detected/working.. second is simply ignored! Only first link detected/working.. second is simply ignored Jun 22, 2014
@DanDvoracek
Copy link
Author

Ok I come back here. It was a rookie mistake, as expected.. somehow :/ I was actually putting the anchor target in an animated div, which was actually causing problem. I just put it out of the div containing the skrollr data attributes, attached a fixed position to it and it made the trick.

I leave the issue as it is in the case a beginner like me get the same problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant