0 Replies Latest reply on Sep 18, 2015 9:50 AM by snurok

    How to scroll down to an anchor from an edge banner to HTML page

    snurok

      I have an html responsive page with an edge banner.

      The banner has a button set to click:

      the click  script -> {window.open("../index.html" + "#info","_parent");});

       

      when the button is clicked it jumps on the same page to the anchor.

      On that page there is a link above the banner, and when the link is used the page scrolls down.

       

      My question is it possible to have the banner button point to the anchor on that page without reloading the page or jumping to the anchor?

      Can I make it scroll down?

       

      If not is there a code I can use to scroll the html page from the button by a set # of pixels or %???

       

      Thanks............