Calling a function in the HTML window that course is located inside - 8 Captivate

Hello

I scoured the forums to answer this but still have developed in white.

Our LMS is launching a course in a pop-up window and inside that the Captivate output file .htm lies.

Currently this pop-up window has a button that performs a function.  The problem is this button is rather unsightly sitting above the price in the HTML window and I wish I could call this function inside the Captivate course itself.

The function is called closeSCOContent() and it closes the window of course but basically sends the user to a page of comments.

So, basically is it possible to call this function using the Javascript function in Captivate 8?

I hope that I have explained that sufficient

Thank you very much!

You should be able to call the function, but you would need to know where he is regarding parents/children/opener. Looks like there's frameset inside the popup.

Tags: Adobe Captivate

Similar Questions

  • Quick answer appreciated - Calling Edge function from an HTML page that is embedded in iFrame in Comp

    It's a delicate issue, but maybe it's just that I do not understand the syntax,

    Location:

    I have a composition of edge animate that acts as an interface and a container in which any content is integrated by using an iFrame.  I have several functions in Stadium > creationComplete, and for one of the embedded content items, I want to include a button that calls a function Edge.

    Challenge:

    I read on SEO elements within edge when it's the Edge file that is embedded in an HTML page, but I can't understand how to reference Edge in the back.

    I tried these options where headerselect (page) is my function:

    AdobeEdge.getComposition("EDGE-531849691").getStage () .headerSelect ("community");

    window.top.Edge.getComposition("EDGE-531849691").getStage () .headerSelect ("community");

    It is a project that is time sensitive.  Your help is greatly appreciated!

    Thank you!

    Fred

    Success!  I thought about it.  I'm a little embarressed.  It was a combination of the two options I listed above:

    window.top.AdobeEdge.getComposition("EDGE-531849691").getStage () .headerSelect ("community");

    So... Nevermind.  But I hope this will help you, too!

    Thank you!

    Fred

  • How can I call two functions in the HTML Form element attributes

    Hello

    I want the same value in the text field two, when I select the value to select the list then the value with a number increment should be two text field.
    I use both java script

    < script >
    function sumItems() {}
    function getVal (item) {}
    If ($x (point) .value! = "")
    Return parseFloat ($x (item) .value);
    on the other
    return 0;
    }
    $x('P19_LAST_END_YR').value = getVal ('P19_LAST_STR_YR') + 1;
    }
    < /script >


    < script >
    function per1Items() {}
    function getVal (item) {}
    If ($x (point) .value! = "")
    Return parseFloat ($x (item) .value);
    on the other
    return 0;
    }
    $x('P19_LAST_END_YR').value = getVal ('P19_START_YEAR') + 1;
    }
    < /script >


    now how can I call function onchange two attributes of the element in the HTML form for the discount:
    ' onChange = "javascript:sumItems()" onChange ="javascript:per1Items().

    Hello

    Try

    onchange="sumItems();per1Items();"
    

    BR, Jari

  • 'System Exec' output in the same window that called

    Hello

    I have a complicated program, but let me break it down to what matters.

    My labVIEW (exe) application is called by the command prompt. Does some calculations based on arguments that I passed to him.

    The thing that I do not quite understand, is how to export the results in the same command line that called. (Not a new window) I'm hoping to run my program in the background, and if I'm hoping to avoid something fancy and you want just the results in the same window that called it.

    Any help would be greatly appreciated.

    Kind regards

    Nyne

    It is not really an easy way to do it. On Windows, you have several options:

    • Try to use the Windows API commands to the Console (never really had much luck with these).
    • Use the console .NET class (I doubt that it works).
    • Use a trick I had suggested to copy text from the console just paste text directly into the console window. Joined a VI that does this. Note that it is 8.2 so I am unable to connect the cluster of error due to a bug in 8.2.
  • Can I call a function using the array index?

    I defined a table that stores the name of the function, like this:

    var aresetButtonTop:Array = new Array(resetTop1,resetTop2,resetTop3,resetTop4,resetTop5);

    Then I have a button named "btnresetTop" which, once clicked will be called one of the five functions stored in the array (aresetButtonTop) above. Functions are called at runtime depending on certain conditions. I need to figure out how I can call these functions using the array index. I use the following code to call the function. The value of i has already been calculated.


    btnresetTop.addEventListener (MouseEvent.CLICK, aresetButtonTop [i]);

    After doing this, I get the following error when I click on the button:

    TypeError: Error #2007: parameter listener must be non-null.
    at flash.events::EventDispatcher/addEventListener()
    at gallerytest_fla::MainTimeline/thumbTopClick()

    Note: thumbTopClick() is a function within which all these codes are written.

    I need to know if it is posible in AS3 to call a function name using array index or not. If so, could you afford ehelp me out.

    You can certainly do.

    In your case, it looks like i is out of range. Show your loop.

  • Calling a function in the main sequence of a loaded swf file

    I know this is probably a very basic question, but I loaded a SWF file in another film. Now, I want to call a function in the main SWF file. Is it possible to do? Otherwise, I have a custom class where I could put the function, but I was not able to understand how to call it from the SWF loaded either. Can I somehow associate the class with the main movie, or...?

    Nevermind - I did something very stupid and was not calling the function as a method of a clip. I was just calling checkTarget (event) and not event.currentTarget.checkTarget (event); that seems to work.

  • call a function in the hull of the SWF to a SWF imported

    We have set flash up as a shell to retrieve data from the lesson in XML and display image by image.

    We import SWF files when the XML code that tells it to affix the frame.

    How can I get the SWF file imported to call a function in the hull...

    basically a button or movie clip in swf call imported the function "gotoNextFrame()" in the hull.

    We found an easier way to 'bit' if anyone is interested... We have an eventlistner added to the charger to assign an event in the swf file that is imported:

    flashLoader.contentLoaderInfo.addEventListener (Event.COMPLETE, addEventHandlers);

    then when its done, it adds event listeners and calls our function "goNextFrame" (then it clears when its removed from the scene):

    function addEventHandlers(event:Event):void
    {

    var swfMC:MovieClip = event.target.content as MovieClip;

    swfMC.addEventListener ("NextFrame", goNextFrame);
    swfMC.addEventListener ("PreviousFrame", goPrevFrame);
    swfMC.addEventListener (Event.REMOVED_FROM_STAGE, clearEventListeners);

    }

    Then in the swf file that will be imported, its real simple:

    next_btn.addEventListener (MouseEvent.CLICK, MoveToNextFrame);
    prev_btn.addEventListener (MouseEvent.CLICK, MoveToPreviousFrame);

    function MoveToNextFrame(e:MouseEvent):void
    {
    dispatchEvent (new Event ("NextFrame"));
    }

    function MoveToPreviousFrame(e:MouseEvent):void
    {
    dispatchEvent (new Event ("PreviousFrame"));
    }

  • How can I get rid of the Adaware WINDOW - that appears on my screen on my iMac?

    How can I get rid of the Adaware WINDOW - that appears on my screen on my iMac?

    Download from https://www.malwarebytes.org/antimalware/

    Then install and run it. The procedure will remove adware from your Mac.

  • I get an error message in the browser window that says: ' we are currently experiencing some issues, please try again later ".

    I use Chrome.

    When I try to down load a creative Cloud application, I answer the questions, then click on "continue".

    I get an error message in the browser window that says: ' we are currently experiencing some issues, please try again later ".

    It makes no difference to try again later.

    Try links below:

    WINDOWS:

    https://ccmdls.adobe.com/AdobeProducts/KCCC/1/Win32/CreativeCloudSet-up.exe

    MAC:

    https://ccmdls.Adobe.com/AdobeProducts/KCCC/1/OSX10/CreativeCloudInstaller.dmg

  • I need the BACK window that says

    I need the DOS window that says something like: change to new lr3 develop, this picture, everybody, see the difference, do not show this window.

    I checked the button everything and then do not show this window.

    Well well, in the following folder it only applied to an image, but not all, so I need the rear window origin.

    can someone tell me how?

    Thank you all very much.

    Preferences > General > reset all WARNING should help dialog boxes.

  • Call a function within the same CFC component

    Hello
    / * Niewbie Question * /.
    I have a strange problem. When I try to call one function on the other in the same CFC component, I get an error named: "Entity has incorrect type to be called as a function."
    I looked on many forums and searched in Google groups. I have yet found a work around for this problem.
    I thought I did caution o not use twice the same name...
    Can someone tell me what I did wrong?

    My sample code to reproduce this error is included

    The full error message is:
    Entity is of the wrong type to be called as a function.
    The symbol you provided superfunction is not the name of a function.

    The error occurred in C:\ColdFusion8\wwwroot\admin\_components\test.cfc: line 6

    4: < cfinvoke
    5: method = "superfunction".
    6: returnVariable = "myReturn" >
    7: < / cfinvoke >
    8: < cfset some_text = myReturn >

    OK, solved with all your advice!

    A big thank you to everyone

    Here is the final code for others...

  • Call a function on the stage of the symbol that is nested in a symbol

    Scenario of

    creation of complete scene

    stage = sym.getComposition () .getStage ();

    SYM.func_btn1 = function() {}

    code

    }

    symbol btn_1

    stage.func_btn1 ();

    It works well

    symbol Index

    symbol btn_1

    stage.func_btn1 ();

    No chance to fire service

    Where is my mistake?

    I write a little different functions, but I tested my way and it works.

    Create functions in compositionReady like that

    SYM. Test = function() {}

    SYM.$("element"). Hide();

    }

    When this function is run it will hide the element on the stage, called 'Element '.

    You can call this function in compositonReady leave a nested using this line symbol

    sym.getComposition () .getStage (). Test();

    I have install a sample project I hope it helps.

    http://www.mediafire.com/download/wv8k19pzqdg9b31/NestedSymbolFunction.zip

  • Why the function "move to new window" that I used to use does not work when I right click on the tab more?

    It was when I right click on the tab in Firefox I could use the option 'Move to the new window'. Now when I go down to this option, it seems it will work, but nothing happens. The other day I changed some options in Firefox, but I don't remember changing anything that sounded as if it would have this effect, and now I can't find all the options that seem to fix. Thanks in advance for any help.

    Hello Beorn, probably the problem is an extension that is not working properly. Try Firefox Safe mode to see if the problem goes away. Safe mode is a troubleshooting mode, which disables most of the modules.

    (If you use it, switch to the default theme).

    • You can open Firefox 4.0 + in Safe Mode holding the key SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • Or open the Help menu and click on the restart with the disabled... modules menu item while Firefox is running.

    Once you get the pop-up, simply select "" boot mode safe. "

    If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one. To do this, please follow article Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems .

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. It might help others who have the same problem.

    Thank you

  • Why firefox 15 displays the hex of size for the html data that make up the page?

    Windows 7, 32-bit
    Firefox 15.0.1 update Friday
    Java 1.7.0_07 Friday update

    Management forced a Java Update and restart on Friday. When Firefox started it auto-updated V15.0.1. He had problems immediately; the previous session tabs disappeared all and any page with Flash no longer worked (everything was OK before the two updates).

    In the recommendations, I created a new profile, copy only on bookmarks and files with name of user/authentication of the previous profile. When manually reopen the necessary tabs, pointed out that any Sonicwall firewall and Panasonic Netcam both display only a blank page with one or more hexadecimal numbers on it.

    Efforts to repair since included completely remove Firefox, the plugin Flash and current Java to run in safe mode, disabling all extensions/plugins, running in a completely default new profile with nothing carried over, try with and without hardware acceleration, etc. The behavior does not change. It does not matter if I go via http or https for devices that support both.

    JavaScript IS enabled, and the script _no_ blocking is in place; JavaScript works on other sites that use it.

    IE9 on the same PC works fine, so it's apparently not a system problem

    Looking at the page source shows that hexadecimal numbers are the length of the data in the row or the piece of HTML code, including the following javascript code. The Sonicwall sets up a larger number (2ea) on the line of the display source page that corresponds to the size in bytes of the code in the following lines.

    The Panasonic apparently sends the length of the data in each row if it provides a hexadecimal number for each line of HTML in the source display.

    What would make Firefox interpret the data incoming size as displayed, but only for certain pages or peripheral? I can visit other sites that have javascript and they work; a source of these pages view shows all the lines with just a hexadecimal number.

    view source example of Sonicwall (between the = lines); everything you see on the screen is the "2ea" in the upper left corner

    =

    2ea
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    	<meta name="SonicWALL Administrator" content="Copyright 2004 (c) SonicWALL, Inc. All rights reserved.">
    	<title>SonicWALL - Authentication</title>
    	<meta name="id" content="auth" >
    	<script type="text/JavaScript">
    	<!--
    	top.location.target="_top";
    	if (window.location.target != "_top") {
    		top.location.href=window.location.href;
    	}
    	var savedPwd = "";
    	function onPageUnload() {
    		window.name = "";
    	}
    	window.onunload=onPageUnload;
    	// -->
    	</script>
    </head>
    <frameset rows="*,1">
    	<frame src="auth1.html" name="authFrm" noresize scrolling="no">
    	<frame src="emptyView4.html" name="authTgtFrm" noresize scrolling="no">
    </frameset>
    </html>
    =====
    
    View source sample from the Panasonic; the blank lines are displayed as such in the view source screen.  All you see in the browser window is the series of hex numbers separated by a space on the same line.
    
    =====
    0
    
    3b
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
    
    8
    <HTML>
    
    7
    <HEAD>
    
    28
    <META HTTP-EQUIV="expires" CONTENT="0">
    
    2e
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    
    35
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
    
    24
    <META NAME="robots" CONTENT="none">
    
    30
    <META NAME="robots" CONTENT="noindex,nofollow">
    
    29
    <META NAME="robots" CONTENT="noarchive">
    
    15
    <TITLE>Start</TITLE>
    
    8
    </HEAD>
    
    3d
    <FRAMESET border=0 frameSpacing=0 rows=30,8,* frameBorder=0>
    
    4c
    <FRAME name=bar src="CgiTagMenu?page=Top&Language=0" scrolling=no NORESIZE>
    
    3c
    <FRAME name=hrbar src="BarFoot.html" scrolling=no NORESIZE>
    
    27
    <FRAME name=body src="Top?Language=0">
    
    c
    </FRAMESET>
    
    9
    </HTML>
    =====
    

    Try to start the computer in safe mode Windows with network support (on the startup screen, press F8) as a test to see if it works better.

  • Abolish the function of the left window key

    I want to remap the key to the left window in Windows 7 have no function at all.

    How can I do this?

    See you soon!

    It's complicated stuff, you must know the scan code and record the change to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout.  A typical remapping is shown here.  If you are looking for long enough you could find someone who has posted the exact value required for the exact thing you want to do... or not.

    You can find scan codes on the internet and to understand, but as Ken has pointed out, it is much easier to use an app for that.  If your intention is to impose it through a corporate network then I suggest that you use the remapping utility suggested in conjunction with a comparison of Regshot Registry utility.  Keep a shot record until you do the remapping then take another blow after the remapping and compare the shots and the changes to the formula HKLM\SYSTEM\CurrentControlSet\Control\Keyboard framework will be revealed.

    Regshot, a registry open source compare utility

    John

Maybe you are looking for