alvarotrigo / alvarotrigo/pagePiling.js

Can link to anchors from other pages

Offen
#190 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
reproduction required
Vorherrschende Sprache
JavaScript
Sterne
4.1k
Forks
633
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi

If I add a link such as http://dev.myeduapp.co.uk/#secondPage-edu to my FAQs page second question (http://dev.myeduapp.co.uk/faq) which points to my second

anchor, it still loads the first page. Then when I vertical scroll the anchor url in the address bar changes to the corrects anchors as you scroll. I have added the anchors as per your documentation but cant get it to work. What am I doing wrong?

I've attached my js and my url is
[pagepiling.js.txt](https://github.com/alvarotrigo/pagePiling.js/files/3882794/pagepiling.js.txt)

Cheers

Billy

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.