PAGEHEAD_CLOSED option ignored when help is embedded
Moderators: Alexander Halser, Tim Green
PAGEHEAD_CLOSED option ignored when help is embedded
We are uising a Modern_Standard_Very_Plain_WebHelp skin (version 4.0) for an embedded help system. The PAGEHEAD_CLOSED option is set to FALSE because we do want to see the header. When the help is opend in a standard browser tab, this works fine. However, when the help is embedded, the header hides after the help page has been loaded. In many cases this surely makes sense where there isn't much screen real estate for the help. But we have plenty of space and would really like to keep the header as a label for the help system. Is there any possibility to achieve this (even if it involves changing the source code in one of the skin's baggage files)?
- Tim Green
- Site Admin
- Posts: 23189
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: PAGEHEAD_CLOSED option ignored when help is embedded
Hi Marc,
This option isn't currently included because it was assumed that the header should always at least start out of view when the help is embedded. Generally speaking, we considered that if the help constitutes enough of the page to start with the header open then it will have its own page rather than being embedded. Since a couple of users have now asked for this we're going to add this option as well for embedded help.
You can change this yourself with the following simple edit: Open the skin in Toolbox, select Baggage Files and edit the hm_webhelp.js file. Search for the following lines of code:
Comment out the lines inside the first if clause braces, like this:
It's important not to delete anything. Just add /* and */ in the two places shown above.
We'll be adding an option to do this with a setting in the next update. In the meantime, you really should update to 4.1. The Modern Standard skins that you are using, in particular, have been cleaned up and improved in many ways in that update.
This option isn't currently included because it was assumed that the header should always at least start out of view when the help is embedded. Generally speaking, we considered that if the help constitutes enough of the page to start with the header open then it will have its own page rather than being embedded. Since a couple of users have now asked for this we're going to add this option as well for embedded help.
You can change this yourself with the following simple edit: Open the skin in Toolbox, select Baggage Files and edit the hm_webhelp.js file. Search for the following lines of code:
Code: Select all
function embedInit() {
if (hmDevice.embedded && hmDevice.desktop) {
if (hmpage.$headerbox.is(":visible"))
hmWebHelp.pageDimensions.pageHeaderUpDown(true);
$("p#ptopic_breadcrumbs").hide();
} ...
Code: Select all
function embedInit() {
if (hmDevice.embedded && hmDevice.desktop) {
/*if (hmpage.$headerbox.is(":visible"))
hmWebHelp.pageDimensions.pageHeaderUpDown(true);
$("p#ptopic_breadcrumbs").hide();*/
} ...
We'll be adding an option to do this with a setting in the next update. In the meantime, you really should update to 4.1. The Modern Standard skins that you are using, in particular, have been cleaned up and improved in many ways in that update.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Re: PAGEHEAD_CLOSED option ignored when help is embedded
Works perfectly. Thank you so much!