I'm looking to add a button to reset the table of contents (collapse of all books)

Our users get lost in the open books - Yes, I know it's a completely different problem, but I was asked to add a button to "reset" the TOC books to reduce all the books.

We use IE 8 and HR 10

I looked everywhere for existing javascript that would do this, but I'm not. Is this something that someone else has already done? I'm not a person of script.

Thank you!

Laura

Well, see if it works.

Rather than use the link option, click the option for JavaScript.

Type the following code in the OnClick field:

parent. Location ='http://www.desiredsite.com/News_Feed.htm'

Dismiss all dialogs, regenerate and test.

See you soon... Rick

Tags: Adobe

Similar Questions

  • Add text to the table of contents or the skin

    Hello

    I want to add text to the table of contents that shows all the time (is not clickable).  Is it possible to display some text of infomration on the bar of navigation/table of contents?

    Or is it possible to add it to a skin it will appear at the bottom of the screen?

    Any help would be appreciated.

    Thank you!

    Hi Julie,.

    You can try the project--> TOC--> Info it will open a dialog box where you can enter information about your organization, as well as a logo.

    In addition, if you wish, you can change a TOC and their default legend items.

    To do this, close Captivate.

    Open Notepad-

    Paste below-

    [TOCStrings]

    SlideTitle = Module name

    Time = time

    Status = status

    MoreInfo = my info

    Clear = Wipe

    ClearToolTip = State of Wipe

    BookMarkToolTip = book-marking

    NoSearch = String not found

    CurrTime = what

    ---------------------------------------

    Save it as TOCStrings.ini

    and place this file in the location of the Adobe Captivate installation on your machine.

    Now launch and add a table of contents to the Porject and preview or publish and see the change.

    Thank you

    Anjaneai

  • How can I customize the Table of contents develop (> >) button?

    I have a client who wants to change the color of the table of contents, expand (> >) button which is a light gray by default. I tried to change all the options in the editor of skin under the Table of contents, playback control and borders, and nothing worked. Am I missing something obvious, or is there no way to customize this button?

    Thanks in advance!

    Hello

    You will not be able to change the color of the expand button, but you can add your own custom images.

    (1) launch the Adobe Captivate 5.5 project

    2) click on the project-> Table of contents

    3) click on the set button

    (4) under TOC settings, you have the icon sections expand and collapse icon

    5) click on 'file' button and find your photo

    Screenshot:

    That's what your output will look like:

    Hope this helps!

    Thank you

    Vikram

  • Unable to add a new column to the table of the LCD? Option, just usually add it.

    I have a form of LCD with a table in it. Im trying to simply add a new column to the table. The option is there, but the column appear just after clicking Add the column to the left. I selected a column, right click the space > insert > column to the left. But the habit intsert. The object table properties tab shows lines and colum numbers, but they are grey.

    See screenshots:

    http://www.emermed.NET/staging/forums...

    http://www.emermed.NET/staging/forums...

    It is a dynamic array, where a new line can be inserted using a button. Is that the dynamic nature of the question? ID hate to cancel all the flow dynamics and programming just to add a column, and then reapply them all.

    Thank you!

    Hello

    You do not add the columns in the object > palette (screenshot 2) of the Table. I suspect that the problem is that it is not enough on the page (in the content area) to add the column. In the screenshot 1, if you look at the width of the column highlighted from the space to the right of the table, you will see that a column can be added due to restrictions of space.

    Reduce the width of the column highlighted (temporarily), and then add a column. Once added, you can resize the columns to match the width of the page.

    Hope that helps,

    Niall

  • A menu button using custom on the slide to open and close the table of contents of Captivate 7

    Hello

    I have a custom menu button. When the user clicks on I want to see the table of contents, (I see there is a State to display the table of contents), but when the user clicks on the same menu again button on this slide how to hide the table of contents. IE, go hide and show.

    Thank you

    Captivate 7.0.1 contains a rocking action that allows you to enable a Boolean variable (for example the system variable that displays or hides the table of contents), and shutdown.  Use this action.

  • A button next to a table of content coding buttons table

    I have a movieclip buttons table which is a table of contents for a module. I use a loop function to maintain their downward when clicked. All event listeners for each heading in the table of contents are encoded outside the loop, and each of them load an external swf file (in a table). I also have 'previous' and 'next' buttons that advance loading external swf files, but I also want the table of buttons to move forward and to highlight the next section. How to move the button outside its loop function table? I appreciate any idea.

    var buttonsArray:Array = [toc_mc.intro_mc, toc_mc.gen_mc, toc_mc.dist_mc, toc_mc.hered_mc, toc_mc.one_mc, toc_mc.two_mc, toc_mc.anim_mc, toc_mc.three_mc, toc_mc.four_mc, toc_mc.five_mc, toc_mc.six_mc, toc_mc.seven_m c, toc_mc.sevenB_mc, toc_mc.sevenC_mc, toc_mc.eight_mc, toc_mc.therapy_mc, toc_mc.therapyB_mc, t oc_mc.nine_mc, toc_mc.ten_mc];
    var i: int;
    function setButtons (): void {}
    for (i = 0; i < buttonsArray.length; i ++) {}

    buttonsArray [i] user.user = i;
    buttonsArray [i] .buttonMode = true;
    buttonsArray [i] .mouseChildren = false;
    buttonsArray [i] .mouseEnabled = true;
    buttonsArray [i] .addEventListener (MouseEvent.ROLL_OVER, playOver);
    buttonsArray [i] .addEventListener (MouseEvent.ROLL_OUT, playOut);
    buttonsArray [i] .addEventListener (MouseEvent.CLICK, doClick);
    }
    }

    function playOver(event:MouseEvent):void {}
    event.currentTarget.gotoAndStop (2);
    }

    function playOut(event:MouseEvent):void {}
    event.currentTarget.gotoAndStop (1);
    }

    function doClick(event:MouseEvent):void {}
    var currentBtn:int = event.currentTarget.id;
    setSelectedBtn (currentBtn);
    }
    function setSelectedBtn(id:int):void {}
    for (var i: int = 0; i < buttonsArray.length; i ++) {}
    If (id == i) {}
    buttonsArray [i] .gotoAndStop (3);
    buttonsArray [i] .buttonMode = false;
    buttonsArray [i] .mouseEnabled = false;
    buttonsArray [i] .removeEventListener (MouseEvent.ROLL_OVER, playOver);
    buttonsArray [i] .removeEventListener (MouseEvent.ROLL_OUT, playOut);
    buttonsArray [i] .removeEventListener (MouseEvent.CLICK, doClick);
    } else {}
    If (.currentFrame buttonsArray [i] == 3) {}
    buttonsArray [i] .gotoAndStop (1);
    }
    buttonsArray [i] .buttonMode = true;
    buttonsArray [i] .mouseEnabled = true;
    buttonsArray [i] .addEventListener (MouseEvent.ROLL_OVER, playOver);
    buttonsArray [i] .addEventListener (MouseEvent.ROLL_OUT, playOut);
    buttonsArray [i] .addEventListener (MouseEvent.CLICK, doClick);
    }
    }
    }

    setButtons();

    medPlay_mc.prev_btn.addEventListener (MouseEvent.CLICK, prev_onClick);

    medPlay_mc.next_btn.addEventListener (MouseEvent.CLICK, next_onClick);

    function next_onClick(event:MouseEvent):void {}


    current index refers to the table of swf file

    currentIndex ++;
    removeChild (loader);
    modBan_mc.visible = false;
    If (currentIndex > urlArray.length - 1) {}
    currentIndex = 0;
    }
    Loader.Load (new URLRequest (urlArray [currentIndex]));
    addChild (loader);
    addChild (toc_mc);
    addChild (medPlay_mc);
    }


    function prev_onClick(event:MouseEvent):void {}
    currentIndex-;
    removeChild (loader);
    If (currentIndex < 0) {}
    currentIndex = urlArray.length - 1;
    }
    Loader.Load (new URLRequest (urlArray [currentIndex]));
    addChild (loader);
    addChild (toc_mc);
    addChild (medPlay_mc);
    }

    use:

    var buttonsArray:Array = [toc_mc.intro_mc, toc_mc.gen_mc, toc_mc.dist_mc, toc_mc.hered_mc, toc_mc. one_mc, toc_mc.two_mc, toc_mc.anim_mc, toc_mc.three_mc, toc_mc.four_mc, OCD _mc.five_mc, toc_mc.six_mc, toc_mc.seven_mc, toc_mc.sevenB_mc, toc_mc.seve, nC_mc, toc_mc.eight_mc, toc_mc.therapy_mc, toc_mc.therapyB_mc, toc_mc.nine _mc, toc_mc.ten_mc];
    var i: int;
    function setButtons (): void {}
    for (i = 0; i
     
    buttonsArray [i] user.user = i;
    buttonsArray [i] .buttonMode = true;
    buttonsArray [i] .mouseChildren = false;
    buttonsArray [i] .mouseEnabled = true;
    buttonsArray [i] .addEventListener (MouseEvent.ROLL_OVER, playOver);
    buttonsArray [i] .addEventListener (MouseEvent.ROLL_OUT, playOut);
    buttonsArray [i] .addEventListener (MouseEvent.CLICK, doClick);
    }
    }

    function playOver(event:MouseEvent):void {}
    event.currentTarget.gotoAndStop (2);
    }

    function playOut(event:MouseEvent):void {}
    event.currentTarget.gotoAndStop (1);
    }

    function doClick(event:MouseEvent):void {}
    var currentBtn:int = event.currentTarget.id;
    setSelectedBtn (currentBtn);
    }
    function setSelectedBtn(id:int):void {}

    loadF (id);

    for (var i: int = 0; i< buttonsarray.length;="" i++)="">
    If (id == i) {}
    buttonsArray [i] .gotoAndStop (3);
    buttonsArray [i] .buttonMode = false;
    buttonsArray [i] .mouseEnabled = false;
    buttonsArray [i] .removeEventListener (MouseEvent.ROLL_OVER, playOver);
    buttonsArray [i] .removeEventListener (MouseEvent.ROLL_OUT, playOut);
    buttonsArray [i] .removeEventListener (MouseEvent.CLICK, doClick);
    } else {}
    If (.currentFrame buttonsArray [i] == 3) {}
    buttonsArray [i] .gotoAndStop (1);
    }
    buttonsArray [i] .buttonMode = true;
    buttonsArray [i] .mouseEnabled = true;
    buttonsArray [i] .addEventListener (MouseEvent.ROLL_OVER, playOver);
    buttonsArray [i] .addEventListener (MouseEvent.ROLL_OUT, playOut);
    buttonsArray [i] .addEventListener (MouseEvent.CLICK, doClick);
    }
    }
    }

    setButtons();

    medPlay_mc.prev_btn.addEventListener (MouseEvent.CLICK, prev_onClick);

    medPlay_mc.next_btn.addEventListener (MouseEvent.CLICK, next_onClick);

    function next_onClick(event:MouseEvent):void {}

    current index refers to the table of swf file

    currentIndex ++;
    removeChild (loader);
    modBan_mc.visible = false;
    If (currentIndex > urlArray.length - 1) {}
    currentIndex = 0;
    }
    loadF (currentIndex);

    setSelectedBtn (currentIndex);

    }

    function prev_onClick(event:MouseEvent):void {}
    currentIndex-;
    removeChild (loader);
    If (currentIndex< 0)="">
    currentIndex = urlArray.length - 1;
    }
    loadF (currentIndex);

    setSelectedBtn (currentIndex);

    }

    function loadF(i:int):void {}

    Loader.Load (new URLRequest (urlArray [i]));

    addChild (loader);

    addChild (toc_mc);

    addChild (medPlay_mc);

    }

  • Can I add a button next to the bar of address (such as the Home key) that will open a new tab?

    In Firefox 3, there was a button that would open up a new tab. This button was close to my address (next to the home, refresh, buttons etc.) bar and can also be used when I had no open tag (unlike the + on the tabbar, who is only there when I turn on my tabbar).
    Although there is a button I can add that will open a new window, I would like to know if it is possible to have a similar button that will open a new tab.

    https://support.Mozilla.com/en-us/KB/how+to+customize+the+toolbar

    There is a button tab in the Customize Palette, simply move it to a location of your choice.

  • How can I create a custom button to format the table borders?

    I often paste to Excel in a message e and would like a button or a context menu for the PROPERTIES of TABLE FORMAT it takes 2-3 clicks each time to access. Is there such a thing? I searched the Add-ons nothing helps. There may be a change in config I can do which would have the table to stick with borders already in place (I have to change the thickness of the border on '1' each and every time that she missed to '0' - maybe there is a place to have it by default on '1'?)

    I have attached a picture of the menu on that I wonder.

    I don't know of a setting for this...

    It would be easier to click on, but based on underscores bit indicating the keys Accelerator, the keyboard sequence would be:

    • ALT + o b o
    • ALT o b o
  • Add a new column in the table of research Serial_number remaining each time 1-10

    Hi all
    I need to add a column to the lookup table Serial_number and what I want is that he must view 1-10 on each page. I press Next and it should even once show Sr 1-No...
    To do this, I added a temporary variable to the SearchVO and central for the Table region code is the following:-
    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processFormRequest (pageContext, webBean);
    Am = (SearchAMImpl) pageContext.getApplicationModule (webBean) SearchAMImpl;
    SearchVoExImpl vo = (SearchVoExImpl) am.getSearchVoEx ();
    SearchVoExRowImpl searchRow = (SearchVoExRowImpl) vo.first ();
    searchRow.setSerial (new Integer (1));
    While (VO.hasNext ())
    {
    If (searchRow.getSerial () .intValue () == 11)
    searchRow.setSerial (new Integer (1));

    int i is searchRow.getSerial () .intValue ();.
    Integer p = new Integer(i+1);
    searchRow = (SearchVoExRowImpl) vo.next ();
    searchRow.setSerial (p);
    }
    }

    I am facing this problem is when I sort the result table by any column, that serial number gets disappeared.
    And also when I press the Go button to search it shows me the final results first.
    Please help me.

    "Now the left only problem is that it shows me the latest results first."

    This could happen if the rowIterator has been moved to the end. Please try this code.vo.setCurrentRow (vo.first ())

    Thank you

    Stephany

  • Add icon w/link to the table of the Spry data set

    I placed an icon inside a table data cell, then tried to give him a hyperlink to a clip. However, the link appeared as underlined text in the cell of the table under the icon.

    Then I tried to type the HTML code in code view, and this is what it looked like. It also did not work the display page:

    "< td align ="center"> < img src =" graphics/speaker.jpg"width ="29"height ="30"/ > < img src =" graphics/movie.jpg "a href="graphics/melanoma1.wmv"/ > < table >

    How I would make the icon itself launch the WMV clip?

    Thank you!

    How I would make the icon itself launch the WMV clip?

    By using the appropriate syntax.

    
    

    If you do not border link Hypertext for image links, add this to your CSS:

    an img {border: none ;}}

    --
    Mark A. Boyd
    Keep-on-Learnine :-)

  • Add and remove users from the table

    Hi, guys. I do a system that allowed admin in the user control.

    The ID is = admin

    The neck is = 6649481

    Can someone help me to check add it and remove the part.

    Actually, it may work, but I would like to make he repeats no is allowed, but it works on the index of '0' and then index 1, it will not stop the user to add id repeated.

    Delete if I had to remove the loop will be fine and work well, but it can only remove the top. It's like first first concept but I would like to do as a function of the ID given to remove from the table.


  • Button to reset the values of form works, but I can't label.

    I added a button to reset my form fields empty when the button is clicked and it works great however, I can't put a label on the button that says "reset".  Anyone know how I can tag my button to reset?

    Field properties - Options - Label.

  • How can I update the data in mysql using the button defined in the table?

    Hello

    right now I am doing my project for the online election system using dreamweaver cc14. I create a table using php code to bind the data to mysql, and in this painting, I create also a button "vote" for voters to vote. My question is, how can I update my polling data in the mysql database when voters push button "vote" based on the id of the candidates? Here is my code I try:

    <form method="post" id="form1">
          <?php
    $servername = "localhost";
    $username = "root";
    $password = "pass";
    $dbname = "ses";
    
    
    // Create connection
    $conn = new mysqli($servername, $username, $password, $dbname);
    // Check connection
    if ($conn->connect_error) {
         die("Connection failed: " . $conn->connect_error);
    } 
    
    
    $sql = "SELECT No, Calon, ID, Jurusan, Image FROM candidates";
    $result = $conn->query($sql);
    
    
    if ($result->num_rows > 0) {
         echo "<table >
      <tr>
      <th>NO</th>
      <th>Candidate</th>
      <th>INFO</th>
      <th>Vote</th>
      </tr>";
         // output data of each row
         while($row = $result->fetch_assoc()) {
             echo "<tr>
      <td>" . $row["No"]. "</td>
      <td><img src=" . $row['Image'] . "></td>
      <td><br/>-" . $row["Calon"]. " <br/>-" . $row["ID"]. " <br/>-" . $row["Jurusan"]. "<br/></td>
      <td><input type="."submit"." name=".$row["Calon"]." id=".$row["No"]. " value="."Vote"."></td>
    
      </tr>";
      if(isset($_POST["".$row['No'].""])){
    
      $vote_sachin = "UPDATE candidates SET Undi=Undi+1 WHERE No=".$row["No"]. "";
    
      $run_sachin = mysqli_query($conn, $vote_sachin);
    
    
    }
        }
      echo "</table>";
    } else {
         echo "0 results";
    }
    
    
    
    
    
    
    $conn->close();
    ?>
    
    
    
    
        </form>
    

    I hope someone can help me in this area, because I'm still new in this programming language.

    Thank you.

    Youre probably going to insert a 'radio button' next to the names of candidates and recover the database ID of that (I guess that the ID is the primary key in your database that uniquely identifies each record.

    His great confusion because you seem to update the database to aid WHERE no = "." $row ["no"]. so I don't know that ID is the primary key?

    IF "No" IS your master database key, you need to change the code below:

    TO:

    Here's the complete code based on the ID of your primary database key.

    <>

    $servername = "localhost";

    $username = 'root ';

    $password = "pass";

    $dbname = 'his ';

    Create the connection

    $conn = new mysqli ($dbname, $servername, $username, $password);

    Check the connection

    If {($conn-> connect_error)

    Die ("connection failed:".) $conn-> connect_error);

    }

    $sql = "SELECT No, Calon, ID, Jurusan, Image OF candidates";

    $result = $conn-> Query;

    If you click on the button "vote" form run the code to update the database below

    {if (isset($_POST['vote']))}

    Get the value of the ID of the radio button form field and store it in a table.

    $update_vote = $_POST ['candidate_id'];

    loop in the table and update the database

    foreach ($update_vote as $value) {}

    $vote_sachin = ' candidates UPDATE SET Undi = Undi + 1 WHERE ID = ".". " $value. » « ;"

    $run_sachin = mysqli_query ($conn, $vote_sachin);

    }

    }

    ?>

    <>

    If ($result-> num_rows > 0) {}

    ECHO '.

    ";

    each line output

    While ($row = {$result-> fetch_assoc())}

    ECHO '.

    ";

    }

    ECHO '.

    ";

    ECHO '.

    NO. Candidate INFO To the vote
    " . $row ["no"]. "
    -" . $row ["Calon"]. "
    -" . $row ['ID']. "
    -" . $row ["Jurusan"]. "
    ";

    } else {}

    echo "0 results."

    }

    $conn-> close();

    ?>

  • Reset button to reset the filters

    I have a request form with table showing the results of a test of the view. When I click on the "Reset" button in the application form, the search fields are reset to zero, but the filters are not. As a result, it is easy to make mistakes when searching. I want the button "Reset" to zero both search fields and the filters in the table. Is this possible?

    I use JDeveloper 11.1.1.5.0

    Check this post dealing with roughly the same:
    http://andrejusb.blogspot.com/2009/09/programmatical-reset-for-query-results.html

    Thank you
    Nini

  • Customcancel button doesn' reset the components of entrance inside the af: panelWindows

    We use adf Rich Popup of the elements inside the table update. The popup has an af:panelwindows inside. When the user clicks on the button inside each row in the table, the popup displays the details of that element, and user can update the information and close the pop-up window.
    or click Cancel and the popup will be closed without making any changes to the item.
    We decide to have our custom undo button to undo the insert and update.
    When clicking on the button cancel windows was closed, but when he opened the next time for another element inside the table the af:inputtext component has not updated / reset and
    for all other times, the data inside the inputtext component were still given to the first element. When you debug carefully I saw that the linked object is initialized and the value new object element
    but somehow this update server-side has not been reflected in the inputtext popup components. Point interesting is that outputtext were themselves refreshed and reset for the new value, the problem is only with the components of entry.
    (1) I've rechecked closing popup java scriped
    (2) I've put on so many closing is server-side and client-side
    (3) and of course I double checked that Im using right contentDelivery which must be set to "lazyUncached" when you want the popup read the binded value server side when his open ever.

    It worked again!
    Finally I read some documents on af:panelwindow and af:dialogbox.
    And I understand that although two this components can be used inside the pop-up window for the case to get the input data, af:panelwindow does not support custom Cancel button
    And by simply changing the panelwindow dialogbox, now all the compenentc of entry are reset to the value current binded to the side server.
    And don't forget that the cancel method should be called from server-side (listener client-side does not work!) with ActionListener bound to a method server that sends a java script to close the pop-up window.
    And don't forget no immediate command button should be set to 'true '.

    Is there another way to have customized cancel inside the af button: panelWindow?


    Thank you
    Lee

    Edited by: user12836610 01-jun-2010 03:10

    Edited by: user12836610 01-jun-2010 06:08

    Edited by: user12836610 01-jun-2010 06:14

    If you don't want to write your own...
    I use this method:

    private void resetValueInputItems(UIComponent component)
    {
      AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
      List items = component.getChildren();
      for ( UIComponent item : items ) {
    
        resetValueInputItems(adfFacesContext,item);
    
        if ( item instanceof RichInputText ) {
          RichInputText input = (RichInputText)item;
          if ( !input.isDisabled() ) {
             input.resetValue() ;
             adfFacesContext.addPartialTarget(input);
          };
         } else if ( item instanceof RichInputDate ) {
          RichInputDate input = (RichInputDate)item;
          if ( !input.isDisabled() ) {
             input.resetValue() ;
             adfFacesContext.addPartialTarget(input);
          };
         }
       }
    }
    

    You call this method with either the layout container that contains all your fields (in your case the popup or panelwindow.

    Timo

Maybe you are looking for