How to add Javascript action to buttons and text (hyperlink style)

Hello.
Please need help urgently!
I need to link let's say to a text in Muse that reads "ADD TO CART" following javascript:
<a href="javascript:;" onclick="wazala_widget.addtocart('177217');"
If i do it like:
<a href="javascript:;" onclick="wazala_widget.addtocart('177217');">ADD TO CART</a>
then text styling is different from the Muse Hyperlink settings  that chose for other hyperlinks on my site which is obviously an undesirable effect.
If i try to style this specific ADD TO CART text within the html widget widnow:
<style type="text/css">
<!--
body {text-align:center;}
body {vertical-align:middle;}
A:link { COLOR: white; TEXT-DECORATION: none; font-weight: normal; font-family: palatino; font-size: 12px }
A:visited { COLOR: white; TEXT-DECORATION: none; font-weight: normal; font-family: palatino; font-size: 12px }
A:active { COLOR: white; TEXT-DECORATION: none; font-weight: normal; font-family: palatino; font-size: 12px }
A:hover { COLOR: white; TEXT-DECORATION: none; font-weight: normal; font-family: palatino; font-size: 12px }
-->
</style>
  <a href="javascript:;" onclick="wazala_widget.addtocart('177217');">ADD TO CART</a>
Then it overrides Muse hyperlink settings for all hyperlinks located below this button on the page.
Any help would be highly appreciated as this is the only thing that stops me from going live with my shop.

Dis you ever get an answer to this?
Ben

