Jump to content

Target To Homepage-Anchor(#) From Subsite


Ole
 Share

Recommended Posts

Hey Guys,

I need a bit support with a Singlepage-layout.

The Homepage has different sections, which the user can directly jump to, with anchor (#) Links. This works fine on the homepage on the domain-root-level (domain.com/).

But the site contains other subsites, like Imprint, Privacy Policy etc.

When I want to navigate from a subsite to a specific section on the homepage, Target-urls like "domain.com/#anchor" don't work. When I use the same adress direct in the browser-adress-field, it works fine. But it doesn't as clickable link target.

Am I doing something wrong?
Has anybody a idea or a solution?


Cheers

Link to comment
Share on other sites

Plain and easy HTML IDs. No Scripts.

Script just for Animated (Smooth) Scrolling.

It works as well, when the link is not directed to the domain root adress. For example, when the Homepage is located in a Subdir on the Server (domain.com/subdir/) or when the Singlepage is not the Homepage (domain.com/path/).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...