6 Replies Latest reply: Sep 10, 2014 6:18 PM by Russ_E RSS

    Is there a way to show/hide a group of objects that will work in html5?

    Ian C ADC Community Member

      I consider myself to have a fairly decent understanding of captivate and its functions but this recent issue has stumped me.

       

      I have a button with javascript attached to it that runs a typical if loop: (pseudo code to follow)

       

      if(variable = 1){
      show "group" and variable = 0; 

      } else{

      hide "group" and variable = 1; 

      }

       

      Now normally, I would do this with single images, etc, and it would work fine.  You click the button (the image being unticked where it says "visible in output") and the image shows itself, then you click the button, and it hides.  Very standard stuff.

       

      My issue, is that captivate seems to let you name a group you make....but they have not given you any control of that group.

       

      Problem:
      I want a way to show and hide a group of objects by only clicking one button (when published to html5).
      I want to only have to reference the group and dont want to need to write a separate line of code for every single component that makes up that group (assuming the solution has to be coded).


      Is it even possible to control groups like this within captivate?


      Thanks!