I am trying this in Flare 2019 r2. I used the default project with SideNav skin and HTML5 output. I did this:
1. I add a topic toolbar proxy to Master Page and enable Back & Forward buttons. There is no skin selected in the options and custom style applied to the topic toolbar. I get nothing in the output and this is in the HTML code. As you can see, I didn't add any script or code for the buttons.
Code: Select all
<div class="buttons popup-container clearfix topicToolbarProxy topicToolbarProxytoolbarbuttons mc-component nocontent" style="mc-topic-toolbar-items: Back Forward;"></div>
Code: Select all
function goBack()
{
window.history.back();
};
function goForward()
{
window.history.forward();
};
3. In the Topic Toolbar proxy, I choose this skin and let the two buttons Back and Forward stay. This step seems optional.
4. I generate the help, I get this and it works in Firefox and Chrome. The blank buttons are for Back and Forward button. Sorry that they dont have proper icon on them yet.
This works fine but not in Electron. If I use the Tripane theme, the buttons work even in Electron! What am I doing wrong? What is the difference between what I am doing and what happens in the Tripane theme?
I have spent hours and hours but in vain.