AS2, popup with javascript in an Isot html < a > tag

Hello guys,.

You could helo me with a little problem I have.

I m tried using an < a > tag in html content in my code to make a connection. So far work perfectly. Problem starts however when I try to use javascript in the < a > tag to create a popup window. Here's the line of code.

CT.content_right.htmlText = "< a href ='javascript:popUp('impressum.html')" > '+' legal notice '+' < /a > < br / > ";

Can someone help me realize my pop-up window?

Thank you very much in advance.

use:

CT.content_right.htmlText = ""+"imprint"+" "
"

Tags: Adobe Animate

Similar Questions

  • Open and close the Popup with Javascript

    Using Apex 3.2

    I probably have done this lots of times in my old job, but do not have access to the code and now I can't work properly.

    I opened a window pop up with javascript
    Now, I need to close and refresh the calling page, but only if it ratifies the validation on the popup.
    I have an item hidden on my pop up called P7_FLAG.
    I have a process page after validation that affects P7_FLAG (only the value 1, if passes validation).
    I also have a "SUBMIT" button.

    So once I click my button "SUBMIT" page should look at validations, so ok, P7_FLAG the value 1, then close the popup and refresh the calling page.

    My current look of javascript like this
    <script type="text/javascript">
    function saveChanges(){
    doSubmit('SUBMIT');
    var test = $x('P7_FLAG').value;
    if(test == '1')
    {
    window.close();
    window.opener.doSubmit('REFRESH');
    }
    }
    </script>
    My button
    javascript:saveChanges();
    The problem is that I need to click twice on the button SUBMIT.
    First, it sets P7_FLAG
    Second time, it closes page and refreshes.

    I probably made a fundamental mistake, but today I can't.

    See you soon

    Gus

    Published by: Gus C 10 may 2012 12:48

    Sorry about that I was blind

    Add this function to your page

    
    

    Call this function on the loading of the page

    onload="onloadclose();"
    
  • We use Flash Pro CC creating animations with legends and export to html 5.  We must translate the captions in other languages. How can we download translation of texts in our flash animations so we can use them in html5 using CreateJS?

    We use Flash Pro CC creating animations with legends and export to html 5.  We must translate the captions in other languages. How can we download translation of texts in our flash animations so we can use them in html5 using CreateJS?  I use the Flash on a Mac OSX 10.10.3

    Are you familiar with JavaScript?

    It does not completely answer your question, but the text displayed on the screen from any language (ActionScript/CreateJS / [insert the programming language]) generally all following the same path. Each language has a file stored in some form of key = value style, named through the language and the country of your choice, for example en_US.json

    Any language would allow the user to choose regional settings. The application would then grab the appropriate file and everywhere where the text is needed, the script must be using a (usually global or singleton) variable/service that can get the text of the requested key.

    for example if I wanted a user to have a confirmation of dialogue who said 'are you sure?"with buttons for 'Yes' and 'No', I would have (for me), an Englishman, USA base file en_US.json with these values, for example:

    en_US. JSON example:

    {

    'CONFIRM_YES_NO': ' are you sure?

    'YES': '' Yes. ''

    'NO': 'no '.

    }

    Then you use simply JS/AJAX to read this file. You analyze, or simply JSON decode in an object, or manually, depending on what suits your needs. When you want to display any text, you use the object (variable, maintenance, etc.) you have stored these values.

    for example calling to display function confirm dialogue:

    Nickname... but if you understand...

    and this comes from jQuery UI (see here)

    function confirmDialog() {}

    $(«#dialog-confirmer»).dialog({)

    Title: LocalizationObject ['CONFIRM_YES_NO'],

    buttons:]

    {

    text: LocalizationObject ["YES"],

    Click: function() {/ / do something for 'yes '.

    }

    {

    text: LocalizationObject ["NO"],

    Click: function() {/ / do something to the 'no '.

    }

    ]

    });

    }

    Please consider loosely. 'LocalizationObject' is a variable object or service that returns the appropriate text for the key that you provide. In this case, he provided the key 'CONFIRM_YES_NO', 'YES' and 'NO', which must be on the right answer for this key, localized.

    Again, this is not a manual on how to do it via Flash Pro but it's the general conceptual way you could do it in any language. There are a variety of other ways to do it, but it's a very simple way, as long as you keep your key names at least wake up verbose. A key name such as LocalizationObject ["ABC123"] is not really tell you what the key can be referred. Also nest them contributes greatly, as LocalizationObject ["UI'] ['DIALOGUES'] ['CONFIRM'] ['YES_NO'] = ' are you sure? It just shows I nested the title of the dialog within the user interface, because it is the text that appears in the user interface rather than content. Then inside dialog boxes that may contain a variety of different dialog boxes. Then inside her CONFIRM type of dialogue. Finally, the type is a dialogue YES_NO type (as opposed to OK_CANCEL or JUST_OK, etc.). Whole set makes it easy to understand what the text of reading: UI YES_NO confirm DIALOG boxes.

    I hope that from here you can see that you need to review everywhere you display text on the screen and centralize it in a sort of object (function or variable) of your choice. You must store the external language files to prevent unnecessarily load the other languages as well as an easy to modify Setup.

    The rest is just using basic JavaScript.

    Just be ready for the most difficult challenge. At least for me. The size of the text in several languages is very different, and in some cases requires the loading of special fonts. This can make layout in a very difficult dynamic environment. Always thinking all text how big or small can be in any particular and plan field on this size more and shrink so that to handle this situation correctly.

  • Cache popup with a button property immediate = "true".

    Hello

    I use jdevloper 11.1.2.2

    I have caching problem with popup a contentDelivery = "lazyUncached" and I add the button cancel on popup with immediate = "true" to ignore the validation in the fields in the pop-up window.

    When I click the button cancel hide popup, but once again if I show popup, it hides always old data in the entry fields.

    My source of popup is as below

    < af:popup childCreation = 'deferred' id = 'compPop '.

    autoCancel Binding = "#{pageFlowScope.CustomersBean.compPop}" = "disabled" contentDelivery = "lazyUncached" > "

    < af:dialog id = "d1" title = "#{viewcontrollerBundle.COMPANY} #{pageFlowScope.mode}" closeIconVisible = 'false' "

    type 'none' = >

    < f: facet name = "buttonBar" >

    < af:toolbar id = "t2" >

    < af:commandButton text = "#{viewcontrollerBundle.SAVE}" id = 'cb6' "

    actionListener="#{pageFlowScope.CustomersBean.onClickSaveCompPop}"/ >

    < af:commandButton text = "#{viewcontrollerBundle.CANCEL}" id = 'cb7' "

    actionListener = "#{pageFlowScope.CustomersBean.onClickCancelCompPop} '"

    immediate = "true" / >

    < / af:toolbar >

    < / f: facet >

    < af:panelFormLayout id = "pfl1" >

    < af:inputText value = "#{bindings.CompanyNumber.inputValue} '"

    label = "#{Bindings.CompanyNumber.hints.label} '"

    required = "#{Bindings.CompanyNumber.hints.Mandatory} '"

    Columns = "#{Bindings.CompanyNumber.hints.DisplayWidth} '"

    maximumLength = "#{bindings.CompanyNumber.hints.precision} '"

    shortDesc = "#{bindings.CompanyNumber.hints.tooltip}" id = "it1" > "

    < f: validator binding="#{bindings.CompanyNumber.validator}"/ >

    < / af:inputText >

    "< af:inputText value =" #{bindings.CompanyName.inputValue} "label =" #{bindings.CompanyName.hints.label} ".

    required = "#{Bindings.CompanyName.hints.Mandatory} '"

    Columns = "#{Bindings.CompanyName.hints.DisplayWidth} '"

    maximumLength = "#{bindings.CompanyName.hints.precision} '"

    shortDesc = "#{bindings.CompanyName.hints.tooltip}" id = "it2" > "

    < f: validator binding="#{bindings.CompanyName.validator}"/ >

    < / af:inputText >

    < af:selectOneChoice value = "#{bindings.CompCategory.inputValue} '"

    label = "#{Bindings.CompCategory.label} '"

    required = "#{Bindings.CompCategory.hints.Mandatory} '"

    shortDesc = "#{bindings.CompCategory.hints.tooltip}" id = "soc3" > "

    < f: selectItems value = "#{bindings.CompCategory.items}" id = "si3" / > "

    < / af:selectOneChoice >

    < af:selectOneChoice value = "#{bindings." City.inputValue}"label =" #{bindings. " City.label}.

    required = "#{bindings." City.hints.Mandatory}.

    shortDesc = "#{bindings." City.hints.ToolTip}"id ="soc4">

    < f: selectItems value = "#{bindings." City.Items}"id ="si4"/ >

    < / af:selectOneChoice >

    < af:inputText value = "#{bindings." Tele1.inputValue}"label =" #{bindings. " Tele1.hints.label}.

    required = "#{bindings." Tele1.hints.mandatory}.

    columns = "#{bindings." Tele1.hints.DisplayWidth}.

    maximumLength = "#{bindings." Tele1.hints.precision}.

    shortDesc = "#{bindings." Tele1.hints.ToolTip}"id ="it3">

    < f: validator binding = "#{bindings." Tele1.validator} "/ >"

    < / af:inputText >

    < af:inputText value = "#{bindings." Tele2.inputValue}"label =" #{bindings. " Tele2.hints.label}.

    required = "#{bindings." Tele2.hints.mandatory}.

    columns = "#{bindings." Tele2.hints.DisplayWidth}.

    maximumLength = "#{bindings." Tele2.hints.precision}.

    shortDesc = "#{bindings." Tele2.hints.ToolTip}"id ="it4">

    < f: validator binding = "#{bindings." Tele2.validator} "/ >"

    < / af:inputText >

    < af:inputText value = "#{bindings." Fax.inputValue}"label =" #{bindings. " Fax.hints.label}.

    required = "#{bindings." Fax.hints.Mandatory}.

    columns = "#{bindings." Fax.hints.displayWidth}.

    maximumLength = "#{bindings." Fax.hints.Precision}.

    shortDesc = "#{bindings." Fax.hints.ToolTip}"id ="it5">

    < f: validator binding = "#{bindings." Fax.Validator} "/ >"

    < / af:inputText >

    < af:inputText value = "#{bindings." Website.inputValue}"label =" #{bindings. " Website.hints.label}.

    required = "#{bindings." Website.hints.Mandatory}.

    columns = "#{bindings." Website.hints.displayWidth}.

    maximumLength = "#{bindings." Website.hints.Precision}.

    shortDesc = "#{bindings." Website.hints.ToolTip}"id ="it6">

    < f: validator binding = "#{bindings." Website.Validator} "/ >"

    < / af:inputText >

    < / af:panelFormLayout >

    < / af:dialog >

    < / af:popup >

    Hello

    You can try and add the tag af:resetActionListener to the Cancel button?

    http://docs.Oracle.com/CD/E28280_01/apirefs.1111/e12419/tagdoc/af_resetActionListener.html

    Frank

  • How to display the note for a cell of table with javascript?

    My goal is to do it with javascript. No manipulation of the side server.

    < af:table id = "t1" >
    < af:column id = "c1" >
    < af:outputText id = "ot1" >...
    < af:clientListner ...method="showpopup"/ >
    < /... >
    < /... >
    < /... >

    ....

    < af:popup id = "p1" >
    < af:noteWindow id = ot2 >
    here to show the value of ot1
    < /... >
    < /... >


    function showPopup (e) {}
    var text is e.getSource () .getValue ();.
    var popup is e.getSource (.findComponent("::p1"));.
    now, how to upgrade the content of the notewindow?
    Popup.Show ();
    }

    Hello

    You can try with something like that.

                   
                        
                    
    
                    
                        
                            
                        
    
                    
                    
                        function showPopup(evt){
                            var ot1 = AdfPage.PAGE.findComponent("ot1");
                            var text=ot1.getValue();
                            var popup=AdfPage.PAGE.findComponent("p1");
                            var ot2=AdfPage.PAGE.findComponent("ot2");
                            ot2.setValue(text);
                            popup.show();
    
                            }
    
                    
    

    Arun-

  • I'm unable to use the Live View function when working with JavaScript in Dreamweaver.

    I'm currently trying to set up my own Web site with dreamweaver and am very familiar with the languages Java and JavaScript. However, whenever I try to use the Live View function it never let me. In addition, I can't get a preview of my work in a browser, as to do so is greyed out.

    However, I noticed that when using html in a project, all these functions are available. Any ideas how I can be able to use these features?

    Or perhaps you mean a .jsp file that is a Java Server Page.

    Modern web pages are almost entirely HTML code with CSS for styles and JavaScript for functionality added as games & slideshows or interactive menus.  It does not seem possible for me that you have been creating web pages entirely with JavaScript.

    Nancy O.

  • Is there a way to build a theme with JavaScript SQL or an XML API?

    Hello

    I need to display some of the themes and a Tiler.

    I created a HTML document that contains code JavaScript to build a Tiler, and it works. It is a simplified version:

    * < html > *.
    * < head > *.
    * < META http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "> *"
    * < Oracle TITLE cards application > < /title > *.

    * < script language = "Javascript" src = "http://localhost:8888/mapviewer/fsmc/jslib/oraclemaps.js" > < / script > *.

    * < script language = javascript > *.
    MapView var;
    a var scale;
    var ovcontainer;

    function showMap()
    *{*
    baseURL var = "http://localhost: 8888/mapviewer.
    var mapCenterLon = 0.0;
    var mapCenterLat = 0.0;
    var mapZoom = 1;
    Browse var = MVSdoGeometry.createPoint (mapCenterLon, mapCenterLat, 3785);
    MapView = new MVMapView (document.getElementById ("map"), baseURL);
    mapview.addMapTileLayer (new MVMapTileLayer ("Prue.GOOGLE_MAP"));
    mapview.setCenter (mpoint);
    mapview.setZoomLevel (mapZoom);

    scale = new MVMapDecoration (new MVScaleBar (), 0, 1, null, null, 4, -45);
    mapview.addMapDecoration (scaleBar);

    MapView.Display ();
    *}*

    * < /script > *.
    * < / head > *.
    * < body onload javascript =:showMap(); > *.
    * < / body > *.
    * < / html > *.

    I need to also represent themes via SQL. For example in the API Java-Bean, is there a function to do this:

    mapViewer.addJDBCTheme ("Test", "Geo_Theme", "SELECT GEOM FROM GEOMETRIES", "GEOM", "8307", "colors", NULL, NULL, false)

    But this Geo_Theme is not persistent. So, is there a way to do this with MapViewer in JavaScript or XML? I have to build in an HTML document. Or can I create this theme in Java and then continuing to use then in the HTML document like themes created in Mapbuilder?

    I need to build a theme with JavaScript or XML, or in the other case SQL, build with addJDBCTheme in Java-Bean and then use it in the HTML document (you must be persistent as MapBuilder themes).

    Thank you.

    Published by: 863217 on June 20, 2011 05:32

    You can create a JDBC ThemeBasedFOI (i.e. a sql theme) in Javascript. It's just a MVThemeBasedFOI where the theme is defined using the xml API syntax to set a theme of jdbc. The tutorial example "JDBC theme based FAITH" gives more details. The key element in this example is:

    function addBuffertheme (themeTable, RADIUS)
    {
    baseQuery = "select sdo_geom.sdo_buffer (A.location," + RADIUS + radius +.
    «(, 0,005, ' unité = arc_tolerance mile = 0,005') location «+»»
    "of" + themeTable + "A"; "
    var theme = '' +.
    "
    ' render_style = "' + bufferStyle + '" datasource = "mvdemo" > ' + baseQuery +.
    "
    " ;
    buffertheme = new MVThemeBasedFOI ('buffertheme', theme);
    buffertheme.setBringToTopOnMouseOver (true);
    buffertheme.setVisible (false);
    mapview.addThemeBasedFOI (buffertheme);
    Place the theme of the buffer under the theme of customer
    mapview.setThemeIndex (buffertheme, 1);
    mapview.setThemeIndex (customertheme, 2);

    }

  • How to paste into the text field of the Clipboard with JavaScript?

    I implement the following actions in the form of javascript:

    1. a user clicks on a link on the PDF to open a web page

    2. the user uses the web page to find information and then copy text from the web page

    3. the user clicks a button on the pdf form and it formats the text to the Clipboard and paste them into the text fields.

    I can't find any references for the reading of the data from the Clipboard with javascript in PDF Forms. is it not possible?

    Perhaps 'not possible' was a little too hard. It would be a security hole if she accepts a script in a form to copy the contents of the Clipboard without the user explicitly allowing it. It has been possible to copy the contents of the Clipboard into a form field using the app.execMenuItem method without the user knowing / allowing it, but that hole was closed. The restriction can be overcome, as explained in the documentation: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.143.html

  • Integrated access acrobat reader with javascript

    For a project, I'm looking for a way to display pdf files in a Web browser. I have IE8 + with acrobat reader available to me, so I can view any given pdf. But I would like to be able to:

    -change page,.

    -jump to favorite and,.

    -listen to the events of text selection,

    with javascript in my html page functions.

    So in other words: Acrobat has somesort of api through which I can access my document using javascript? If so, is there documentation available on this topic?

    Thank you in advance!

    If you have not seen, suggest you read this, because it might answer some of your needs:

    http://blogs.Adobe.com/pdfdevjunkie/2007/08/using_the_html_embed_tag_to_di.html

    On a particular page (including the page and nameddest/bookmarks)

    http://www.Adobe.com/content/dam/Adobe/en/DevNet/Acrobat/PDFs/pdf_open_parameters_v9.PDF#p age = 5

    Although I found for the page navigation that I had to request the page twice so he can access the page.

  • need help with flashvars in the generated HTML cs5.5

    How could use flashvars in the generated HTML cs5.5, there are tutorial in net on flashvars but its all cs4 with javascript inside while isn't cs5.5 html code. Here is the code for the non - IE cs5.5-generated

    <!-[if! IE] >->

    < object type = "application/x-shockwave-flash" data = "sample.swf" width = "800" height = "800" > "

    < param name = "movie" value = "sample.swf" / > "

    < param name = "quality" value = "high" / >

    < param name = "bgcolor" value = "#000000" / >

    < param name = 'play' value = 'true' / >

    < param name = "loop" value = "true" / >

    < param name = 'wmode' value = 'window' / >

    < param name = "scale" value = 'showall' / >

    < param name = "menu" value = "true" / >

    < param name = "devicefont" value = "false" / >

    < param name = "salign" value = "" / > "

    < param name = "allowScriptAccess" value = "sameDomain" / >

    <!--<! [endif]-->

    " < a href ="http://www.adobe.com/go/getflash"> ".

    " < img src ="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"alt ="Get Adobe Flash player"/ > "

    < /a >

    <!--[if ! IE] >->

    How can I put the flashvars in html and as3?

    FlashVars VALUE="imageFilename=images%2Fimage1%2Ejpg">
    

    http://www.Adobe.com/go/getflash' > '.

    If http://www.Adobe.com/images/shared/download_buttons/get_flash_player.g"alt ="Get Adobe Flash player"/ >

    and you can read through flash AS3:

    http://www.Permadi.com/Tutorial/flashvars/indexAs3.html

  • Replace h1 with Javascript or CSS image text?

    For SEO, I want to have a h1 Tags at the top of my page title. However, I would like to use an image for the freedom of design. I see 2 solutions to this problem:

    I could either use of css to 'hide' the text. I know that google does not like hidden text, but I could use the index z CSS (or margins?) so that the image appears not in the text. Im not a expert on accesabilty devices, they sometimes use some CSS?

    The other option is to hide text and display an image with javascript. I understand that it's better for accesabilty. However, I do not data soild on it, but a few sites I've found say 10% of people have javascript disabled. What is the number that high?

    Maybe I should use javascript to display an image, but if it is turned off still have some pritty CSS styilng the title h1 and its div.

    Im sure im not the first person to have this dilemma so that everyone recommend?

    Thank you

    Hello

    JavaScript is disabled mainly on the company's computers, unless you run your site to these users worry not too on this subject (you can always check site statistics to see how many visitors actually have javascript disabled), and the number (estimated) current 'normal' users who disable javascript is only 1-2%.

    Regarding the replacement of your text check this article (complete with the required javascript code).

    http://www.quirksmode.org/DOM/FIR.html

    PZ

  • Control of captivate movie with JavaScript

    Hello

    I am trying to use Flash methods to control a captivate movie using the procedures documented in the article of the Support Center:

    http://www.Adobe.com/support/Flash/publishexport/scriptingwithflash/scriptingwithflash_03. HTML

    I use the following code in a JavaScript:

    film var = window.document.Captivate1;
    film. StopPlay();

    Captivate1 is the ID of the object assigned by Captivate when it generates the HTML file. The film does not meet the order.

    I created my own Flash movie and the command of StopPlay works with it.

    Thanks in advance for any help that anyone can provide!

    You can control Captivate with javascript, Rick has an example HERE

  • Window Popup with strange characters when you want to play music from the cloud

    When I try to play music on the cloud (music downloaded on my computer), I get a popup with some strange characters. It was working fine 2 days ago. Nothing has changed on my computer. I tried uninstalling iTunes and reinstalling. Shows the problem. Any help would be appreciated.

    This is what looks like the pop-up window.

    PS - all anti-virus software are up and running.

    As an addendum, I tried to download music (by clicking on the cloud icon, which then shows an arrow pointing downwards). This popup has shown once again.

    Then I thought maybe it was having a problem with my account or my computer don't think she was allowed. So I checked my account login, and I was connected. Then I tried allowing my computer and this popup appeared again. I then tried my scroll wheel and it seems that it is a right screen. I guess that is the lower right button 'accept' but I'm not confident in the present.

    Strange things brewing.

  • After downloading the update for Yosemite 10.10.5, I got an annoying popup with a beep sound blaring that says that Safari crashed. I've forced to leave Safari, rebooted and popup returned once more. Restarted again and popup went. What was it?

    After downloading the update for Yosemite 10.10.5, I got an annoying popup with a beep sound blaring that says that Safari crashed. I've forced to leave Safari, rebooted and popup returned once more. Restarted again and popup went. What was it?

    Open Safari while holding the SHIFT key

    Try to reset the settings of Safari:

    1. open Safari

    2. click on the Safari menu at the top (to the right of the Apple logo)

    3. Select the Preferences/Privacy tab

    4. click on remove all data from the Web site

    5. close Safari.

    Remove cache Safari files:

    1. click on finder

    2. look for the menu GO to top

    3. click on GO and hold down the option key. This will show a user library folder.

    4. click library and find the Caches folder

    5. in the folder caches com.apple.Safari Ouvrezledossier

    6. move the Cache.db file Trash.

    This should solve the problem. If it does not help, try to disable the Safari extensions

    1. open Safari

    2. click on the Safari menu at the top (to the right of the Apple logo)

    3. Select Preferences

    4. find the Extensions tab

    5 disable all extensions of

    6. relaunch Safari

  • Is no longer able to view live on Alexei_tchernomor even content with javascript active.

    I had no problems until recently - has always been able to view their videos. I never had installed oracle java plug-in, but had javascript activated via subject: config and everything worked properly. Now, I am unable to view the videos on the site with javascript active. I use noscript and java is enabled in the options for this site. Any help would be appreciated. I have the site enabled in my firewall.

    I'm glad that you found the help page because I wasn't going to be able to answer that one.

Maybe you are looking for