Calling a function in the HTML window the course sits inside - Captivate 8

Hi,
I've scoured the forums for an answer to this but as yet have come up blank.
Our LMS launches a course in a popup window and inside of this the .htm Captivate output file sits.
Currently this pop up window has a button in it which executes a function.  The problem is this button is rather unsightly sitting above the course in the HTML window and I'd like to be able to call this function from inside the Captivate course itself.
The function is called closeSCOContent() and it closes the course window but crucially forwards the user to a feedback page.
So essentially is it possible to call this function using the Javascript function in Captivate 8?
I hope I've explained that sufficiently
Many thanks!

Hi,
This gave me the nudge in the right direction I needed, after a bit of basic frameset research I've got the desired functionality.
Huge thanks!

Similar Messages

  • I am getting error Error in calling up function 'BAPI_APOATP_CHECK' in APO server The current application triggered a termination

    I am getting error Error in calling up function 'BAPI_APOATP_CHECK' in APO server The current application triggered a termination
    when triggering for gatp.

    Hi Virender,
    This error can be experienced due to many reasons. based on my experience below reasons can cause this issue.
    1) If you are using allocation check if allocation is correctly set.
    2) In case you are using custom enhancements / user exits (in SD / GATP / CIF) check if any of them, causing this issue.
    In my case correction of allocation setup could resolve this issue, so check what is the reason in your case.
    Rgds
    Sourabh

  • What does this Adobe Muse error message mean: MuseJSAssert: Error calling slector function:SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with orign "null" from accessing a cross-origin frame.

    So what is up with this error message in Muse?
    MuseJSAssert: Error calling slector function:SecurityError: Failed to read the ‘contentDocument’ property from ‘HTMLIFrameElement’: Blocked a frame with orign “null” from accessing a cross-origin frame.

    This is a genuine security error generated by the browser when viewing a page with iFrame content locally.
    Please refer to Zak's reply in the following thread: https://forums.adobe.com/message/6496180#6496180
    Cheers,
    Vikas

  • How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    Hi,
    Thanks for the suggestion. I've been playing around with some of the classes of the java.net package and java.io
    Using the URL class i can get the content of the data from a STATIC page and output that response to file so that is does not display to the client broswer.
    But this only works if the URL i give points to a static html page.
    So the problem i'm getting is if i'm righting in arguments in the URL, this means that server needs to process the arguments i give and its sends back a dynamic result. Because its dynamic the URL class can not handle this and throws me an exception everytime :(
    Have u ever tried to do some things like this?
    Rahul

  • I have apps loaded on my iPad. they show in the main screen are not available to load documents to in the window list which should appear below the main window. the same apps do appear in the sub window on my other iPad. any ideas?

    i have apps loaded on my iPad. they show in the main screen are not available to load documents to in the window list which should appear below the main window. the same apps do appear in the sub window on my other iPad. any ideas?

    From what I can see, unless you're doing things with old versions of Xcode on a Mac (in which case, the solution seems to be to upgrade to the latest version), this seems to e an iTunes issue.
    Accepting that it works fine with another iPad, I suggest trying the following:
    1. Restart the non-working iPad
    2. If that doesn't work, reinstall iTunes. If you're on a Windows PC, I suggest using Control Panel to uninstall all the Apple apps, restarting the PC, and doing a fresh install. If you're using a Mac, a repair permissions might help too.
    iTunes 10.3 is now available, and that may make a difference.

  • Problems accessing the HTML UI Guidelines Course Material

    When I attempt to access the "HTML UI Guidelines Course Material" on http://otn.oracle.com/tech/blaf/education/gettingstarted.html, I get a blank page.
    I am a member of OTN and am logged in. Any ideas?

    This is an error on OTN. I've forwarded this to the content owner to fix.
    - Robert (OTN)

  • How to exchange data between the html in the form layout and itsparameters?

    i am trying to rephrase a question i asked a few days back and which yielded no response.
    is there any way to exchange/transfer values or data between the html in the form layout editor and the form parameters?
    for instance, is there any bridge such that the form template design (controlled by some html-based attribute), or the display property (again managed by some string value for the style:display attribute) of some of its divisions etc could be controlled by the values passed to some parameters of a portal form?
    has any body ever tried to do it or thought of doing it? or it's inherrently beyond the portal forms capacity?
    folks, any clues or hints on 'yes, that's how' or 'no, and that's why not!' please? will greatly appreciate.
    Naqvi

    i am trying to rephrase a question i asked a few days back and which yielded no response.
    is there any way to exchange/transfer values or data between the html in the form layout editor and the form parameters?
    for instance, is there any bridge such that the form template design (controlled by some html-based attribute), or the display property (again managed by some string value for the style:display attribute) of some of its divisions etc could be controlled by the values passed to some parameters of a portal form?
    has any body ever tried to do it or thought of doing it? or it's inherrently beyond the portal forms capacity?
    folks, any clues or hints on 'yes, that's how' or 'no, and that's why not!' please? will greatly appreciate.
    Naqvi

  • VC++ WebBrowser call Javascript function in a frame of the main page

    I can successfully call JS function in the main page from VC++, but when I call the JS function in frame, GetIDsOfNames() return DISP_E_UNKNOWNNAME. The question can be describe as below:
    main page is INDEX.HTM, loaded in webbrowser control, src:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Sample</title>    
        <script type="text/javascript">
    function FuncMain()
    alert("Main Page Function Called!");
        </script>
    </head>
    <body>
    <div>
      <div id="div_test1">
        <iframe id="page_test1" width="100%" height="100%" src="test1.htm" frameborder="0" scrolling="no"></iframe>
      </div>
      <div id="div_test2">
        <iframe id="page_test2" width="100%" height="100%" src="test2.htm" frameborder="0" scrolling="no"></iframe>
      </div>
    </div>
    </body>
    </html>
    test1.htm src:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <body>
    <div>Test1 frame page</div>
    </body>
    </html>
    test2.htm src:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <script type="text/javascript">
         function showAlert(x)
    alert(x);
     function callVC()
    window.external.VCFuncTest();
        </script>
    </head>
    <body>
    <div>Test2 frame page</div>
    <div id="test_btn" style="background-color:red;width:100px;height:100px;cursor:pointer;" onclick="callVC();">Test</div>
    </body>
    </html>
    in VC++:
    VC++ code can call JS functions by CWebPage class, I found it here:  http://www.codeproject.com/Articles/2352/JavaScript-call-from-C
    in my VC project, webPage.CallJScript(_T("FuncMain")) succeeded!
    webPage.CallJScript(_T("page_test2.showAlert") failed,  the GetIDsOfNames() return DISP_E_UNKNOWNNAME. BTW, webPage.CallJScript(_T("showAlert")
    also failed! Same error.
    any help?
    Best Regards!

    Thanks for your reply Viorel_.
    i know i can define a function in the main page: 
    function showAlert_Main(x)
            document.frames('page_test2').showAlert(x);
    then, webPage.CallJScript(_T("showAlert_Main"))
    succeeds.
    but this function is just an empty shell doing nothing, and i know there must have a way to call showAlert(x) directly.

  • Problem:  Unable to call a function in parent swf from the child swf.

    I am working on a site right now that has a parent loader
    (all it contains are the menu bar [which is as3 tweened] and the
    functions for calling all of the other pages.) The problem that I
    am having right now, are some of the internal or child pages, need
    to call functions that are in the parent loader. For what ever
    reason, I am unable to do any of that.
    I have attached the code so you can look at that.
    Let me see if I can explain it any better.
    The code I just posted is for the Main Stage swf called
    loader.swf. It has the menu, and all the functions that control the
    menu's movement and when to load all the other swfs. The easiest
    way for me to ask this, is to show you.
    click
    http://dev.locallinux.com/mystictan/layout2.html
    When you get there, you will see the menu bar, and it is
    loading home.swf onto the stage behind the menu.
    Mouse over "The Perfect Tan" and click on "1: Base"
    You will notice it just loaded a new swf called ptbase.swf.
    Well in that swf is a button for "Products" That button
    basically needs to take you to "Products > 1: Base" on the menu
    (not working yet, I know. But theres no point in me making that,
    until I could get this working"
    What I would like is when you click on "Products" in
    ptbase.swf, it calls the function clickedProductsBase(), which does
    its thing. But that function is back in the loader.swf. Does that
    make sence?
    What am I missing here?

    RyanORo, thank you very much for your response.
    I try that, and I get this sort of error when I click on it:
    TypeError: Error #1006: fwd is not a function.
    at ptbase_fla::MainTimeline/testing()
    I know all that code that I posted was a bith much, but here
    is the movie loading part:
    function loadComplete(event:Event):void
    loaderbar.visible = false;
    mainbody.removeChild(thisMC);
    thisMC = MovieClip(myloader.content);
    myloader.unload();
    mainbody.addChild(thisMC);
    thisMC.gotoAndStop(1);
    TransitionManager.start(thisMC, {type:Fade,
    direction:Transition.IN, duration:5, easing:Strong.easeOut});
    mainbody is an empty mc under the menu, so that the loaded
    swf file appears under the menu.
    You know what, scratch all that . *MOOWHA* I could KISS you
    right now. "(parent as MovieClip).clickedProductsBase()" did not
    work because it was calling it out of the wrong parent. Just did
    "(this.parent.parent as MovieClip).clickedProductsBase()" and that
    did the magic I needed. Thanks...

  • How to call a function in a class from the main timeline?

    Hey Guys
    I have a project in Flash with four external AS files, which are linked to items in the library using AS linkage.
    What I want to do is call a function in one of these files from the main timeline, how would I go about doing this? I'm not currently using a document class, most of the code is in Frame 1 of the main timeline.
    Thanks

    // change type to the class name from the instance
    ClassNameHere(this.getChildByName('instance_name')).SomeFunction();

  • The call library function require us to define the type of parameter that w are using.The type of parameter in cludes numeric, array, string,wav​eform and adapt to type.I would like to know more about waveform and adapt to type.

    In the labview manual, there is very little mention about the use of waveform.How is this waveform being called and can i have an example to see how this work.
    Also in the adapt to type paramete, what does this parameter do and in what circumstances do we need to use it.The manual say something about the use of this parametr.It says that scalar elements in arrays or clusters are in line.For example a cluster containing anumeric is passed as pointer to a structure containing a numeric. What does this statement mean?
    Can i imply t
    hat if my input is a struct, can i use a adapt to type parameter to overcome this incompatibility?Can i also have an example to let me have a better idea.thank you

    I'm going to share my experience with the "Adapt to Type" parameter.
    Attached to this message is an example. The attachment is a zip file with three files: a dll, a c file and a vi written in LabVIEW 6. The dll contains a function that return a structure with 3 values (like the coordinates of a point in space, that is, (x, y, z)). You can see how the function was constructed by looking at the c file.
    In LabVIEW, I created a cluster with the same three parameters. Then, I configured the call library function following the function prototype as in the c file. For the point variable I use "Adapt to Type".
    I hope this can give you a head star.
    Best regards;
    E. Vargas
    www.vartortech.com
    Attachments:
    pointexample.zip ‏63 KB

  • How do I alter the html in the simple form contact us so it will upload and function on Bluhost?

    All representatives are actively assisting other customers. Your estimated wait time is 7 minute(s) and 0 second(s) or longer. Thank you for your patience.
    All representatives are actively assisting other customers. Your estimated wait time is 6 minute(s) and 30 second(s) or longer. Thank you for your patience.
    All representatives are actively assisting other customers. Your estimated wait time is 6 minute(s) and 30 second(s) or longer. Thank you for your patience.
    All representatives are actively assisting other customers. Your estimated wait time is 7 minute(s) and 0 second(s) or longer. Thank you for your patience.
    All representatives are actively assisting other customers. Your estimated wait time is 6 minute(s) and 30 second(s) or longer. Thank you for your patience.
    All representatives are actively assisting other customers. Your estimated wait time is 6 minute(s) and 30 second(s) or longer. Thank you for your patience.
    All representatives are actively assisting other customers. Your estimated wait time is 6 minute(s) and 0 second(s) or longer. Thank you for your patience.
    You are now chatting with 'Parikshit'
    Parikshit: Hello K.
    Parikshit: I read your issue description.
    Parikshit: The form doesn't upload there. Does the form work fine when you test it on your computer by previewing in browser from Muse?
    k: hello I am examining my page in developer ( source) in safari and I can see lines of tesst that say the server encountered and error.
    k: If I export to my desktop, I can see the form but it does not work. If I upload it does not appear at all, and that is in not what adobe says the form will do. Adobe says the form will APPEAR but not function. It does not appear OR function. I had tried the 3 versions of php.... now I need to see a working form to a usual, commercial host so that I can copy the relevant code.
    k: lines of text
    k: And no, it does not work when I preview in browser
    k: When I preview to browser it does turn red for a while.... but it doesn't do anything.
    Parikshit: Can you publish the site in BC one to check if it works, if it doesn't then there must be some issue with the form itself. It's code.
    k: no. I do not have a subscription and my client does not want BC used at all. I have the new CC muse which is supposed to finally work without having to upload to BC.
    k: I have several cloud subscriptions, when cloud ever starts to work....
    Parikshit: You don't need to work in BC or have it as your host. This is just to test if it works.
    Parikshit: Just a trial site.
    k: but my client refuses to have anythig to do with BC, and I don't blame them. They had bad experiences inthe past and do not want to do anything that involves BC.
    Parikshit: You won't have to pay for the site.
    k: I don't want to involve BC because I promised my client I would not go there. They were very insistant. We were finally going to use Muse because you no longer are required to use BC. BC was the big sticking point. But if I can't do this without using BC, then I am right back to where I was year ago. No better.
    k: I think I have a limited number of occasions when i can use BC, and I don't want to do it now for this simple contact form. What a cheat.
    k: What other functions in Adobe Muse CC won't work unless they are euphemistically " tested" on BC? Save me the time and dissappointment tryig to use this software.
    k: Adobe states that the form will appear when uploaded to a outside site, but not work. The form does not upload, and the form does not appear. I tried version 5.2,5.3, 5.4 and then put php back to version 5.3.
    Parikshit: There is nothing wrong with it. Did you change the code of the form?
    k: no. And there is plenty wrong with it, it does not appear. I did not change the code because I want to look at a sample that has been altered to make sure I alter it the correct way. Where can I find the page source of a page that has the simple contact form widget used and uploaded to a commercial hosting site, and the forem works.
    k: form works
    k: This was a bug that was described last year and the release of this version advertised it had been corrected. It is not corrected.
    Parikshit: It is corrected and several users are able to use it fine.
    k: Then send me a page from one of the ones that is working fine.
    k: who are those several users? Give me names.
    Parikshit: there is either something wrong on the host's end that this doesn't get uploaded. We've already had many users upload it to an external hosts. We don't keep user site URLs with us, and hence I won't be able to provide you with one. But the best method here would be to post this on our forums, and then all our forum members (including users who have successfully implemented this) will be able to see the post and reply to it.
    k: I've seen them all complaining that this still doesn't work. Perhaps you should encourage some of the successful uploaders to post to the forum. Send me a link. I had numerous tech support people at the host check this and there was nothing wrong with their PHP or the upload path.
    Sorry, our chat session has ended due to circumstances beyond our control. Please feel free to contact us again if you need further assistance.

    Can you supply a link?

  • Calling Flex function from javascripty for window.close

    Using a set up in my ActionScript of:
    ExternalInterface.addCallback("tagWithClosed",windowClosed);
    How can I write a JavaScript function that calls
    'tagWithClosed' to Flex when the user closes the window
    (window.close() )?

    Tried something like this:
    <SCRIPT LANGUAGE="JavaScript">
    window.onbeforeunload = closingWindow;
    function closingWindow()
    FXVideo.tagWithClosed();
    </SCRIPT>
    Didn't work though.
    My swf is called FXVideo.swf. Is calling the
    FXVideo,tagWithClosed correct or should be something else?

  • Call javascript function in an html page, how to?

    How can i call a javascript function in an html page were my flash catalyst swf is?

    I think you will need to import the catalyst fxp into flash or flash builder and add action script to invoke the javascript.
    These two links may be of use
    http://blog.codefidelity.com/?p=15
    http://www.switchonthecode.com/tutorials/flex-javascript-tutorial-simple-interaction
    I hope that helps

  • About  load the html in the flex

    hi, everyone. i want to achieve the function that can show
    the webpage in the flex, i find it in the internet, many pepole
    achieve it with the " iframe". it is opportunistic , not load the
    webpage to the flex, when we open the swf file the flex produces,
    the webpage don't show. i know the AIR can load the webpage, but it
    is only desktop applicaction, i want the flex web also can have the
    same function with the AIR, hope you can give me some
    advice.

    No you're not missing anything.  I agree with you.  Everything has moved to CSS whether it be through included files or in the head, or inline when it comes to making emails.  The only difference currently is that the HTML version writes stuff inline vs. the css part which writes it in the head or attached CSS document.

Maybe you are looking for