adding javascript to the button in muse

I have a Wazala widget, I'd like to add to my site, but do not use the Wazala button but use my own button to call the widget store. I found the instructions here: Customize the Widget button - Wazala Help Desk on how to do it but I can't make it work. I added the widget code on my site, but when I add the javascript code to one of my buttons it starts to turn into a http:// link and simply opens a new blank page. Can also advise me as to what I'm doing wrong? I don't know anything about the code, so if you could be clear as possible as to what I should do in muse would be great!

Hi penny, I understand in fact or a fortiori technical support Wazala figured it out. E - mailer that the answer may be slightly different depending on your situation.

Tags: Adobe Muse

Similar Questions

  • Help with Javascript for the button Delete

    Hi, Im new JavaScript and have my code works partially, but the trouble with a nested if-then-else statement.

    I have a page element, P4_COUNT, and if its value is 0, the button Delete will allow the user to delete the record. If the number is > 0, a message should appear stating that the record cannot be deleted. That's what I have so far and it works, but the first ELSE is misplaced. This code is the URL target for my button remove.

    JavaScript:var response; response = confirm ("are you sure you want to delete this POC?'");
    If {(response)
    If (document.getElementById('P4_COUNT').value == 0) {}
    doSubmit ('DELETE');
    }
    }
    else {-this other fires when the user hits cancel on the first question above not what I want, I want another one here who said only: "removal cancelled '"}
    -This one should only be fired if p4_count is not equal to 0
    var answer2;
    answer2 = confirm ('you cannot remove this POC, that this POC is associated with a RIF.');
    If {(answer2)
    Alert ('cancelled deletion');
    }
    else {}
    Alert ('cancelled deletion');
    }
    }


    The above should follow this logic:

    Are you sure you want to delete this POC?
    Yes - if p4_count = 0 then
    delete the record
    on the other
    second line: cannot delete this record
    OK - prompt removal cancelled
    Cancel - prompt removal cancelled
    end if;
    Cancel - prompt removal cancelled


    Help, please. Thank you, Laura

    Published by: user8936524 on May 10, 2010 14:14

    Hello

    Try if it works. I didn't test it

    javascript:if($v('P4_COUNT')*1==0){
    var answer=confirm('Are you certain you want to delete this POC?');
    if(answer){doSubmit('DELETE');}
    else{alert('Deletion Cancelled');}
    }else{alert('You may not delete this POC, as this POC is associated to an FRR.');}
    

    BR, Jari

  • The use of Javascript in the button Clear Cache

    Hi all

    I created a button and under optional URL redirection of the clear Cache, I wrote the page number to clear cache pages, but now I use target as "URL" and the target URL under: -.
    JavaScript:XYZ();

    and JS in HTML header is: -.

    < script language = "JavaScript" type = "text/javascript" >
    function xyz()
    {
    var response = confirm ("are you sure?")
    If (response)
    {
    Window.Location = ' f? p = & APP_ID.:9: & APP_SESSION. »
    }
    on the other
    {
    do something else
    }
    }
    < /script >

    I am therefore able to redirect the user to page 9, but with what I want also to clear cache certain pages (say for ex:-page 5, 6 and 7), so how can I write under URL


    can someone help me?


    Thank you


    Deep

    Hello

    Page 27 of clearing cache to be directly, using the good f? setting clear cache p. Using the value of the claim is to do it manually the APEX motor is done for you, automatically.

    It seems to me that something doesn't work correctly with your specific page. After answering the question of why Larry you think that the page cache is net clear, you should try to rebuild your situation on apex.oracle.com.

    Kind regards
    Arie.

  • The button text field block clickable area

    Hello!  I'm building my first site with Muse and have created a button in Photoshop with four States that work correctly in the preview of Muse.  When I place a text label on the button in Muse, however, the text field blocks a part of the image map of the button when I preview the it.  I'd appreciate any help - thanks!

    Mylenium, thank you for your patience.  When I tried what you suggested last night it did not work for all layers (I still saw the option "Merge layers" available).  Only now to experiment more, have I realized that PS really care what order I click on both layers I want to merge.

    It was a simple fix - I hoped that someone on the Council suggests.  Your advice to watch tutorials base PS, is appreciated.  But it wasn't the right answer.

    Thanks for your time, if.

    Steve

  • Reports: Javascript in the area on foot of page with links in cells

    Hi all!
    I need to put hyperlinks in my APEX (4.0) report and I read there is no direct option for IT... that's how I thought to do, so...


    My reports contains two columns:
    DEVICE and HEALTH.
    The first contains a string with the name of the device and the second is a number that is expected as in percent.

    I need channels in the DEVICE columns are also links to another APEX page where I have to generate a graph of "dynamic".


    That is: we can intend to a report that the DEVICE is '000 x 0' and line '30 HEALTH.
    APEX generate HTML code like this:

    < headers td = 'DEVICE' class = 'data' > 000 x 0 < table > < headers td = 'HEALTH' class = 'data' > < table > 30

    But I also need '000 x 0' to be a link to: "f?" p = 104:4:2205607043123699:THE_DEVICE:000 x 0 "."
    To say: the fourth page of my site of APEX, where "THE_DEVICE" is an APPLICATION_ITEM and contains the name of the device clicked.


    First thing I tried is to re - write pl/sql query to automatically returns the HTML for the link, such as:

    Select
    ''|| DEVICE of |'' as a PERIPHERAL,
    trunc (HEALTH, 2) than HEALTH
    of [...]

    But the APEX convert special characters to the & x; values:
    & amp; Lt; a href = & amp; quot; f? p = 104:4:2205607043123699:THE_DEVICE:000 & amp; quot; target = & amp; quot; _self & amp; quot; & amp; quot; & amp; GT; 000 & amp; Lt; /a & amp; GT;


    Second thing, I thought is to give a Unique ID to the region of the report ("ALARM_DEVICES_REG") and try to change this text dynamically by adding JavaScript to the footer area.

    I checked and found in this forum a JavaScript suggested to someone who has had a similar problem to mine, then I tried to adapt to my situation.
    The fact is that my JavaScript in the footer area does not seem to work at all! Or a simple document.write ("bye!"); COMAND!
    How possible?

    The JavaScript code, I tried to create could also contains errors, and it is the following:


    < script type = "text/javascript" >
    var y = document.getElementById('report_ALARM_DEVICES_REG')
    var x = y.getElementsByTagName ('TD');
    var s;
    If (x)
    {
    for (var i = 0; i < x.length; i ++)
    {
    s = x.item (i);
    If (s.GetAttribute ('headers') == 'DEVICE')
    {
    s.Data = replaceHtmlEntites (s.data);
    }
    }
    }
    < /script >

    I noticed the innerTable for reports a "report_ALARM_DEVICES_REG" id area (while the outside has "ALARM_DEVICES_REG") so I used to be more selective.

    replaceHtmlEntites is a function which should bring the special character of "& x; ' values and it is the following (I put it in"Function and Variable overall statement"field of the APEX of the State page):

    var replaceHtmlEntites =)
    function() {}
    var translate_re = "/ & (nbsp |)» amp | quot | Lt | GT); / g » ;
    definition of var = {}
    "nbsp": "",
    'amp': '& ',.
    "quot ': ' \ ',"
    "lt": ".."
    'gt': ' > '.
    };
    function (s) {}
    Return (SS. Replace (translate_re, {function (match, entity)
    back translation [entity];
    }) );
    }
    })();


    Shouldn't this work? And if not, why?
    Thanks to you all!

    You should be able to edit the column in the developer and scroll up to 'Column link' and use it. Tried not to who? Or he does not satisfy your needs?

  • Facebook like button does not work, I used the widget of muse and created the facebook code. Anyone know how to make this work?

    Facebook like button does not work, I used the widget of muse and created the facebook code. Anyone know how to make this work?

    Hi connally25,

    Here is a link to a video tutorial on how to add a Facebook button, please check if you have followed the same steps to add the video.

    http://TV.Adobe.com/watch/learn-Adobe-Muse-CC/adding-a-Facebook-like-button/

    If you followed the steps correctly and the button still does not; Here is a link to a forum thread which may help to solve the problem:

    Facebook follow Widget does not

    Concerning

    Sonam

  • Proposals feature: possibility to add the button to enable/disable JavaScript and Flash easily? The lack of horizontal navigation.

    It is very useful and safe to disable JavaScript and Flash is not needed. But sometimes they must be used.

    It's too frustrating toggle JS menu, and No-Script add-on is not very practical. It would be better if it had the button toggle to enable or disable JavaScript. Also necessary for Flash. You could implement this simple feature for the next update.

    Also: Ealier, it was possible to navigate horizontally rss-buttons and tabs of arrows. Later, this feature has been removed. Could get it back you.

    This module includes a button to toggle JavaScript market / stop.

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

  • The button shows not even if added correctly...

    Hi all, I am using jde 4.5 in that I don't see the added button even if I added. When I remove horizontalfieldmanager are it displayed? Please help hfm HorizontalFieldManager = new HorizontalFieldManager (Manager.USE_ALL_WIDTH); _txtsearch = new BasicEditField ("",""); HFM. Add (_txtsearch); Add (_txtsearch); _search = new ButtonField ("Search"); HFM. Add (_search); Add (_search); This.Add (HFM);

    If you use the insertion code icon (scroll area icons you see above text entry, then seek the name of ToolTip to find), and then you code is readable.

    Your question is that a BasicEditField will be the width of your screen.  If you want to see the button, you must limit the width of this field.  This is discussed in a number of other posts on this forum, so I won't repeat it here.

    You can also add your button first.

  • Folder level Javascript executes the Menu item, but not button - need a work around... Help, please

    I have a JavaScript that contains a function of confidence with a SOAP operation inside the confidence function.

    This function is inside a folder level script.

    When calling this function to a menu item, it works fine.

    When I try to add and call this function from a button or a Signature field to the title of JavaScript execution when signed, it will not work and I get an error message.

    What I'm missing and there is a work around, I need to run it from a button or a signature field?

    Any ideas?

    How to run privileged Javascript by a button

    //    1.  Need to put the necessary Javascript inside a function in the Javascripts folder

    //    2.  Javascript must be a function of trust

    //    3.  Add the call to the function of trust to the button

    //

    The Code for the button to execute a script Javascript on the Focus of the mouse is-> Trusted_CustomCode();

    //

    The following example is a JavaScript script at level folder for security reasons

    //

    The example code SHOULD BE wrapped in a function of trust which is part of .js in the javascripts folder

    //

    var Trusted_CustomCode = app.trustedFunction (CustomCode);

    function CustomCode() {}

    app.beginPriv ();

    Insert the custom JavaScript Code here

    App.Alert ("this is my custom Code that is running from a button");

    End of the custom Javascript Code

    app.endPriv ();

    }

  • When I saw my Muse site in the browser, it seems small in size. Using the preview of Muse button it seems correct. What causes this?

    When I saw my Muse site in the browser, it seems small in size. When I use the button preview of Muse on the toolbar, everything seems fine. What would cause this?

    Hi Patrice,

    Have you checked your browser is zoomed to 100% of time

    Kind regards

    _Ankush

  • I have problems with the shopify widget in Muse. I have configured my shopify store, but when I placed the button 'buy' is didn't tell the product no availabe longer and does not appear when I'm writing the site.

    I have problems with the shopify widget in Muse. I have configured my shopify store, but when I placed the button 'buy' is didn't tell the product no availabe longer and does not appear when I'm writing the site.

    Please contact the original publisher of the widget.

    Thank you

    Sanjit

  • Hi, I want to cancel my registration Adobe Muse and do not have the button to cancel, I'm the Ecuador, I want a number to call to my country.

    Hi, I want to cancel my registration Adobe Muse and do not have the button to cancel, I'm the Ecuador, I want a number to call to my country.

    Contact Contact for help to cancel your subscription.

    For more information, see cancel your creative cloud membership .

  • You are looking for a search button to the site of Muse. MuseThemes does not work

    You are looking for a search button to the site of Muse. MuseThemes is not an option, because it requires $70, a one year subscription. I do not code. Muse is working on a search widget?

    Please check the available options:

    http://musewidgets.com/collections/all/search

    Thank you

    Sanjit

  • cpEIGetValue - the use of Javascript on a button

    What I'm doing:

    The user works with the content and the input of information in a number of places.  At the end of the content entered information are formatted specifically in a legend of test using the associated variables.  I need to also be able to provide this information in a way where they can select and copy the text, which is not possible in a SWF or out of HTML5.  My solution was to add a button to a page and use JavaScript to open a new browser window/tab and displays the output.  It comes to Cp8.

    The code works well (except for Cp components in a javascript interpreter, but doesn't seem to work at all in the Cp.  I activated the Flash security so that objects will run.

    The JavaScript in question isn't pretty, but it will do the job.

    create a window

    var winout = Window.Open ();

    connect to Cp

    var cp = document. Captivate;

    get the value of Text_Entry_Box_1

    T1 var = cp.cpEIGetValue ("m_VarHandle.Text_Entry_Box_1");

    create the output

    output var = "< html >".
    output += '< body > ";
    output += ' < h1 > your problem statement < / h1 >. "
    output += '< p > you can select and copy your statement of the problem of this window and paste into Word or PowerPoint to continue to refine your problem statement. < /p > ";
    output += '< p > ';

    output += t1;

    output += ' < /p > < / body > < / html > "

    the output display
    WinOut.document.Write (output);

    If I remove the Cp-specific code, it works in the javascript interpreter.  If I fix this code to a button by setting the action "Execute JavaScript" and insert the code in a javascript window and publish, the result is odd.  When I launched my published file and press the button to run the javascript code, IE displays the "File download" dialog box and tries to save the file without a name.  It is a problem of javascript code, but I can't understand it.  If I can get this working, I can add the rest of the variables and this fact.

    Thank you

    Chris

    Wrap your original script in a function:

    function openPopup()

    {

    create a window

    var winout = Window.Open ();

    connect to Cp

    var cp = document. Captivate;

    get the value of Text_Entry_Box_1

    T1 var = cp.cpEIGetValue ("m_VarHandle.Text_Entry_Box_1");

    create the output

    var = exit"";
    output & ="";
    output & ="

    Your statement of the problem

    ";
    output & ="

    You can select and copy your statement of the problem of this window and paste into Word or PowerPoint to continue to refine your statement of the problem.

    ";
    output & ="

    ";

    output += t1;

    output & ="

    ";

    the output display
    WinOut.document.Write (output);

    }

    then the button call javascript:

    openPopup();

    You could even do a little more dynamic and send the variable in the function, so you can use it again and again.

    function openPopup (myText)

    {

    create a window

    var winout = Window.Open ();

    create the output

    var = exit"";
    output & ="";
    output & ="

    Your statement of the problem

    ";
    output & ="

    You can select and copy your statement of the problem of this window and paste into Word or PowerPoint to continue to refine your statement of the problem.

    ";
    output & ="

    ";

    output += myText;

    output & ="

    ";

    the output display
    WinOut.document.Write (output);

    }

    then the button call javascript:

    var cp = document. Captivate;

    getText var = cp.cpEIGetValue ("m_VarHandle.Text_Entry_Box_1");

    openPopup ("getText");

  • Is it possible Muse to create hyperlinks to the button I created on board animate? How?

    Hey, guys... My question is if it is possible to create hypertext links to the buttons I created on board animate.

    I exported in ".oam" from the edge, but when I opened in Muse, the hyperlink option wasn't there.

    So, it's possible?

    Hello

    Please visit the following link Add a hyperlink to the animated button created in edge.

    Kind regards

    Aish

Maybe you are looking for