• GoDaddy Community
  • Websites + Marketing | Website Builders
  • Websites + Marketing | Website Builders

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 
    Go to solution

    Floating HTML to send user back to a main page

    I would like to create a floating HTML on the right side of the page that moves up & down as the client navigates that will redirect them back to the "previous page"- does that make sense & how can I do this?

    1 REPLY 1
    Super User III Super User III
    Super User III
    Solution

    Re: Floating HTML to send user back to a main page

    <button onclick="window.history.back()" style="position:fixed;bottom:5px;right:5px;">Go Back</button>

    There are many ways this can be done, it all depends on your specific needs.  Above is a basic example that places a browser button in the bottom right corner of the screen (5px away from each).