[Resolved] Back to previous page

Home Forums Support [Resolved] Back to previous page

Home Forums Support Back to previous page

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #244214
    muralidharan

    HiTom

    can we create a button that remain common in all blog pages that take you the page where we begin

    thanks

    #244278
    Tom
    Lead Developer
    Lead Developer

    To go back to the previous page the user was on, you would have to use javascript to talk to their browser and get the previous page.

    If you just want to link back to the home page, that’s much easier.

    If you do a Google search for “link to previous page”, you should find lots of examples πŸ™‚

    #244786
    muralidharan

    thanks tom

    #244869
    Tom
    Lead Developer
    Lead Developer
    #946202
    Leon

    Below code works for me.

    <button onclick="goBack()">Go Back</button>
    
    <script>
    function goBack() {
      window.history.back();
    }
    </script>
    #1900816
    srimali senn

    Hi I want browser back arrow to work in my website, in some pages it does not work. Pls help

    #1900843
    Elvin
    Staff
    Customer Support

    Hi srimali,

    Hi I want browser back arrow to work in my website, in some pages it does not work. Pls help

    Can you link us to sample pages where it works and where it doesn’t work?

    So we can inspect the page and investigate why it doesn’t work for some while it works on others.

    If you wish to share the links in private, you can open a new topic for this so you can use its private information text field.

    Let us know. πŸ˜€

    A wise man once said:
    "Have you cleared your cache?"

    #1900854
    srimali senn

    Thank you very much for your support, problem was solved, I use elementor as page builder, when linking a page I choose ‘open in new window’ – then it worked.

    Thank you very much for your prompt reply.

    #1900863
    Elvin
    Staff
    Customer Support

    Nice one. Thanks for letting us know. Glad you got it sorted. πŸ˜€

    A wise man once said:
    "Have you cleared your cache?"

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.