Is it possible to add an Expand all/Collapse all button in WebHelp Output?

Hi there,
We now have > 15 child projects in our merged online help, each containing hundreds of topics. Each child project is a chapter in our WebHelp online help output.
If a user opens a couple of topics in each project, the TOC can become difficult to navigate. Is it possible to add a button that enables users to collapse all of the open chapters / expand all of the closed chapters? We are using RoboHelp 10.
Thanks a lot,
Niamh

Hi there
Expanding all could be problematic. But collapsing all should be a snap. That is, as long as you don't mind one teensy side effect. That side effect would be that the default topic would load up in the Topic pane and replace whatever topic was open at the time your user clicked the Collapse All.
The way to Collapse All is to simply create a hyperlink that re-opens the WebHelp start page. Things reload fresh (with the TOC all nice and collapsed).
If you would like to suggest to the Adobe development team that we actually get proper collapse or expand all buttons, please feel free to suggest it using the link below:
http://www.adobe.com/go/wish
Cheers... Rick

Similar Messages

  • Adding a link to expand and collapse all DHTML drop downs

    Hi, can anyone help me adapt the "Skinny on Skins" example "Add a Toolbar button to expand and collapse all DHTML drop downs" so that it will work with just a simple HTML link in RH8, instead of being attached to a custom skin button?
    The example looks like this:
    Step 1. Open the Skins Editor for the skin where you want to add the button.
    Step 2. After the preview loads into the window, ensure that the Toolbar tab has focus, then click the plus symbol. The Custom Toolbar Item dialog should display.
    Step 3. Type the Item Name (This is simply an internal reference for the button).
    Step 4. Type the Text (This is the text that will be seen by the end user. The field must contain something. So if you don't want any verbiage to display for your toolbar item, simply type a space.)
    Step 5. Choose your Image Options, then click the Action tab.
    Step 6. Click the JavaScript option button.
    Step 7. Enter the following code in the OnClick field:
    javascript:toggle()
    Step 8. In the JavaScript area, ensure the Inline JavaScript option button is selected, then click the edit (Pencil) icon located to the right.
    Step 9. Enter the following code in the Inline JavaScript dialog
    var show = "false";
    function toggle() {
    parent.frames[1].bsscright.focus();
    var arrayofDivs = parent.frames[1].bsscright.document.all.tags('DIV');
    if (show == "false") {
    for (x=0;x<arrayofDivs.length;x++) { arrayofDivs[x].style.display = "block";}
    show = "true";}
    else {
    for (x=0;x<arrayofDivs.length;x++) { arrayofDivs[x].style.display = "none"; }
    show = "false"; }
    Step 10. Click the OK button to close the Inline JavaScript dialog.
    Step 11. Click the OK button to close the Custom Toolbar Item dialog.
    Step 12. Click the OK button to close the Skin Editor.
    Step 13. Generate WebHelp via File > Generate > WebHelp and ensure that you have the new button selected with a check mark. This will probably require stepping through some screens to see the place where you can select it.
    Many thanks
    Jonathan

    Hi again
    I want to use it in the header of one of my Master Pages, so it will only be created/maintained once. Not all my pages have drop downs in so rather than have a toolbar button available for every page, I was trying to be a bit cuter by having two Master Pages - one for normal pages and one for pages with drop downs in.
    I'm no javascript expert so I'll see if one of my developers can help.
    Thanks anyway
    Jonathan

  • Expand all/ Collapse all topics button and Visited Topics color

    Hi
    First of all, I am not sure if it is a good idea to create one post for two queries. But I have these two requirements for my project.
    1. I need a Expand all/ Collapse all button(s) on the toolbar, which will open and close all books in the ToC. Is it possible to have one? How?
    2. Is it possible to have a different color for the visited topics on the ToC? How?
    Thanks
    Sreekanth

    Your requirements are
    1. I need a Expand all/ Collapse all button(s) on the toolbar, which will open and close all books in the ToC. Is it possible to have one? How?
    Not something I have ever seen.
    2. Is it possible to have a different color for the visited topics on the ToC? How?
    Same answer.
    Sorry.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • JTree Expand All & Collapse All...

    Hi All,
    i hv two buttons "Expand All" & "Collapse All". If i press "Expand All" i should expand all the nodes in the all the root nodes(JTree).
    If i press "Collapse All" i sh collapse all the entries in the JTree.
    Is there any way to acheive this.
    Thanks
    ss

    Hi!
    You can try these methods where treeRoot is the root node of the tree:
    * Collapses the function group tree.
    public void collapseAll() {
    for (int i = treeRoot.getChildCount(); i > 0; i--) {
    tree.collapseRow(i);
    * Collapses the function group tree.
    public void expandAll() {
    for (int i = treeRoot.getChildCount(); i > 0; i--) {
    tree.expandRow(i);
    /Malin

  • Expanding and Collapsing All Nodes in a TreeByNestingTableColumn

    Hi Experts,
    I'm using NWDS 7.0.18.
    I have a table with TreeByNestingTableColumn (master column).
    The child nodes are recursive nodes and are loaded at runtime with an action onLoadChildren when clicking the master column. My question is, when the hierarchy is in its initial state, only the root node is loaded into the table. But I want to add functionality for expanding all nodes in the tree. Is there a way to achieve this, I'm a little confused because the Hierarchy children havent been loaded yet.
    Any suggestion will greatly help.
    Regards,
    Kunal.

    Hi Kunal,
    I got your problem.
    To expand & collpase all the child nodes please modify the code as below.
    Create two methods exapndAll &  collapseAll and call these two methods in existing button actions.
    as below.
    public void expandAll( com.sap.tut.wd.treetable.wdp.IPrivateTreeTableView.ICatalogEntriesNode node )
        //@@begin expandAll()
           for (int i = 0; i < node.size(); i++) {
         node.getCatalogEntriesElementAt(i).setExpanded(true);
         if(node.getCatalogEntriesElementAt(i).getIsLeaf()==false)
              expandAll(node.getCatalogEntriesElementAt(i).nodeChildCatalogEntries());
        //@@end
    public void collapseAll( com.sap.tut.wd.treetable.wdp.IPrivateTreeTableView.ICatalogEntriesNode node )
        //@@begin collapseAll()
         for (int i = 0; i < node.size(); i++) {
         node.getCatalogEntriesElementAt(i).setExpanded(false);
         if(node.getCatalogEntriesElementAt(i).getIsLeaf()==false)
              expandAll(node.getCatalogEntriesElementAt(i).nodeChildCatalogEntries());
        //@@end
    public void onActionCollapseAll(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionCollapseAll(ServerEvent)
        collapseAll(wdContext.nodeCatalogEntries());
        //@@end
    public void onActionExpandAll(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionExpandAll(ServerEvent)
        expandAll(wdContext.nodeCatalogEntries());
        //@@end
    We are invoking the methods recursively to expand/collapse all the child nodes.
    This works.
    Regards,
    Charan

  • How to Expand-all, Collapse- all in a table ????

    I am a beginner. I am using Jdevloper 11.1.2.3.0. I have a showdetailheader component as a parent and a Table as a child. There are 2 buttons "Expand-all" and "collapse-all" which references a managed bean.
    In the showDetailHeader disclosed property a variable is set. When i click Expand-all button the variable becomes true and it discloses all the child nodes. When i click collapse all the reverse happens fine. Now the
    problem is when i manually click any changes to the node on the page inside the showdetailheader, the collapse-all button doesnt collapse completely, It closes only till whichever node was not changed.The same problem comes with Expand-all also.
    I tried to set the DisclosedRowKeys to null in the managed bean when the two buttons are invoked it did not work as expected.
    Could some one pls give me some hint ????
    - Pani

    Hi Timo. Thanks a lot that was very helpful.
    During the collapse operation do i need to set the disclosed row keys to null ???
    will this solve my problem ?

  • Is it possible to add the exit command to a button in ALV OO toolbar

    Hi ABAP folks,
    is there are a way to add the exit command to a button of an ALV toolbar (like in the GUI status)?
    I want to prevent the field validations of a dynpro field at PAI.
    Thanks and regards,
    Martin

    Manage the event [TOOLBAR|http://help.sap.com/saphelp_erp2004/helpdata/en/ee/c8e07dd52611d2b468006094192fe3/frameset.htm] of CL_GUI_ALV_GRID.
    This event is triggered by the ALV each time the toolbar of the control needs to be regenerated. To add self-defined functions to the toolbar, you trigger the event using method set_toolbar_interactive and write an event handler method ( see also: Defining GUI Elements in the Toolbar).
    Look at demo BCALV_GRID_05.
    Regards,
    Raymond

  • Expand or collapse all collapsible panels at once.

    Hi,
    I have a page with a number of collapsible panels on it generated from SpryData.
    I know the collapsible panel names because their IDs are generated from the Spry data with
    <div class="CollapsiblePanel" id="cp{ds_RowNumber}" spry:repeat="Events">
    I have a couple of links on the page that I want our members to be able to click to be be able to collapse or expand all collapsible panels at once. How can I return a reference to the collapsible panel objects so I can close / open them using the open / close functions of the widget etc?
    See http://www.thehmc.co.uk/Events4.html and the links with the text (Show or hide all event details)
    i.e. I have a function and I know Spry.$$ is not what I want , but what do I need to return the object reference?
    function dhide()
    var panelCount = Events.getRowCount();
    for (var p = 0;p < panelCount;p++)
      panelID = '#cp' + p;
      var mypanel = Spry.$$(panelID);
      var a = panelID.close();
    Thanks
    Phiol

    Hi,
    Yes I found CollapsiblePanelGroup in the Spry 1.6.1 samples and am now using the OpenAllPanels function.
    Finding the collapsible panel group API in the documentation isn't the most intuitive and you may wish to review.
    Regards
    Phil

  • DHTML Tree Expand-Collapse ALL buttons

    Hi
    I am using at DHTML Tree (in APEX 3.0.1) as a menu. I am wondering if it is possible to add buttons (or link) to the region which a user can click to expand all or collapse all nodes in the tree.
    I don not want the tree to be expanded or collapsed all the time (as when using the Tree List template)
    Thanks

    Anyone?

  • Is it possible to add two resultsets???

    I have a resultset rs and a resultset rs2. Is it possible to add them together so that all the results is in one resultset resultset rs3.
    rs + rs2 = rs3
    Br Soren

    Not that I know of.
    You could iterate through each ResultSet storing the column data in a single collection fo some kind or you could try the SQL UNION keyword in a single SQL statement.
    I.E.
    select col1, col2 from table1
    union
    select col1, col2 from table2Col

  • Expand all and collapse all in page

    Hi all,
    I need to implement* expand all and collapse all *in a custom page where I have some Link beans generated dynamically to show the allowable responsibilities.I have added the link beans and respective hide show regions in a stack layout.How to implement expand all/collapse all for this hide show in the page.
    If I'm not clear about my requirement please let me know.
    Thanks ,
    Krishna Priya Bandyopadhyay

    Hi Krishna,
    Are your hide/show items within a table or separate hide/show regions?
    Thanks,
    LC

  • How to disable "Expand All" and "Collapse All" when no node in a tree

    I have a <af:tree> inside <af:panelCollection>.
    All items under viewMenu like "Expand", "Expand All Below", "Collapse All Below", "Expand All" , "Collapse All", "Scroll to First" and "Scroll to Last" are implemented by default.
    When there is no node in a tree, "Expand", "Expand All Below", and "Collapse All Below" are grey out.
    However, "Expand All" , "Collapse All", "Scroll to First" and "Scroll to Last" are still enabled to be clicked.
    Is there any way we can diable them when no node?

    When I highlight last node in the tree and all nodes are collapsed, I see "Expand All Below" enabled but "Collapse All Below" disabled. Which is expected. Expand All Below will expand all the child nodes under a node.
    QA filed a bug said that "Expand All Below" should be disabled since no node below it. However, I don't find any place to control them. Can you confirm this? Or you know some way to do this?It it not a bug then. You don't have to control it and framework takes care of enabling and disabling it accordingly.
    If you need to expand all the nodes programatically, check this out.
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/78-man-expanding-trees-treetables-354775.pdf
    -Arun

  • How to add Print button on Webhelp in Robohelp 10?

    Can someone please provide step-by-step instructions to add Print button on Webhelp. I'm currently using Robohelp 10. I saw some suggestions using javascript in skin, but there isn't a step-by-step procedure available.
    I have been seraching for this from past many days. It'd be of great help to me. Thanks!

    Thank you very much for your quick reply. It was really helpful. However, I still can't see the button the webhelp output. 
    1. Created a new skin
    2. In the new skin, I added this print button and followed all steps explained (adding inline javascript and calling the function in the action tab under onClick, etc)
    3. I could see the preview of this being perfectly fine.
    4. But, when I generated the output by compiling it again, I could not see the changes I made in the webhelp
    4. I am thinking I am missing a crucial step. Is the new webhelp using the new skin? How to know this?
    5.  I carried out all the steps as explained, except this "Don't forget to tick the Print button in the second page of the wizard". Could you please let me know which wizard this is and where is the check box to tick the print button?
    I am eagerly waiting for your answer. Thanks!

  • Possiblity to expand / narrow / reset all drillstroughable parts of the report with one button

    Hi,
    has anyone done that bevore? Is this possible ..
    I have parts of a big Report, that are expanded (where i can see all detaildata) and parts where the detaildata is there, but arent showed by Standard (are narrowed).
    I wish i could have a button, where i can expand / narrow all expandable/narrowable parts of the reports from 1 button.
    Why?
    1) To print the Report i could press "Expand all" and then print, so i get all the detials of the Report.
    2) for a better first look i could Show all expandable reportparts narrowed. Then click expand all to see all Details.
    and maybe to reset all expandable parts to the Default (Settings when loaded) there could be a reset button to.
    Any Chance?
    THX, greets pib

    Hi Pe.bo,
    Per my understanding that you want to add an button in the report to control the Expand All and Collapse All of the drill down report, right?
    I have tested on my local environment and we can do this by creating an parameter to control the show/hide of the details, We can add two radio button image (Radio on, Radio Off)and add the "Go to Report"action on the image which
    display most similar to the button and will display the result of Expand All and Collapse All once you click on the radio button.
    Step by Step details information in below article for your reference to help you achieve the result:
    http://blogs.interfacett.com/how-to-implement-expand-allcollapse-all-for-drill-down-in-sql-ssrs
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu

  • Is it possible to add a hdmi port? Hp envy 23-d010ea all-in-one

    I wanted to get a Ps4 soon but i dont have a tv, and on my computer i dont have a hdmi port. i see on other models of my computer they have it for example on the 23-d052 its like this 
    Where as on my one is like this
    so that part is just an empty space. i was wondering if it were possible to add the hdmi port or if there was a way i could still play the ps4 on my computer?
    This question was solved.
    View Solution.

    The USB 3.0 to HDMI adapter referenced above, is only designed to connect to a USB port on you computer and output an HDMI signal to an HDTV or monitor. It will not allow you to connect the HDMI output of a game console to your computer.
    It may be possible to purchase all the components necessary to add that functionality to your computer, however the cost would far exceed the price of a new monitor or HDTV. Please purchase an inexpensive HDTV or monitor to use with your PlayStation.
    If you have any further questions, please don't hesitate to ask.
    Please click the White KUDOS "Thumbs Up" to show your appreciation
    Frank
    {------------ Please click the "White Kudos" Thumbs Up to say THANKS for helping.
    Please click the "Accept As Solution" on my post, if my assistance has solved your issue. ------------V
    This is a user supported forum. I am a volunteer and I don't work for HP.
    HP 15t-j100 (on loan from HP)
    HP 13 Split x2 (on loan from HP)
    HP Slate8 Pro (on loan from HP)
    HP a1632x - Windows 7, 4GB RAM, AMD Radeon HD 6450
    HP p6130y - Windows 7, 8GB RAM, AMD Radeon HD 6450
    HP p6320y - Windows 7, 8GB RAM, NVIDIA GT 240
    HP p7-1026 - Windows 7, 6GB RAM, AMD Radeon HD 6450
    HP p6787c - Windows 7, 8GB RAM, NVIDIA GT 240

Maybe you are looking for

  • I no longer have access to an old email that authorizes a lot of my music on my Ipod nano. How do I reauthorize the music when I can't access old email?

    I can't authorize some music from my Ipod nano...it was purchased using an old email that I no longer have access to. When I type in my information to recover my password, it says my information is incorrect. Can I do something to move the music from

  • How to display item procedure results in Search results?

    I have a custom item type based on Image that displays a thumbnail instead of the image itself. This is accomplished using a procedure call and displaying the results with the item and modifying the region attributes to omit the image, but when the i

  • A Sample Report

    Hi All     Can anyone send me a sample report which covers almost all the main concepts of ABAP which is very useful...like all events involved,many function module used,calculations used,many tables used,ALV...etc etc Regards Asha

  • Robohelp help file paramter problem?

    I am using robohelp on the web application  as the following code:  The question is that how do I get  the parameter for NoNavPane in the following code? Where does it come from? Thanks. javascript:RH_ShowHelp(0,'FieldHelp/default.htm>NoNavPane', HH_

  • CS5 Cannt make image catalogs in InDesign

    I have upgraded to CS 5 for Mac from 3 then 4. I noticed that I can no longer select images in Bridge 4/5 and send then to Indesign and make a calalog. Id there a workaround for this? This feature was great for making multi-page image catalogues in I