TOC problem

Hi guys this is my first post because i'm stuck with a terrible problem .
I'm doing an elearning course using the feature of TOC.
I have enabled from TOC options the possibility that permit to navigate only the visited slide.
In addition i'm using this function on enter on the first slide that do this:
<code>
function GetSlideParam(){
    if(window.location.href.indexOf('?slide=') != -1) {
        var startIndex = window.location.href.indexOf('?slide=' ) + 7;
        var URL = window.location.href.toString();
        var slideNumber = URL.substring(startIndex);
        if(slideNumber != '' || slideNumber != undefined){
            setTimeout(function(){NavigateToSlide(slideNumber);}, 200);
function NavigateToSlide(requestedSlide){
    var cpObj = document.Captivate;
    cpObj.cpEISetValue('cpCmndGotoSlide',requestedSlide - 1);
    cpObj.cpEISetValue('rdcmndResume',1);
GetSlideParam();
</code>
In this way in our backend we know which was last slide and in the next login we pass the correct parameter to url to resume the course (i know that exist this option in TOC but we need this).
The big problem is this:
If the last visited slide for example is 29, when i resume the course, i cannot navigate from TOC the slide before 29, how can i enable this? There is no option of course from TOC, must be done with variables.. but I tryed everythings.. I wanna use javascript..
My user must be able to navigate slide from TOC also when resume the course. Did u get it?
Ahh also i'm using Captivate 7
Thank u very much for helping me!
fab

I know what you're doing wrong, but for me, it's far to hard to explain it in an constructive manner.
These videos will show you what you need to do though
http://www.theindesigner.com/blog/episode-34-long-documents-part-2-tables-of-contents-vide o
http://www.theindesigner.com/blog/episode-35-long-documents-part-3-advanced-toc-features-v ideo

Similar Messages

  • TOC problems after RH5 - RH7 upgrade

    Hello,
    I use RoboHTML to create help projects.
    After upgrading one with several subprojects from RH5 to RH7
    the following problem occurs:
    the TOC of the subproject is not incorporated in the main
    TOC, instead the name of the subproject is shown. when clicking
    this, the subproject is opened in a new tab (tested on Firefix3 and
    Opera9.5), virtualy as a separate project.
    The same project was previously published with RH5, with the
    subprojects correctly linked.
    Also, I reveive the attached java error (again not existing
    with RH5) when opening the start page. if I substitute the newly
    generated WebHelp.jar with the old one (generated by RH5) the error
    ceases but the TOC problem persists.
    Any ideas?
    Thanks a lot,
    Norbert

    I recently tested the 9.0.1 upgrade and the hotfix for 9.0.1, but the problem still exists. However, "ColdFusion Jedi" Raymond Camden came up with a workaround. You can read about it here:
    http://www.coldfusionjedi.com/index.cfm/2010/9/16/Followup-to-CFGRID-MultiRow-Post
    The problem occurred when the Adobe team that released the 9.0.1 upgrade added "multi-row select" functionality to the HTML/AJAX version of CFGRID, but they failed to include the same ID-passing functionality of the previous "single-row select" implementation.
    I created a more generic version of Raymond's javascript function which finds the selected row(s). This javascript must reside on every page which contains an HTML cfgrid:
    <script type="text/javascript">
    function getSelected(gridName,idName) {
        obj = ColdFusion.Grid.getSelectedRows(gridName);
        var selected = "";
        for(var i=0; i<obj.length; i++) {
          if(selected == "") selected = obj[i][idName];
          else selected += "," + obj[i][idName];
        document.getElementById('selectedRowIDs').value = selected;
        return true;
    </script>
    To force the selected row's ID (or other) field to be passed to to the subsequent page, you must include the following in your CFFORM tag (the field name MUST BE in ALL CAPS):
         onSubmit="return getSelected('gridName','FIELDNAME')"
    Example: <cfform name="itemGridForm" action="editItems.cfm" method="post" onSubmit="return getSelected('itemGrid','ITEMID')"...>
    You must also include the following hidden field in your cfform which contains the cfgrid:
        <!---Pass the selected FileFolderID as a hidden field called "selectedRowIDs" to itemEdit page--->
         <cfinput type="hidden" name="selectedRowIDs" id="selectedRowIDs">
    On the called page, FORM.selectedRowIDs will contain a list of the selected rows' ID fields (or whichever field you choose when calling the Javascript function).
    Message was edited by: el-cott

  • Toc problems in a 25 chapter book

    my 25 chapter book toc style works pretty well until chapter 5, and stops there leaving 20 chapters out.
    what can be the reason for that problem?
    Thanks for any help
    Samuel

    The first thing that jumps into my head is that it isn't finding anything tagged with the style names you included. Check to be sure that the names in use are exactly the same in all the documents -- stylenames are case-sensitive.
    Peter

  • Advanced TOC problem

    I have a long document (73 pages) that has multiple figures, tables, headings and subheadings, etc. I can generate a TOC but the problem I’m having is per our “document guidelines” figure and table caption must be short.  Some of my figure captions are 7 lines.
    Any ideas. Thanks

    Check out the InDesigner blog for some useful video podcasts regarding InDesign. Michael Murphy has a section on Long Documents that may help.
    One suggestion is to duplicate the paragraph style that is used for the captions. Rename it slightly so that it is not picked up by the TOC script.
    Example:
    Caption Style
    Caption NoTOC Style
    Set the long captions in the NoTOC style.
    Add a text frame to the page to hold a short caption.
    Assign the Caption style to it.
    Set the text fill swatch to None, or set the frame to non-printing.
    You may wish to group it with the visible image caption.
    This should allow you to have a long caption for the printed page and a short caption picked up in the TOC.
    If the issue is that the entire caption is not picked up by the TOC, and that is what you desire, then I believe there is the option to paste the text into a text frame and place that into the caption text frame as an anchored object. I've not tested that myself, but I've seen it posted somewhere as an option.
    HTH
    -mt

  • TOC Problems related to margins - any ideas?

    I had problems with inserting a TOC in a document all day today. For the thesis I need 1.5 in. margin on the left and 1 inch top, bottom and right. TOC function only seems to work properly with all margins being 1 inch or less. What can I do?
    Thank you, Gary

    Hello,
    klick into your table of contents (the entries should now be marked with the blue color) and then open the "Inspector". Go to "Text" and press the "Tabs" button. Change the "Tab Stops" entry (doubleclick on it) to a smaller value.

  • ToC problem with hanging side head paragraphs

    I've created a template in CS4 ID that uses hanging side heads that look like those shown here:
    http://tinyurl.com/bdrnxq
    The hanging side heads were created using instructions included in the linked example.
    Everything is working except the ToC. When I generate one, the hanging side heads are grouped together at the top of the items listed on a page, no matter where they really are located on that page. For example, if the following sections were on page 5 in the book:
    1st level section 1......pg 5
    1st level section 2......pg 5
    1st level section 3......pg 5
    2nd level hanging side head section 3.1.....pg 5
    1st level section 4......pg 5
    Are showing up in the TOC as:
    2nd level hanging side head section 3.1......pg 5
    1st level section 1......pg 5
    1st level section 2......pg 5
    1st level section 3......pg 5
    1st level section 4......pg 5
    Is there a setting that will fix this problem, or a workaround? I'm bummed that this isn't working properly in InDesign.

    Hello Jeurgen
    I don't think that it is possible to do what you want i.e. independently control where Pages breaks the heading in the TOC. However, you will notice that you get slightly nearer what you want if you align the text of the TOC to the left instead of justifying it.
    Annoying I know...

  • TOC Problem: Leader Lines disappeared after I've changed the font

    Hi,
    I am having a strange problem with Pages (I use the version in iWork 08). I am currently writing on my dissertation. I have used Helvetica while typing because it reads better on the screen. However, after changing the font to Georgia (for the final printout), my TOC got all messed up.
    First, I had beautiful leader lines that looked like this:
    Heading one ................. [page number]
    This was the default option. I did not change a thing. Then, after changing the font and the margins of the document, the leader lines disappeared and I could not get them back, even after setting them manually. Right now the entries look like this:
    Heading one [page number]
    ...which is very ugly.
    Any help is highly appreciated. I do not want to hand in the paper like this. (Also, switching the font back to Helvetica did not bring back the leader lines. This seems to be a strange bug in Pages.)

    Sounds to me as if the tab that the leader lines were attached to have been lost in your changed style, or have popped off the right hand margin. Leaders go with the tab which should be holding the right hand text in place. No tab, no leader.
    I have noticed a bug with tabs in Pages where if you have multiple tabs that should fit within a given space, the last one may not register and falls over to the next line.

  • Webhelp parent TOC problem

    In Robohelp 10.
    When I have more than 25 child TOCs published into my Parent projects TOC:
    When I display the parent TOC all looks ok till I select a child TOC. At this point the child project is then displayed in a separate IE session.
    If I amend the parent to have say only 20 child TOC entries, on then displaying the parent TOC in IE, the child TOCs then open correctly within the same IE session.
    Any thoughs on the cause of this problem?
    Best Regards,
    Paul Ashton.

    Thanks very much for your help with this one.
    I've isolated a child project that was causing the problem and I now get all of the child contents appearing correctly within the parent TOC. I've managed to get 54 child projects (originating in Robohelp 8) upgraded to R10 and attached.

  • InD CS4 TOC problem

    I have a TOC set up for a multi-file book. The TOC is generating correctly and autoformatting correctly EXCEPT... sometimes if more than one paragraph of the same style is on a single page, only the first one is shown in the TOC. For example, if I have two paragraphs using Header 2 on page 35, only the first instance shows up in the TOC. But, if I add enough blank line breaks to the page to roll the second Header 2 onto page 36, or set its pagination to 'top of column', it will then show up in the TOC.
    The truly mind-boggling thing about this is that it's only occurring on some pages. In others it's no problem to have multiple instances of the same paragraph on a single page in the same chapter -- both are picked up correctly in the TOC.
    I have tried formatting the headers as body text, then re-applying Header 2. Doesn't solve it.
    Ideas?

    The only thing I can think of is possibly Remove minor corruption by exporting
    Are you fully patched to at least 6.0.5?

  • TOC problem with RH8

    I have a problem with RH8 and the TOC.
    1.) Once I generate or publish the project the back and forward buttons above the TOC flash on and off. This is very annoying to the eyes.
    How can this be turned off? I don’t want to turn the buttons off I just want the flashing o and off to stop. I want the buttons to still work.
    2.) The highlight for the pages in the TOC jumps back and forward highlighting pages I have been to. If the TOC is long and it jumps back to a page at the top of the TOC and I was at the bottom I lose my place of what page I was looking at or which page I going to go to next.
    Again how can this be turned off?
    There are other problems with RH 8 but that’s for another post.
    I work with RH8 every day.

    2.) The highlight for the pages in the TOC jumps back and forward highlighting pages I have been to. If the TOC is long and it jumps back to a page at the top of the TOC and I was at the bottom I lose my place of what page I was looking at or which page I going to go to next.
    Does anyone know how to fix this?
    Thank you

  • TOC problem in pages

    Hello friends,
    I just purchased the iWork 08 package because i just want to avoid MS office. Hence, when i tried to open my thesis in word format, the pages seems cannot recognise most of the tables, text boxes, and most importantly the table of content and it says the inspector cannot recognize the heading formats in the word documrnt. Is it mean that I need to redefine all the headings and sub-headings int he document in order to use the TOC function in pages 08?
    I tried to open a test document in pages 08, then type something and define some lines as headins, follow the instruction to open the inspector and select desired heading levels for the TOC, hence in the sections button of the format bar, it does not have any option to create a TOC as described in the tutorial from Apple, instead it has only two options, a blank page or a text page, is it anything wrong with the pages 08? what is the correct way to create a TOC in pages and to import one from my old Word documents?
    Please help...
    Tony.

    Colin,
    One of the first comments I made in this discussion group an hour after purchasing iWork '08 was my confusion about the difference between the two modes. After using it for months now, I've come to the conclusion that it's a response to the insanely huge amount of tech support calls they must have gotten from people wanting to know why they couldn't drag and move objects in Pages 2. Apple must have gotten tired of explaining to people the difference between Fixed On Page (now called Floating) and Moves With Text (now called Inline). My guess is that it was easier for Apple to add a Page Layout mode in which all objects are defined as Floating, since Inline objects can only appear on a text layer. Apple simply chose to remove the text layer, thus eliminating Inline objects that can't be dragged, thus eliminating 90 percent of their tech-support calls. Truthfully, I preferred the old way, but then I'm on this discussion group every day and have the opportunity to learn little proactive tricks like clicking in the gray margin area to make the cursor disappear, then inserting an object. Or REactive tricks like selecting the object, then going to the Wrap inspector to change it from Inline to Floating. These are things that aren't very intuitive to new users, and I can understand their confusion. Apparently, Apple can, too.
    -Dennis

  • AGMac-TOC Problem-Keeps only one chapter...

    Hello,
    I started a new book in iBooks Author 2.0 and I added a 2nd chapter...
    The TOC contains only the contents of the last chapter I have selected before I go to TOC page...
    Why is this happening?
    Thank you for your time and help...

    In the popup-menu I do not see any menu item "Apply Changes"...
    I See:"Cut Chapter", "Copy Chapter", "Paste", "Delete Chapter", "Duplicate Chapter", "Add Page", "Insert Page", "Rename", "Change Chapter Layout", "Reapply Layout to Chapter"... only...
    Can you be more specific?
    Thank you again for your time... ))))))

  • TOC problem; lost Search and Keyword boxes

    I inherited a Robohelp X5 project that was originally started
    by a person very familiar with these types of programs, then
    ultimately messed up by someone who knew nothing about them or the
    content. I spent most of my time re-writing and updating the
    content using X5, then upgraded to 7 this morning. I have learned
    quite a bit about the program, not obviously not enough. I'm sure
    these are things I've messed up, because they worked before; but I
    don't know what I did or how to fix it...
    First, the TOC is built, with books and pages are in the
    order I want. The books are linked to a page - presumably, so that
    when a user clicks on the book, it defaults a particular page, and
    from there they can move to other pages in the section. However,
    when I view the results, you have to click on the book, then click
    on the individual page to get the page to open.
    Next, I have 'lost' the Search boxes for the Index and
    Keyword searches. When I look at the skin, they appear there, but
    when I view the project, they aren't - the index and keyword lists
    appear instead of the boxes.
    If anyone can give me some direction on what I need to do,
    I'd really appreciate it.

    Thanks so much for trying to help me - I apologize in advance
    for being suce a novice, and I promise I'll try to learn more about
    this program and not bother you guys so much in the future. Right
    now I'm just in a bind with needing to get the file posted.
    I right-clicked on each of the books, went to Properties, and
    confirmed that the Book with Link box is checked, near the bottom
    of the window, in the Link to: box is the page that I want the book
    to open with. However, when I view the project, that isn't what
    happens. For example: I have a Book named Getting Started, under it
    are several pages related to initial set up of the software, one of
    which is named Getting Started. The Book is linked to the page; but
    when I open the project in View, I click on Getting Started and it
    expands to show the pages; I have to actually click on the Getting
    Started page to open it. Before, whenever I clicked on the Getting
    Started Book, the Getting Started Page opened to reveal the
    contents of the Book. On the Book Properties window, there isn't
    anything in the Available Variables box, and if I go to the
    Advanced tab, the Frame reads Default (none) - should the Book or
    the Page be designated as a Parent Frame?
    With regard to losing the Search and Keywords boxes - I have
    an Index full of words; went through yesterday and cleaned it all
    up, then generated Webhelp. When I open it to View, the project
    opens to the TOC, which is good, but the Search button that usually
    appears at the top of the Help screen is not there. Then, when I
    click on either the Index or Search tabs, what I see is the
    alphabet where the Search box should be, with a list of all of the
    index words below. If I open the Skin that was used on the project
    and View it, the Search boxes appear there.
    I looked at the website that Peter directed me to, but I
    don't really see anything there that addresses either of these
    issues. Under the Tools menu I did locate an Update DHTML Effects
    in Topic; but when I click on it, it returns a message that tells
    me that after the conversion the topics cannot be opened by
    previous versions of RoboHelp HTML. I've answered No to convert all
    of the topics, because I'm not sure that's what I should do.

  • Epub navigational TOC problem

    Indesign CC 2014; OS 10.9.4
    I am having trouble getting a hidden layer, with style applied in the TOC dialogue box, to export to epub navigational TOC.  When it is showing, it exports perfectly, but not when the layer is hidden.

    Thanks for responding!  I am attempting to create a navigational TOC, with two levels, that reads differently than the actual titles of the book chapters, i.e., in most cases, adding "Chapter 1:" to the beginning of the title.  As there is also front matter, section dividers, and a glossary, there are different levels that I want in the TOC, and so I have created TOC styles that define these levels, and what I want each navigational TOC entry to say.  I've applied TOC-specific styles to these on a hidden layer of each chapter, as I don't want the hidden layer to appear on the actual epub pages...just in the navigational TOC.  When the layer is hidden, it doesn't appear at all in the navigational TOC, and instead, a file title navigational TOC shows up, and has unwanted dashes everywhere there is supposed to be a space.  When the hidden layer is showing, the exported epub has a perfectly constructed, exactly the way I want it, navigational TOC, but it appears on the chapter page, and I don't want it there.  Yes, I have selected "multilayered TOC" instead of file title when constructing the TOC styles.  Not sure if this makes any sense, but I appreciate your response and any thoughts you might have.
    Mara

  • EPub TOC problem.

    I use Pages to create ePub books. The new Pages update adds a crudely-formatted, auto-numbered TOC at the beginning. I'm not a programmer and don't know the best way to edit it out of there. Any ideas?

    Well, a co-worked happened upon the answer to this!
    I was aware of the "don't use nested stylesheets rule", which I thought was here:
    But it turns out, that ALSO means NOT to organize style sheets here:
    Once I took the eHeader style sheet out of the folder, the TOC generated as expected!

Maybe you are looking for

  • Can't scroll on page after interacting with Youtube videos

    After upgrading to the newest version of Firefox, I noticed issues with page scrolling and Youtube videos (both embedded and on the main Youtube site). In the past, after watching a video, I would just click somewhere on the page that wasn't the vide

  • Can't login to mail server

    Hello everyone, I'm trying to access the mail server through squirrelmail and through the Mail application. I turned on IMAP and POP access, set up squirrelmail according to the instructions, and set up an account with mail services enabled. However,

  • 1080p through 27" Display

    HI all, just want to say ive just come over from a pc background after years, and recently just ordered an imac 27"" core i7 with 8gig ram. Ive done alot of research into this but need your expertise. i want to watch blu ray through my mac 27 display

  • Issue on Function Module

    Hi Gurus I have an issue with function module, i am passing a filepath to the function module which is like this /temp/folder/AFILE.csv. to pull the data from application server. When ever it enters to the function module it is changing the file name

  • What's missing in the Student/Teacher Edition?

    I'm looking into purchasing the "Adobe Creative Suite 5 Production Premium Student and Teacher Edition."  I imagine, because it's the Student/Teacher edition, After Effects (as well as the other Adobe programs) will be missing some features/tools, th