New Landing How can we help? Themeforest Theme Support Dante Smooth Scroller | Javascript Error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Dante
  • #290231
    heinetz
    Member
    Post count: 63

    Hello,

    here comes my first problem 😉

    Smooth Scrolling works without problems on a One Pager but my menu contains links to other pages and links to anchors on thus other pages like this menu-structure …

    'Page 1' -> /page_1/
    	'Anchor 1A' -> #anchor_1a
    'Page 2' -> /page_2/
    	'Anchor 2A' -> #anchor_2a

    What happens (by default)?
    ————————–

    – Navigating from /page_1/ to #anchor_1a is smooth
    – Navigating from /page_1/ to #anchor_2a doesn’t work

    A simple solution is to define all anchors with full path like this:

    'Page 1' -> /page_1/
    	'Anchor 1A' -> /page_1/#anchor_1a
    'Page 2' -> /page_2/
    	'Anchor 2A' -> /page_2/#anchor_2a

    This works but without Smooth Scrolling and with a Javascript Error

    best,
    heinetz

    Attachments:
    You must be logged in to view attached files.
    #290400
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Within the page Meta Options, you can set a different page menu for each page.

    This allows you to use the single page nav on the front page and on internal pages, you can use traditional full links.

    Thanks.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register