Highlighted

Responsive HTML: TOC embedded loop

New Here ,
Jan 21, 2020

Copy link to clipboard

Copied

Hi,

I am using the built in ‘Black’ theme (but I’ve tested some others too and they all behave the same way) to generate Responsive HTML help documentation for an application.

 

The default ‘target’ attribute for the TOC div (when viewing on a small screen so that the TOC is collapsed) it set to “_top” (in Index.html). In this state, when the user clicks on the TOC (or the index or glossary) button, it crashes the application.

 

To avoid this issue, we manually changed the attribute to “_self” and it doesn’t crash anymore.

 

However, we end of with this situation when we click on the TOC button in collapsed mode:

 

Snap1.png

 

Each time the TOC is accessed, it reloads the entire page (including the title bar and the button bar.  

Is there any way to modify this behaviour without having to change the ‘target’ attribute of these buttons to “_top” or “_blank”?

 

Thanks

TOPICS
Output presets

Views

69

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Responsive HTML: TOC embedded loop

New Here ,
Jan 21, 2020

Copy link to clipboard

Copied

Hi,

I am using the built in ‘Black’ theme (but I’ve tested some others too and they all behave the same way) to generate Responsive HTML help documentation for an application.

 

The default ‘target’ attribute for the TOC div (when viewing on a small screen so that the TOC is collapsed) it set to “_top” (in Index.html). In this state, when the user clicks on the TOC (or the index or glossary) button, it crashes the application.

 

To avoid this issue, we manually changed the attribute to “_self” and it doesn’t crash anymore.

 

However, we end of with this situation when we click on the TOC button in collapsed mode:

 

Snap1.png

 

Each time the TOC is accessed, it reloads the entire page (including the title bar and the button bar.  

Is there any way to modify this behaviour without having to change the ‘target’ attribute of these buttons to “_top” or “_blank”?

 

Thanks

TOPICS
Output presets

Views

70

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jan 21, 2020 0
Adobe Community Professional ,
Jan 21, 2020

Copy link to clipboard

Copied

What version of RH? Are you all patched up?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 21, 2020 0
New Here ,
Jan 21, 2020

Copy link to clipboard

Copied

sorry, RH 11 ... i just ran the update again and it seems it is up to date. 

 

I wonder though if it is something to do with with css or js code in the skin files, instead of robohelp?

 

Thanks

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 21, 2020 0
Adobe Community Professional ,
Jan 21, 2020

Copy link to clipboard

Copied

RH11 is pretty old now for creating HTML5 help - you might want to download a trial copy RH2019 on a non-production machine, update it to the latest version (it won't be fresh out of the box), & test it with a copy of your RH11 project. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 21, 2020 0
tariuma LATEST
New Here ,
Jan 23, 2020

Copy link to clipboard

Copied

Thanks ... it worked. It even resolved the initial issue of crashing the application, so no manual adjustment required to the index page in RH19. 

 

Thanks again. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 23, 2020 0