Similar Messages

  • How to add multiple like/unlike buttons and users comments?

    I want to create a horizontal scrolling website with a set of images, like a film strip.
    Under each image I want the user to input a comment and click like/unlike under each photo.
    I want that all users see others' comments and the like/unlike counter under each image.
    I do not know coding and I need this for a school project.
    Thanks

    It's probably easier to use a wordpress blog setup and a plugin.  You could avoid all the coding issues.  You could take a look at my blog
    here at Best Biometric Gun Safe I did this blog completely through wordpress and avoided all coding issues.  Hope this helps and good luck.

  • How can i disable a submit button and execute submit_action method on click

    Good Day,
    On my page I have a submit button that execute the submit_action method of the page backing bean that submit data captured on the page into a database and activate another class that send mail at the same time on a click of the submit button,the mail process takes a while before returning back to the page.I was able to disable the submit button to prevent the user from keep click while the process is running but the issue is on clicking the submit button it only disable the submit button without executing the submit_action method of the page backing bean.How can i disable the submit button and execute submit_method of the backing bean at the same time.
    Thanks in advance.

    I tried this out on one of my pages to see if it works.
    First, I added the following JavaScript to my submit button's onClick event:
    this.disabled=true; return true;When I clicked the submit button, it was disabled but the form was not submitted.
    I deleted the JavaScript from the onClick event and added the following JavaScript to the form's onSubmit event:
    var button = document.getElementById("form1:submitButton"); button.disabled=true; return true;When I click the submit button, it was disabled and the form was submitted but the button's action method was not called.
    The next thing I tried was to change the onSubmit event code:
    var button = document.getElementById("form1:submitButton"); setTimeout("button.disabled=true", 500); return true;This seemed to work. The difference was that I added a 1/2 second delay before disabling the button.
    See if that works for you. If not then I'm fresh out of ideas.

  • How can I click on a button and make a text box appear or disappear

    How can I click on a button and make a text box appear or disappear?
    Thanks ahead of time for your help,
    Doug

    Hi Denes,
    I just thought that the example you pointed the OP to, is far more complex than what I understood he needs. The OP was talking about using a button, which I thought was a very basic and simple case. Your example is much more complicated. If memory serves, the radio group item, at the time (prior to 3.1 fieldset) behaved differently, so you needed to create a new value retrieving function, and then was the need to preserve the items show/hide status upon reloading the page. In short, I thought maybe I didn’t see the complexity in the OP post, but it seems that his requirement was indeed a simple one.
    Regards,
    Arie.

  • I have just intalled PSElements 12 on a new PC with windows 8.1. It installed ok but when I open it up it displays different than on my windows 7 PC. The buttons and text are tiny and almosy impossible to see even when I drag it to full screen. How do I a

    I have just intalled PSElements 12 on a new PC with windows 8.1. It installed ok but when I open it up it displays different than on my windows 7 PC. The buttons and text are tiny and almosy impossible to see even when I drag it to full screen. How do I adjust it to look normal?

    Hi Paul ,
    It could be a compatibility issue as well as Acrobat 8 is an older version.
    Do you get any error message while registering for the product?
    Try repairing it and once and also check for updates as well.
    Is it happening with all the word files or any specific one'?
    Regards
    Sukrit Dhingra
    Acrobat 8 and Windows 7 Don't Work

  • How to add new currency in ORCO and ORBO

    Hi, I have successfully install ORCO, ORBO and ORPOS. I followed Implementation Guide, Volume 1 – Implementation Solutions to add new currency in ORPOS.
    But I still do not know how to add new currency in CO and BO.
    I try to use import parameter feature in ORCO and ORBO to import xml, the result said "Success" but there is no changes.
    Please help show how I could achieve this.

    I change the FL_CNY_BASE into 1 already. POS is OK now. But BO is not regconize that there is a new currency. I'm trying to go to
    Admin -> Job Manager -> Available Import -> Import BackOffice Parameters
    and try to import xml file that contain belowing content.
    <?xml version="1.0" encoding="UTF-8" ?>
    <CurrencyImport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="CurrencyImport.xsd" Priority="0" FillType="FullIncremental" Version="1.0" Batch="1" CreationDate="2001-12-17T09:30:47.0Z" ExpirationDate="2027-12-17T09:30:47.0Z">
    <!-- Example of adding a Currency. -->
    <Currency ChangeType="ADD" ISOCode="MYR" IssuingCountryCode="MY" Name="MYR" IssuingCountryNationality="Malaysian" IsBaseCurrency="true" Scale="2" Priority="0" />
    <ExchangeRate ChangeType="ADD" CurrencyCode="MYR" MinimumAmount="0.00" EffectiveDate="2008-05-26" ExpirationDate="2050-06-02" ToBuyAmount="2" ToSellAmount="2" ServiceFeeAmount="0.00" />
    </CurrencyImport>
    The result said it success but I still cannot see any change.
    Is there is any other things I should make change at BO? Any property file that I should make change? BO and CO is web application so the structure of files are not the same as POS. I can't following the same thing when I had made with POS for BO and CO.
    Thanks for you helping

  • How to connect one page using button and by link in BSP

    how to connect one page using button and by link in BSP

    hi,
    use on 'onclick' functionality.
    1. In layout, onclick = 'NEXT_PAGE' of the button
    2. Capture the event in onInputprocessing,
    DATA: event_id TYPE REF TO  cl_htmlb_event.
    case event_id.
    when 'NEXT_PAGE'.
                navigation->goto_page( 'URPAGE URL' ).

  • How to add my html title tag and html meta name and meta keywords

    how to add my html title tag and html meta name and meta keywords in iweb 09

    Like you will see on Roddy's page iWeb SEO Tool will do the job very easily:
    Click to view full size
    Click to view full size
    It remembers what tags went to which pages so they are easily reapplied when you have to republish.
    OT

  • How to add the Date Track Button

    How to add the Date Track Button on a customized Form ?
    1. Profile of Datetrack:Enabled = Yes
    2. All HR Forms includes the Date Trak Button
    3. On the Customized Form "Alter Date Track" can be activated from Menu :Tool --> Alter Date Track.
    I'd Like the Button to appear on button ruller.
    Thanks for help

    Rachel,
    Please review the following notes, it may be helpful.
    Note: 177733.1 - How Date Track Works
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=177733.1
    Note: 169059.1 - Understanding the Flow of Date Track Dates Through the Forms
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=169059.1

  • I can't see the button and text item, After compile...

    I bring a form source at the another ERP application.
    and compile it at the our ERP application.
    There is no problem at compiling file...
    comfile succesfully complete...
    but There is no text item and button when i execute program...
    What is the problem --; Help me ~~

    at oracle E-Business Suite
    We add-on a form program
    and i execute the program to use program.
    but there is no button and text item at form. ^^

  • How can we delete SID table data and Text table data

    Hi,
    How can we delete SID table data and Text table data of any
    InfoObject.

    Hi,
    Go to transaction SE14, give the technical name if the table:
    /BIC/T<InfoObject Name>   for Text Table
    /BIC/S<InfoObject Name>  for SID Table
    Select "Table" in the given 4 options below  &  hit Edit button.
    in the next screen select "Direct"
    & also select "detele data" radio button.
    & hit  "Activate & adjust database".
    this will delete the complete data from the tables.
    Note: before deleting the SID's make sure of the consequences & after effects.
    Also the SID gets generated the next time you load master data/transaction data only for those records which were loaded..
    Regards,
    Iliyas

  • How do I shut off receiving phone and text messages when I a out of the country but instill want to send and receive emails emails

    How do I shut off receiving phone and text messages when I am out of the country.  I still want to be able to email and receive email on wifi

    Enable Airplane mode followed by turning on wi-fi access.

  • How do you transfer pictures,video's and text messages from iphone 4 to the new model

    How do you transfer pictures,video's and text messages from iphone 4 to the new model?

    http://support.apple.com/kb/ht2109

  • Buttons and text items on oracle forms 6i

    can i create dynamic buttons and text fields on oracle forms 6i.
    i mean when i insert record in database then automatically creat a button on form.
    Regards
    Munawer hussain

    Hi,
    One physical button is enough for a series of "functional buttons" per amount of simultanious visisble buttons. You can change the button prompt at run-time depending on a certain condition. That same condition can also be used when executing the when-button-pressed (wbp) trigger.
    Example:
    suppose you have 2 functions that you want to create buttons for: enter query and execute query. Only 1 button is visible at one time. In design time you create 1 button. In run-time, depending on :system.mode you set the button prompt to "enter query"or "execute query" and in the wbp trigger you write
    begin
    if :system.mode = 'QUERY'
    then
    execute_query;
    else
    enter_query;
    end if;
    end;
    Kind regards
    .

  • How to add a action to a button?

    I been trying to add a action to thing in my flash but every action i do doesn't work but works for everyone else. I noticed my action screen looks different then all the others i see so i'm sure i'm doing something wrong or something here is what i get. I'm trying to just add a courser to my flash for my game menu screen.
    here is the errors i get:
    i noticed on every tutorial there all the same code to do this but the Action screen looks way different.

    You are posting in the AS3 forum and the errors you are getting are AS3 errors, but the code you are using is AS2.  If you go into your Flash Publish Settings and change it to publish for AS2 you might find it works.  If you have further issues you should post in the AS2 forum.
    As far as the different looking screens go, chances are if you are looking at AS2 tutorials you are looking at older versions/layouts of Flash in those tutorials

