Hiding top menu and search box in context sensitive help
Posted: Tue Jan 22, 2019 6:03 pm
Hi,
I would like to show or hide some of the WebHelp responsive components dynamically.
I know that I can do it statically at build time by setting the "webhelp.show.top.menu" and other parameters to either 'yes' or 'no', but I want to do it dynamically on a single webhelp package.
For example,
- when the webhelp page is loaded in a web browser on a desktop computer, I want to show everything
- when the webhelp page is loaded by an application in an iframe that has max. width=300 px, I want to hide the top menu and the search pane
and it should be possible to do both usages at the same time on the same webhelp content.
Is it possible ? How (by adding a parameter in the URL requesting the page or based on some info like the width of the parent frame or the context (PC, mobile device, ...) ?
Tx,
Pascale
I would like to show or hide some of the WebHelp responsive components dynamically.
I know that I can do it statically at build time by setting the "webhelp.show.top.menu" and other parameters to either 'yes' or 'no', but I want to do it dynamically on a single webhelp package.
For example,
- when the webhelp page is loaded in a web browser on a desktop computer, I want to show everything
- when the webhelp page is loaded by an application in an iframe that has max. width=300 px, I want to hide the top menu and the search pane
and it should be possible to do both usages at the same time on the same webhelp content.
Is it possible ? How (by adding a parameter in the URL requesting the page or based on some info like the width of the parent frame or the context (PC, mobile device, ...) ?
Tx,
Pascale