Javascript for Theme-buttons don't work
Hello,
I currently use:
RoboHelp version 2022.2.22
Output: Frameless
Skin: Dark
OS: Windows 10 / 64 Bit
And I have the following problem:
I need to display the output in a browser (Chrome) in fullscreen mode. The browser's forward and backward buttons are not available to me because they are not visible in full-screen mode.
So I want to create two topic page buttons for this that can be used as forward and backward buttons.
I created the 2 buttons under “Theme buttons > add”, gave them names and also stored symbols. The keys appear correctly in the preview and in the output.
Now I have entered the following for the buttons in the section under “Theme buttons > Javascript”:
Page back key: window.history.back()
Page forward key: window.history.forward()
I then saved everything and regenerated and re-displayed the project using Frameless/Dark. The buttons are visible, the symbols are displayed but unfortunately the functions are not carried out.
To test whether the functions in the browser work, I activated the browser without full-screen mode. The browser's internal buttons work. However, the buttons on the topic page are not there again.
What can I do?
I would be very happy to receive a solution suggestion.
Thanks in advance for the support.
Many greetings, Plarad.