Maybe you are looking for

  • Modified changes to ESS DC are not visible

    Hello Experts, I have imported the DC and checked out. I have modified essusfam~sap.com by adding a text field and input label. Saved all my changes and tried to deploy the code from the context menu in webdynpro explorer. NWDS prompts for SDM paswor

  • Airport express & vista

    aloha...anybody out there get their aiport express to work w/ vista??? i can connect to the internet(unsecured) but i can't get the airport admin utility to work at all and the airport setup assistant does not exist.

  • Generation of WBS Settlement Rule

    Hi Folks! I was wondering if there is any function module that allow me to generate a WBS Settlement Rule for a specific project and for elements on level 3. If there is no FM for this, is there any workaround to do this. Thx for any advise. Regards,

  • Native Multi-VRF-Lite Design with EIGRP Question

    Hello, we think about to implement a VRF-Lite design (no MPLS and MBGP) in our campus network (10,000 ports, 20x 6500Sup720, 400x L2-Switches). MPLS is from our point of view oversized for our requirements. We need only a segmentation from different

  • Save for web gif loop settings not working

    Photoshop CC 2014 Mac Pro 10.8.5 When I change looping settings from "once" to "forever" when saving a gif it only loops once. I tried multiple times. In the end what got it to work was changing looping back and fourth from "once" to "forever" over a