Hide or display based on time or conditional action button

Hello

I wanted to see if anyone might have some insight on the best approach. In my Captivate program (version 7), I have a next button on each screen. Using Javascript and .NET, the variables are passed in the program.

There are two scenarios when a user opens a session in the program I want to accomplish.

(1) If you are a new user or if you have not seen a particular screen again, hide the btn 'Next' until the slide duration reaches a specific time (for example 60 seconds on a slide that's 63 seconds of time, given that the next button will stop the slide to move to the next slide) is over.

(2) If you are a user existing, or that you have already seen a screen, display the next btn.

I fight with the best approach. Any help would be appreciated!

Thanks for your help!

Ruth

You cannot move a button on the timeline on the duration. I would therefore suggest to have two following buttons:

Bt_Next1 for new users, with his script at the end of the slide

Bt_Next2 for existing user.

If you have access to the value of the variable v_lastmod an advanced conditional action on enter the slide might do the trick:

IF v_lastmod is equal to or greater than 1

See the Bt_Next2

ON THE OTHER

See the Bt_Next1

Tags: Adobe Captivate

Similar Questions

  • Image galary display based on the next and previous button

    Hello

    I'm posting that picture galary on buttons.i next & previous write this code on the type of area (pl/sql anonymous block). it I sgiving the error

    • ORA-06550: line 24, column 34: PLS-00103: encountered the symbol "?" when expecting one of the following values :), * & - + / at rem rest mod < an exhibitor > (*) and or using the | multiset.

    "in the code my < img src="images/001.jpg" class="cube"/ >< /a > line I want to replace my images.what table I should write here. In the source what do I write.

    my code is: -.

    {code}

    DECLARE

    REC INT_IMAGE_GALLARY % rowtype;

    v_id varchar2 (10);

    Start

    HTP.p (')

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    Intercruises < title > < /title >

    < link href = "" #WORKSPACE_IMAGES #skitter.styles.css "type =" text/css""

    Media = "all" rel = "stylesheet" / >

    < script src = "#WORKSPACE_IMAGES #jquery - 1.6.3.min.js" > < / script >

    < script src = "#WORKSPACE_IMAGES #jquery.easing.1.3.js" > < / script >

    < script src = "#WORKSPACE_IMAGES #jquery.skitter.min.js" > < / script >

    < script >

    {$(document) .ready (function ()}

    var options = {};

    If {(document.location.search)

    var table = document.location.search.split ('=');

    var param = array [0] replace ('?) ', '') ;             This line is in error?

    var value = array [1];

    If (param == 'animation') {}

    options. Animation = value;

    }

    ElseIf (param == "type_navigation") {}

    options [value] = true;

    If (value == 'points') $('.border_box').css

    ({'marginBottom': "40px"});

    }

    }

    $('.box_skitter_large').skitter (options);

    Highlight

    $('pre.code').highlight ({source: 1, Zebra: 1, indent: 'space',})

    list: "{ol'});

    });

    < /script >

    < / head >

    (< body > ');

    FOR REC IN (SELECT id, dbms_lob.getlength ("GALLARY_IMAGE") AS GALLARY_IMAGE FROM INT_IMAGE_GALLARY WHERE upper (IMAGE_NAME) AS superior ("Interc %')) "))

    LOOP

    HTP.p (')

    < table width = "560" border = "0" cellpadding = "0" cellspacing = "0" >

    < b >

    < td > < div class = "box_skitter box_skitter_large" >

    < ul >

    "< li >< a href="#cube">< img src="images/001.jpg" class="cube"/ >< /a > / / I must add my table pictures here how I can write code here to display pictures

    < div class = "label_text" >

    < /p > < p > cube

    < / div >

    < /li >

    < /ul >

    < / div > < table >

    < /tr >

    (< /table > ');

    end loop;

    HTP.p ("< /body >

    (< / html > ');

    end;

    {code}

    Thanks and greetings

    CORINE

    works very well on the application of google map workspace check application.

    do this regardless of the changes in the html Page header

    Go

  • How to trigger a conditional display based on a dynamic Action without submitting the Page

    Hello

    Using Oracle APEX v4.2 on 11g, I have the following scenario and wanted to take other people on how to accomplish what I'm trying to do, i.e.:

    In region 1, I have a select item list page called P1_SELECTION, which contains selections from drop down to the user to choose from the following three: A1, B2 and C3

    In region 2, I have two checkbox elements:

    P1_CBOX1 I gave a conditional display of ' point value / Expression 1 column! = 2 expression, where Expression 1 = P1_SELECTION and Expression 2 = B2, so P1_SELECTION! = B2

    P1_CBOX2 I gave a conditional display of ' value of the point / column Expression 1 = Expression 2 where Expression 1 = P1_SELECTION and Expression 2 = B2, then P1_SELECTION = B2 .

    Use of dynamic Action on the evolution of the P1_SELECTION in region 1, how can I trigger the correct display of the checkbox in region 2, with the default view of the region 2 checkbox being P1_CBOX1, without submitting the entire page, just refreshing each of the elements checkbox to trigger the conditional display correct?

    For example, on the changes of P1_SELECTION = B2 then entire submission without page, only P1_CBOX2 is presented to the user in other P1_CBOX1 is displayed.

    Is this possible?

    Thank you.

    Tony.

    Hi Tony,.

    condition your dynamic action on P1_SELECTION with the following condition of javascript: this.triggeringElement.value = "B2".

    Add real actions that will show P1_CBOX2 and hide P1_CBOX1

    Add false actions and going hide P1_CBOX2 show P1_CBOX1

    Set the dynamic actions to fire on Page load

    Kind regards

    Erik-jan

  • Hide a line based on the State.

    Hello, I have a requirement where I have to hide a line based on the State. I am able to highlight the lines but hide the entire line does not work.

    Condition must be met on a line:

    • Thus, if a sum of EXP5_11, EXP6_11, EXP7_11 and EXP8_11 in a current group is all zeros hide this line. Please refer to the RTF-model.

    Attachments:

    • RTF-model.
    • XML file.
    • Sample output generated when the lines are highlighted the meeting status.

    Any help is much appreciated on how I can hide a line.

    EM-: [email protected]

    If please remove your IF condition and add the following code inside the foreach tag

    This works very well in my test.

  • Creating conditional actions based on the results of the quiz

    I have a quiz at the end of my captivate file and I try to get to show different based on images if you have passed the quiz, or if you failed. For example if you pass, I want to show an image of the tick, and if you do not have an image of the cross, on the results slide.

    I tried to create this by implementing a conditional action. I put the two images on the slide and they hid. Then I have a conditional action value:

    IF
    cpQuizInfoPointsscored greater than or equal to 70

    ACTION

    See the Image_tick

    ON THE OTHER

    See the Image_cross

    When I play the quiz or image shows that I have success or failure (the quiz is set to a 70% pass - there are 10 questions, and all are worth 10 points)
    I am new to Captivate so that any help would be appreciated!
    Thank you

    Each action must be triggered by 'something', which is an event. You must attach to an event, I suspect that the event on enter score slide is one that suits. Select the slide of score, look in the properties panel, tab Actions, perform actions on enter, choose the action.

    In addition, there is a difference between the system variable cpQuizInfoPointsscored and cpInfoPercentage. Personally, I would use the simpler cpQuizInfoPassFail:

    IF cpQuizInfoPassFail is equal to 1

    See the tick

    On the other

    See the cross

    Download the tables in these two articles:

    System variables in Captivate 8/9 - Captivate blog

    Events / Actions (Advanced) - Captivate blog

  • Display the elapsed time in the progress bar?

    Hi, is it possible to display the time elapsed in the progress bar from a Captivate video instead of projection that frame the user is on?

    Hello

    You will need a Flash programmer to adapt a play bar for this purpose. BTW: it displays the current slide, not the frame

    If you want to display the time elapsed (in real time or estimated time based on the length of the slide) by using a text caption, check out my blog:

    Display information in time

    Lilybiri

  • How do you get different fields of the checkbox to display based on a list box selection?

    I'm a relative newbie with lifecycle Designer ES use v.8.2.1 to create interactive forms to replace manual paper copies.  I am working on a form that has a bit down the list boxes.  I want another checkbox fields to display based on the selection of an item from the drop-down lists.

    Guidance on the best way to do this would be greatly appreciated.

    Hello

    Here is an example with the text of the dropdown list change event. You can clearly his choices of previous box once the subform is hidden.

    It is good to group objects in a subform - enough to hide the subform and not to each object in turn.

    Good luck

    Niall

  • Jdev v.10.1.3.4 - hide inputtext af based on the drop-down list box

    Hello

    I'm trying to hide and display a text entry box based on what is selected by a drop-down list box. I have some difficulty getting the javascript code I think that to read the value of the selection box.

    Here is a simple example of what I'm trying to do. I tried a couple of different ways but no luck. I appreciate any help anyone can offer.

    Thank you
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <f:view>
      <afh:html>
        <afh:head title="test">
          <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    
        </afh:head>
        <afh:body>
    <f:verbatim>
            <script type="text/javascript">
            function changed(){
               if(document.getElementById("current").value =="1" ){
                document.getElementById("currentSize").style.display='block'; //show textbox
                }
                else{ 
                document.getElementById("currentSize").style.display='none'; //hide textbox
                }
            }
            
            </script>
    </f:verbatim>
        
        
        
        <h:form>
            <af:selectOneChoice id="current" label="select item" onchange="change();">
              <af:selectItem label="item 1" value="1"/>
              <af:selectItem label="item 2" value="2"/>
              <af:selectItem label="item 3" value="3"/>
              <af:selectItem label="item 4" value="4"/>
            </af:selectOneChoice>
          <af:inputText label="Input Size:" maximumLength="5" id="currentSize" columns="7" rows="1"/>              
          </h:form></afh:body>
      </afh:html>
    </f:view>

    It works if you use af:form instead of h:form?
    What happens if you set the partial relaxation of the af: form to point to the 'current '?

  • PDM Viewer do not display data with time stamp

    Need help with the timestamp of the data in a PDM file generated by the DAQ Assistant.

    When I use the PDM Viewer, with x the value absolute time scale, the date starts in 1903. If I use Excel to look at the file that the start time is correct (i.e. 2013).

    Bo_Xie, I simplified my VI and now able to display the correct time stamp. Thanks for your time!

  • How can I get a graphic display in real time of a task daqmx

    Hello

    I have set up a task DAQmx using the DAQ assistant and the task is to work and produce a graph/data, but not before the task is complete. How can I get a display in real-time of the numberical values or graphics?

    Any help would be really appreciated

    Thanks, Paul

    paultryan wrote:

    I could get set the frequency of sampling and to give a regular change of output, but im looking to get this long-term data acquisition. For example, the graph changes everything but 1 - 5 get 30 minutes of data.

    I used the DAQ assistant and labview is completely new to me, if im not sure where it take it from here.

    concerning

    Then you should use a chart - not a graphic. A graph has a story. You must set this. Right click and select "Chart History Length".

  • When the value to display in the time format double digital indicator... Changes in value.

    Hi all

    I can't display the values that I want. I have a value double say 320 sent to a digital indicator where I edited the properties of it to display in a time format that contains only minutes and seconds as Yes, 3:20 '. Unfortunately, it takes the value and change it to another value and display that. I don't know what is the issue. If anyone knows the solution... Please post!

    There is an image attatched!

    Thank you.

    I believe only then due to the fact that when I convert a timestamp value to double as 03:20, he gave me 320. So I thought that the reverse can be trying. Should I just enter the total amount of seconds and that will show the Minuteseconds I want?

    Thanks for the quick response.

  • Display in real time with a delayed recording LV6.1

    Hi, I need help with LabView 6.1

    I have a hardware module FieldPoint where I read 8 channels for thermocouple. I want to display the value of the thermocouples in real time (or as close as I can manage) all saving the values in a CSV file at discrete time intervals (every 10 seconds). I am able to display the values in real-time, but the recorder real-time records, produce a lot too much data. I'm able to delay the recording interval, but in bulk then display in real time!

    The following example shows a method I've tried. The delay time in the loop of logging seems to delay the entire program. I also tried to use the loop of the logging of a sequence (using a simple delay of 'Wait') structure and a structure of matter (with a counter and only do the loop of logging real when the counter gets to 1). I tried to configure synchronous display without success.

    I'm having no luck and wonder if someone could point me in the right direction?

    Ah, the benefits of time.

    I think that I managed to create a solution for me using a different tact. Instead of using individual meters of delay, I used a "trigger time" approach as demonstrated in this thread;

    http://forums.NI.com/NI/board/message?board.ID=170&message.ID=286988&query.ID=6280650#M286988

    Currently, it is limited because it will allow only a delay of 59 seconds between the readings, but this should be relatively easy to solve. The solution works continuously update the display with a slight delay to help cope aging computers, and then the button "Log Data" is selected writing worksheet function is called second pushed together as selected. Quite a simple and elegant solution I think.

  • My out going to send show a slow time - when the I send email it displays the correct time

    Hello

    I have a vista home Prieum system... .the problem is that email when time which is recorded on the email before it is sent a slow time... shows when the e-mail is received, it displays the correct time... How can I recrify it, you can

    Jeff Matthews

    Hi Jeff Matthews.

    Thanks for posting in the Microsoft Community.

    I understand that outgoing emails are incorrect time, he would be grateful if you could answer this question more answering the question.

    1. this happens with a specific e-mail program?

    2. are you faced with the question of the webmail like Hotmail or Yahoo, or with any client e-mail like Outlook?

    3. have you made a recent software or hardware changes to the system?

    It seems that you have to change some settings in the email program itself to change the time.

    You must get in touch with the email service provider for assistance.

    If you use Hotmail or Outlook, you can post your query in Windows Live or Office Outlook Forum to get help.

    If please reply and let us know if you need help to solve the problem and we will be happy to help you.

  • How to display the clock (time and date) in the task bar at the bottom of the right hand of the computer

    I ask for help.

    I want to be able to display the clock (time and date) in the taskbar at the bottom right of the computer

    Hi FrankNikolich,

    Thanks for asking! I understand that you want to display the clock and date in the system tray.

    1. have there been recent changes to the system before the show?

    Follow these steps and check if that helps.

    (a) right click on the taskbar, click Properties, click Notifications.

    (b) click on the Customize tab, click on the System Turn On or OFF icons.

    (c) in the drop-down list, select Yes for the clock.

    (d) click OK.

    Answer us with the results. I'd be happy to help you further.

  • to display the correct time using the trigger

    Hi all;

    Relaxation program cannot display the exact time of connection. Why is it being implemented?

    SCOTT > create table user_login)

    NAME VARCHAR2 (30)

    , ISDBA VARCHAR2 (20)

    , EXTERNAL_NAME VARCHAR2 (30)

    , AUTHENTICATION_TYPE VARCHAR2 (30)

    , HOST VARCHAR2 (20) SESSIONID

    NUMBER of SESSIONID

    ,      DATE OF LOGIN_DATE

    (, LOGIN_TIME VARCHAR2 (15));

    Table created.

    / * Relaxation to find information of user connection * /.

    SCOTT > create or replace trigger tri_login

    AFTER LOGON ON DATABASE

    BEGIN

    Insert into user_login)

    username

    isdba

    external_name

    authentication_type

    host

    sessionid

    login_date

    login_time)

    SELECT

    SYS_CONTEXT ('USERENV', "SESSION_USER")

    SYS_CONTEXT ('USERENV', 'ISDBA'),

    SYS_CONTEXT ('USERENV', 'EXTERNAL_NAME')

    SYS_CONTEXT ('USERENV', 'AUTHENTICATION_TYPE'),

    SYS_CONTEXT ('USERENV', 'HOST')

    SYS_CONTEXT ('USERENV', 'SESSIONID')

    sysdate

    , to_char (sysdate, 'HH24:MM:SS')

    Double;

    end;

    /

    10:02:22 SYS > select * from scott.user_login;

    ISDBA AUTHENTICATION_TYPE HOST LOGIN_DAT LOGIN_TIME SESSIONID EXTERNAL_NAME USERNAME

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

    Oracle SYS REAL SERVER OS - 1 4294967295 21 April 15 09:04:05

    Oracle SYS REAL SERVER OS - 1 4294967295 21 April 15 09:04:34

    Always show login_time is incorrect, HOW DO I SET RIGHT of TIME DISPLAY?

    Thank you all.

    DB: 11.2.0.1 on redhat linux

    TO_CHAR (sysdate, 'HH24:MM:SS'

    TO_CHAR (sysdate, ' HH24:MI: SS')

    Concerning

    Etbin

Maybe you are looking for