Create an Anchor Link Button

Please note that this is now available as a plugin for easier installation. While you can use this document as a reference, the recommended method to add…

  • Not yet re-checked
  • Classic builder

Moved from our previous help site and not yet re-checked against the current product. Last edited Sep 20, 2024.

Screenshot for “Create an Anchor Link Button”

This is a way to create a button that goes to the row you would like your page to scroll to.

Step 1

Add an HTML component, and within the source code <> create a button with the class of anchorButton.

Text
<p><button class="anchorButton">Go!</button></p>
Screenshot for “Create an Anchor Link Button”

Step 2

On your live app, find the Row that will be your anchor - the row you want the page to scroll to.

Screenshot for “Create an Anchor Link Button”

Step 3

Add this code to the JavaScript tab of your page.

Text
$(".anchorButton").click(function() {
    $('html, body').animate({
        scrollTop: $("#x_element_page_10_5").offset().top
    }, 750);
});
Screenshot for “Create an Anchor Link Button”

Original Community Post:

Link button component - Community Discussions / How Do I - Tadabase Community

Was this page helpful?

Something wrong or missing on this page? Tell us.