use javascript advanced action to advance to the next page of parent window?

Hello

I'm looking using Captivate quiz in some provided training based on html. I have this type of structure:

Page html with a conceptual content.

Html b. with a conceptual content page

Page c. html which displays a Captivate quiz question

Html d. with a conceptual content page

When the user finishes the test successfully at point C, I want to automatically advance to the next page of the html (D).  I'm assuming I could use a tip action in the Quiz properties. In other words, 'the success = Execute advanced Actions', then to run our javascript gotoNextPage() function.  But it does not work. Is there a trick to do something like that?

Thank you!

If you test this output on your computer, try to upload to a web server and test from there.

I find a lot of actions executed in Captivate JavaScript works only when the content is served from a Web server.

Tags: Adobe Captivate

Similar Questions

  • Script code of action to link to the next page

    I'm new to Flash and Action Script and looking for help. I have a Flash file that I created for the opening of a Web site page. I want the movie to play once (the SWF file is inserted into my Dreamweaver site index.html page), then continue to the next page (the "Home" page) of the Web site. I guess I should insert this code at the end of the timeline in my Flash file, but I'm not sure what should be the code. Can anyone help? Thank you.

    Hello

    I want the flash code of the file

  • Hyperlink button continues to the next page - 6 Captivate

    Hi guys,.

    could use help.

    I vision related images with a transparent button to open Web pages, but rather (in mode published on my hard drive), it continues to the next page. There is no area of click, but I added a pause button in the lower right corner they can click whenever they are done by looking at the links.

    I know once I publish the project on my actual website, the links work, but it advances to the next page at the same time WITHOUT pressing the pause hand button always right lower corner. I have checked these transparent hyperlink buttons, but don't know why just moving it. Clues?

    Thank you very much!

    NAT

    After the field where you enter the url, there is a small button with an arrow down. Click it and you can choose the behavior of the link. I choose usually 'new' in the first section to open the link in a new window. To stop the project continued, uncheck the box to "continue to play the project.

  • Carrying a $_POST vars on the next page

    I have a page that uses variables $_POST to insert a record - simple form processing.

    What I'm trying to do is to use these same variables of $_POST in the next page (after submit) to create an email that will then be used to verify that the e-mail address is real.

    I am fairly new to this and I don't know how to do this...

    I thought using the following, I could re - enter variables and use them on the next page, but obviously not.

    <? PHP
    $username = $_POST ['username'];
    $postgroupcode = $_POST ["groupcode"];
    $email = $_POST ['email'];
    $title = $_POST ["title"];
    $firstname = $_POST ["firstname"];
    $lastname = $_POST ['name'];
    ? >

    Does this mean I put the mail function in the same page as the record insertion function?

    EviePhillips wrote:
    > BUT how you can use this information on other pages of the site? What type
    > "variable" you would create and how?

    Use a session variable.

    Put this at the beginning of the page:

    session_start();

    Then enter the variable of $_POST and assign it to the variable $_SESSION
    Like this:

    If (isset($_POST['variableName'])) {}
    $_SESSION ["VariableName"] = $_POST ["VariableName"];
    }

    If your server uses magic quotes (execute the phpinfo() function and see if)
    magic_quotes_gpc is 'On'), modify the above code to this:

    If (isset($_POST['variableName'])) {}
    $_SESSION ["VariableName"] = stripslashes($_POST['variableName']);
    }

    You now have access to $_SESSION ["VariableName"] in any page that begins
    with session_start().

    --
    Adobe Community Expert David Powers
    Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Cannot left click to advance to the next image in the image windows Viewer. I can move forward using the keyboard

    Cannot left click to advance to the next image in the image windows Viewer. I can move forward using the keyboard

    I have a folder of photos that I opened to see several thumbnails. I can left click on a picture and it will open full screen. Then I left click on this image and the next should show but nothing happens. I can use the keyboard arrows to move to the next photo, but I can't use the mouse. The left click works for everything I use it for. I've used regsvr32 /i shimgvw.dll and he said DllRegisterServer and DllInstall in shimgvw.dll succeeded. This does not solve the problem. This isn't a big deal, it just bugs _ on me because I'm a perfectionist. Thank you for your response and any other help would be appreciated.

    ===============================================
    If you use Windows Picture and Fax Viewer... left click of the photo is
    not supposed to promote the image. (some image viewers work this way
    but not Windows Picture and Fax Viewer)

    Left click on the blue arrows at the bottom of the screen will advance
    photos.

    See arrows in the following photo:
    http://blog.BrotherSoft.com/wp-content/uploads/2008/12/extend_200_image_support_for_windows_picture_01.jpg

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • I have 6 music phone will not advance to the next continues to repeat song

    If you use bluetooth car, song keeps repeating and will not advance to the next song.

    I have the same problem, but I use a USB cable to the radio.

    Everything worked fine until I upgraded to the latest IOS 9.2. Everything works fine on the computer, but on the phone that you only get to play a song.  If you keep hitting the shuffle icon it changes songs but it's a pain.

    Come on Apple just your updates are not good enough.  How about testing before releasing upgrades.

  • Slide will not automatically advance to the next

    I have a slide that I need to switch to the next slide after the audio and video playback. The audio and video are both set to play automatically when the slide is entered. All my other slides in the project automatically move to the slide following and some of them have audio and video. If I activate the blade PlaySkin is as I want it, which is to play the audio and the video once and then go to the next slide. However, I don't want the PlaySkin in the lesson at all. This lesson is just a quick tutorial and didn't need the skin.

    It was my actions for this slide

    Screen Shot 2016-07-26 at 11.02.22 AM.png

    When the blade reaches the end of the video, the video will stop, but the audio loops. I don't have the "Loop Audio" active choice. And with only one change the presence of the skin, it works. Is anyway I can fix it so that the blade will automatically to another without going through it have skin?

    Thank you

    Kellie

    Figured it out! All I had to do was select the video and on the timing tab in the property inspector, change the display for: for the duration of the video. They will then advance to the next slide.

  • How can I prevent Captivate to advance to the next slide, after the end of the audio and I click on click to show/hide sidebar box?

    I currently have a slide that plays audio.  While usage is listening to the narration that I can click on three different click the boxes with advanced actions to open and close text boxes, I want the user to read the value.  When reading narrative ends and I'll click on the boxes to click to read a text box, it moves to the next slide.  I understand that I may have to replace the box with smart buttons click but I don't know how to stop the progression to the next slide.  I already have a next button that is put on pause until the user clicks.  Any help would be greatly appreciated.  I'm on a tight schedule.

    Quickly, I created a sample file, just have a slide with three form buttons that act as the toggles and a next button. The first three buttons break late exactly at the same time and the next button.

    Since it's the slide by clicking the audio stops no audio at all (common misunderstanding). I created a shared action, with the purpose to display and the variable (mine are labeled v_one instead of v_visib) as parameters:

    StarOne is what you want to show/hide. You can click on infinite time on each key to show/hide this element. He won't interfere not audio, once he started playing he will continue. When the audio is finished, you can still continue to click. Just click on the next button will advance to the next slide. It's my calendar

    No need to rewind the playback head in this case at all.

  • Several boxes click - advance to the next slide, before I want what he

    I have 3 boxes click on a slide. Two click boxes open PDFs and the 3rd is a recognition area, which gets clicked after 2 PDF files have been read.

    Screen Shot 2015-03-13 at 2.22.48 PM.png

    No matter who click on the box I click first, it automatically advances to the next slide. Boxes of 2 click open pdf file just have the "hand cursor" selected and nothing else (see image). The click of recognition box has the "project to break up what the user clicks on" selected.

    Someone at - it other suggestions, I could try? I use 8 Captivate.

    Screen Shot 2015-03-13 at 2.19.55 PM.png

    For the PDF file (here I used a URL: you can try this)

    Which is triggered by the stopping, click box receipt?

  • Shuffle all is no longer works, I have to manually advance to the next song or listen to the same song over and over again

    Since the update to iOS 9.3.1 my iphone is more my music mix.  I can type shuffle all, but he played just the same song over and over until I manually advance to the next song.  Any suggestions on how to fix it?

    It's strange because on my iPhone 6 if I hit Shuffle All (at the top - it doesn't matter if my view of my library is on songs, Albums, artists) it certainly mixes between songs and does not play the same song over and over again.

    Just to be sure that we are talking about the same thing-, you tap my music at the bottom of the screen and then click on library above, then press Shuffle All? Because that's what I did and had no problems. Maybe try forced him to leave the music application (double clicking the HOME button, and then drag upward on music app) or even try to do a hard reset of the iPhone (now the HOME and POWER buttons until the Apple logo appears).

  • How to navigate to the next page based on the value returned by the method call inside the action attribute of the command key.

    How to navigate to the next page based on the value returned by the method call inside the action attribute of the command key.

    I use JDeveloper 12.1.2.0.0

    < af:button id = "tt_b2".

    rendered = "#{attrs.nextRendered} '"

    partialSubmit = 'true '.

    action = "#{attrs.backingBean.nextAction} '"

    Text = "next".

    Disabled = "#{attrs.nextDisabled}" / >

    private static final String NEXT_NAVIGATION_ACTION = "controllerContext.currentViewPort.taskFlowContext.trainModel.getNext";

    public String nextAction() {}

    If (validate()) {}

    updateModel();

    Return NEXT_NAVIGATION_ACTION;

    }

    Returns a null value.

    }

    Use case is made for model train, which is being implemented based on this blog: http://javacollectibles.blogspot.co.UK/2014/10/ADF-train-template.html

    We define a generic action following in the model, but the action must be called under certain conditions, based on the question of whether all validation controls had been passed on no.

    You can do this in two ways:

    1 returnValue = (String) ADFUtils.invokeEL("#{controllerContext.currentViewPort.taskFlowContext.trainModel.getNext}");

    return returnValue;

    2.

    public String getNextTrainStop() {}

    String nextStopAction = null;

    ControllerContext controllerContext = ControllerContext.getInstance ();

    ViewPortContext currentViewPortCtx = controllerContext.getCurrentViewPort ();

    TaskFlowContext taskFlowCtx = currentViewPortCtx.getTaskFlowContext ();

    TaskFlowTrainModel taskFlowTrainModel = taskFlowCtx.getTaskFlowTrainModel ();

    TaskFlowTrainStopModel currentStop = taskFlowTrainModel.getCurrentStop ();

    Terminus of TaskFlowTrainStopModel = taskFlowTrainModel.getNextStop (currentStop);

    nextStopAction = nextStop.getOutcome ();

    _logger.fine ("train, next stop:"+ nextStopAction ");

    Return nextStopAction;

    }

  • Who knows how to pass a value from the form on the next page of javascript?

    I have a simple drop-down list. Maybe this isn't the best way, but I use the MM_goToURL function on the onchange event. It works very well so he can redirect without clicking on the submit button.
    What I need to do, it's pass the value selected on the next page and grab it so I can use Coldfusion to manipulate the results.

    Help, please.

    The answer is too simple. Just use javascript to submit the form onchange.



  • Inserting record in the database and then display on the next Page

    Hello!

    For a while since I posted here, but I've been pulling my hair out on this one.  Here's what I want to do.  I have a page that I want to be able to enter text in two form fields, then click on "Insert disc", and then on the next page, I just submit display.  For example, on the "insert.php" page I want to enter the field ID and Joe 43569 in the first name field.  Then after I click on submit (or insert record) the next page will have a text that says: "congratulations Joe, your ID is 43569.»  Have a great day! "Or something to that effect.

    I have the database mySQL, set up and insert records into it since this page works correctly.  Here is the code of my insert.php page which I think is the issue.   I'm just confused as to which should be added to the page detail.php to have this sentence appears correctly.  Is there something that should be added to the code on the page insert.php?  Something after the detail.php on that first line?

    Thank you, thank you, thank you in advance.

    Brent

    $insertGoTo = 'detail.php ';
    If (isset {}
    $insertGoTo. = (strpos ($insertGoTo, '?'))? « & » : « ? » ;
    $insertGoTo. = $_SERVER ['QUERY_STRING'];
    }
    header (sprintf ("location: %s", $insertGoTo));
    }
    ? > <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    " < html xmlns =" http://www.w3.org/1999/xhtml ">
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"
    < title > Untitled Document < /title >
    < / head >

    < body >
    < do action = "<?" PHP echo $editFormAction;? ">" method = "post" name = "form1" id = "form1" >
    < table align = "center" >
    < tr valign = 'of basic">
    < td nowrap = "nowrap" align = "right" > ID: < table >
    < td > < input type = "text" name = "ID" value = "" size = "32" / > < table > "
    < /tr >
    < tr valign = 'of basic">
    < td nowrap = "nowrap" align = "right" > first name: < table >
    < td > < input type = "text" name = "lastName" value = "" size = "32" / > < table > "
    < /tr >
    < tr valign = 'of basic">
    < td nowrap = "nowrap" align = "right" > < table >
    < td > < input type = "submit" value = "Insert file" / > < table >
    < /tr >
    < /table >
    < input type = "hidden" name = "MM_insert" value = "form1" / >

    < / make >

    When you submit the form, the form fields values are passed to the query insert as variables of $_POST, but as soon as you redirect the user to another page, these variables are destroyed.

    There are two ways to preserve the values: use sessions and session variables, or add values to the end of the redirect URL query string. Using the variables of session is probably easier since you can do it at the top of the page that inserts data into the database without affecting the code of Dreamweaver Server behavior.

    Put this at the top of the current page:

    
    

    In details.php, add top of the page. You can then use $_SESSION ['ID'] and $_SESSION ['name'] to display the values.

  • Passing values to the next page

    Hello

    I use Apex 4.2.5 in Oracle 11 g

    I've created a form that transmits its value to another page when a button is clicked.

    The field of employment in the page of the form has values like 'SELLER' in a folder,

    "ANALYST" in the next record...

    This page contains a button, and when it is selected, the values are passed to the page successfully as

    The problem is that some areas of employment are having values such as "PROGRAMMER, systems ANALYST.

    separated by commas in a record. When these values are passed to the next page, I get only the first job. and the rest is not.

    In the previous example, I get only PROGRAMMER and not the SYSTEM ANALYST.

    but when I change the field to be as "PROGRAMMER/ANALYST" then it works. Why not with commas?

    Thanks in advance

    KJ

    KJChellam wrote:

    I use Apex 4.2.5 in Oracle 11 g

    I've created a form that transmits its value to another page when a button is clicked.

    The field of employment in the page of the form has values like 'SELLER' in a folder,

    "ANALYST" in the next record...

    This page contains a button, and when it is selected, the values are passed to the page successfully as

    The problem is that some areas of employment are having values such as "PROGRAMMER, systems ANALYST.

    separated by commas in a record. When these values are passed to the next page, I get only the first job. and the rest is not.

    In the previous example, I get only PROGRAMMER and not the SYSTEM ANALYST.

    but when I change the field to be as "PROGRAMMER/ANALYST" then it works. Why not with commas?

    Commas are used to separate the values of each element.

    You should avoid passing string values that may contain any reserved characters in the URL in links. It is not to transfer data in the URL, other than the minimum possible number of discrete alphanumeric identifiers. Values required in a target page can be recovered in the element source and properties by default, calculations or using these values of process ID, or by referencing the other page element values or application already in session state.

    The values containing a colon cannot be passed through the URL. The values containing commas can be passed if the value is escaped with backslashes:

    &P10_ENAME.,\&P10_JOBS.\

  • I resize my image of window, so everything is OK, but as soon as I change window on the next page the image goes back to the small size. How can I stop this product. This happens when go on facebook or any other place. Help me please.

    reduced the size of the General image that I see toby about a third - I resize by pressing the CTRL key and using my mouse scroll button to extend the set of the image so that it fills the screen. As soon as I go to the next page the entire image back to original size and I have to repeat the action again.

    The function Zoom of Page Firefox does a level of field by field to save favorite settings level users zoom, there is no default Page Zoom level setting in Firefox.

    Try the extension Default FullZoom Level:

    https://addons.Mozilla.org/en-us/Firefox/addon/6965

    Or the NoSquint extension:

    https://addons.Mozilla.org/en-us/Firefox/addon/2592/

Maybe you are looking for