Skip to main content
Inspiring
September 21, 2023
Question

on load script not working

  • September 21, 2023
  • 2 replies
  • 238 views

Hi

I am running the latest version of captivate classic
I have a next button running "for rest of project"
When I try to hide it on certain slides using the hide script on "on enter" it do not work.
Tried disable script also. Same thing. Not working.

New bug or...?

    This topic has been closed for replies.

    2 replies

    Lilybiri
    Legend
    September 21, 2023

    OK, I created a project for testing in version Captivate Classic (11.8.2). I added a shape button to the first slide, timed it for the rest of the project, always on top. I kept the generative name for the button which was Shape_1. I kept the default pausing point at 1.5secs.

    On the second slide I used the simple action 'Hide Shape_1' and on the third slide 'Show Shape_1'.

    When previewing in Browser (which is the same as Preview Project) everything worked as expected.

    I wait for your answers on my questions to guess what could be wrong, because it is for sure not a bug in this version.

    mysk83Author
    Inspiring
    September 21, 2023

    Thank you for testing it out.
    Its an advanced action.
    Same for the exit script. Not working.

    I did a workaround. Could be this specific course that are filled with hundreds of scripts.

     

    Lilybiri
    Legend
    September 21, 2023

    I am pretty sure this is due to too many advanced actions. As a consultant I have debugged a lot of projects, and Captivate can be bloated by too many advanced actions and variables. It is the reason I became the advocate for Shared actions and reusing variables.

    Looking at this example of that advanced action some tips:

    • If you had a Visited Inbuilt state for b_2 you wouldn't need the Change state action since the Visited state automatically appears when button has been clicked.
    • What is reason for the two CloseMenu buttons? I would like to see them in the Timeline of the first slide.
    • You hide four items here, no possibility to use a group? Are they all timed for the rest of the project or not?
    Lilybiri
    Legend
    September 21, 2023

    I keep to 11.5.553 for real projects because of the many bugs in 11.8.2.  However I have that Captivate Classic installed on another system and will try to double-check because if your claim is true, that is a very bad bug.

    Can you explain in detail what you mean by 'hide script'? Is it a simple action, an advanced or shared action or a real JS script? Which name did you use for the button?