• Resolved tawil1705

    (@tawil1705)


    Hello,

    I’m trying and trying but can’t create a “Back Button”, means a button, that goes one page page.

    I put in the HTML-Code of the page the following like you mentioned in the Forum:

    [maxbutton id=4 url=”javascript: history.back();”]

    What is wrong?

    I also tried: javascript: window.history.back() and a lot of variations. But ist doesn’t work.

    Can you help me? That would be great!

    Thanks al lot in advance!
    Kind regards
    Tanja

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author AlanP57

    (@alanp57)

    If I add

    
    javascript: history.back();
    

    In the URL field of the button settings page it works. If I add in the short code, like you did above, it does not work. Try adding on the settings page of the button.

    Thread Starter tawil1705

    (@tawil1705)

    Hi Alan,

    I did that before (in the URL field of the button settings), but there it also doesn’t work. The button simply does nothing.

    What else can I do?

    Thanks
    Tanja

    Plugin Author AlanP57

    (@alanp57)

    If it is in the URL on the settings page, then can you send me a link to the page containing the back button and I’ll take a look. My email is [email protected].

    Plugin Author AlanP57

    (@alanp57)

    The javascript, javascript: history.back(); works with your browser. So if you cannot go back to your main page from the catalog then it may not be a button problem.

    You can open the browser console and enter the line
    javascript: history.back();
    into the command line field and hit enter to see if the code works.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Back Button doesn’t work’ is closed to new replies.