Page loads twice after clicking on anchor link on a different page

Home Forums Pro Support Page loads twice after clicking on anchor link on a different page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #66668
    Jacek FrankowiczJacek Frankowicz
    Participant

    I am using the full page theme. I use a lot of anchors in my menu and when I switch from page to page and use an anchor menu- it loads twice. Check it out (on your cell phone): blackbookology.com…load “featured artists” page and then click to load “upload entry” …it will load the page twice…any fix to this?

    #66673
    Peter FeatherstonePeter Featherstone
    Participant

    Hey Jacek,

    It is because you have an element with an ID of #uploads on the Featured Artists and Upload Entry pages so before it redirects it attempts to scroll to that part of the page.

    It isn’t loading the page twice, it is scrolling to the ID on the Featured Artists page and then redirecting to the Upload Entry page.

    Are you able to rename your ID on the Featured Artists page?

    Please let me know

    Peter

    #66672
    Jacek FrankowiczJacek Frankowicz
    Participant

    Hey Peter!
    Thanks for looking into it. All my pages have the “#uploads” anchor since its in the footer. I turned off the “smooth scroll” option and the problem seems to have resolved. Although the smooth scroll was pretty slick, its a shame.
    Thanks
    Jack

    #66671
    Peter FeatherstonePeter Featherstone
    Participant

    Hey Jack,

    I agree it’s a shame that you can’t have that option turned on.

    I can of course look at seeing if there is a way to tweak the code to handle this case better.

    Thanks for bringing it to my attention 🙂

    Peter

    #66670
    Jacek FrankowiczJacek Frankowicz
    Participant

    Either way it is a great product and support
    thank you

    #66669
    Peter FeatherstonePeter Featherstone
    Participant

    Hey Jack,

    Thank you very much, I really appreciate the kind words 🙂

    Peter

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Page loads twice after clicking on anchor link on a different page’ is closed to new replies.