×
Menu
Index

Navigation Bar Active Page tab

Navigation Bar Active Page tab
1

Disable generating styles for active page

1. Disable generating styles for active page
Select this option to disable generating styles for the active page which is set in the Page Properties Dialog. How it is used is demonstrated by the example below:

Below shows two navigation bars. The top one is the main navigation bar shown on every page of the website. The "Templates" item on the main navigation bar links to the page templates.html.The bottom one is the secondary navigation bar and will only be shown on three pages, templates.html, templates-2.html and templates-3.html. Suppose we are now on the page templates.html. The navigation bars will look like this:



If we now open the page "templates-2.html" by clicking on the item "2", the navigation bars will look like below. As we are not on the page templates.html, the item "Templates" will not be shown in active state.



If we want to show the item "Templates" in active state for this second page, we can do this by selecting Edit -> Page -> Page Properties from the main menu. Select the page "templates.html" from the drop down menu of the field "Page" as shown below. Press the "OK" button to save the settings.
 


After that, the navigation bars will look like below. The item "Templates" is now in active state. However, it has an undesirable side effect. Since item "1" also links to the same page, it is now in active state too.



To turn off the active state of the second navigation bar, open it in the Navigation Bar Dialog and select the option "Disable generating styles for active page.....". The results will look like below: