What is the code HTML is necessary to produce a sound when a button is clicked?

I am very new to Muse and literally know nothing about HTML/JavaScript/etc. other than the common basic knowledge that you need to do more complex things on web design.

I'm looking to create buttons that when clicked, will play a short sound. I currently have four different buttons, and each will have to play a different sound. The last button that will be clicked will not only play a sound, but will also send the user to the home page (these buttons will be on a homepage).

I have the mp3 sounds pre-cut and ready to use, now I just need to know what I need to use the code, where to use / Insert and how to integrate the mp3 files in the code so that it works!

I apologize for the hand holding, but this will have to be a style of repeated, 'Explain to me like I'm 5' deal, because unfortunately just to provide me the code and saying "go get em!" isn't going to help. I need a step by step instruction.

Thank you!

You can try this widget:

http://musewidgets.com/collections/all/products/sound-effects

Thank you

Sanjit

Tags: Adobe Muse

Similar Questions

  • What is the Code for error AHT 4HDD/11 / 40000004:SATA (0,0)

    What is the Code for error AHT 4HDD/11 / 40000004:SATA (0,0)

    This means you have a hardware problem related to the hard drive. The disk may be corrupted or fails and must be replaced. Save your file as soon as POSSIBLE. If the player does not have little time for the backup.

  • hardware device: what is the code 43?

    hardware device: what is the code 43?

    Hi Timothy,.

    Thanks for posting the question in the Microsoft Community!

    According to the description provided, looks like you want to know the description of error code 43.

    However, we need more information about the issue to help you better. Please help me to answer these questions.

    1. what operating system do you use?

    2. when exactly you get this error?

    3. were there any changes made to the computer before the question?

    Visit this link for the operating system you are using.

    http://Windows.Microsoft.com/en-us/Windows/which-operating-system

    This problem occurs when an engine control unit notified the operating system that the device has failed in some way.

    Visit this link to learn more about Device Manager error codes.

    http://support.Microsoft.com/kb/310123

    Hope this information helps. If you have any questions with Windows do not hesitate to answer and we will be happy to help.

  • Our company is buying 14 items first.  What are the options to purchase necessary on 6 different PCs and how much it costs?

    Our company is buying 14 items first.  What are the options to purchase necessary on 6 different PCs and how much it costs?

    hisashiy

    This isn't Adobe. Rather a user to user forum. You must contact Adobe Store Sales for the information you are looking for.

    With it, you will discover licenses in volume compared to purchasing individual licenses. On the individual side, Adobe allows the 'client' use the same bought computers activated serial number on no more than 2 of the 'customer' and then not use both at the same time.

    Premiere Elements is not sold on subscription, as are the applications under the creative cloud.

    Please see the Adobe web site, or the following link contains the contact information you need.

    Adobe | Of requests for the

    RTA

  • What is the code?

    What code do I need if I want to, so executives is timed?

    I want to make the first image is in... I don't know, 5-10 sec and then goes to frame 2...

    What is the code? Is it something gotoAndPlay? Or... I do not know. How to do that.

    Frame 1 to frame 2 in 5 seconds... Chassis 1 up to 5 seconds then whitout fram 2 click or press something. How?

    Here's a way... part 1:

    Stop();

    function moveTo2 (): void {}

    gotoAndStop (2);

    }

    setTimeout (moveTo2, 5000);

  • What is the code at the top of new pages?

    DW insert this code at the top of new pages:

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    A reason for it?

    Most of my inner pages of my site didn't do it in fact.

    All pages should have doctype if they are supposed to conform to w3 standards.  I suggest to try this link and if you still have questions, you can post back:

    http://www.w3schools.com/tags/tag_doctype.asp>

    HTML5 is a simple way to set the doctype, but I suggest you stick with what you get in the Dreamweaver until you are ready to learn something new about html5.  DW CS4, 5 and 5.5 have an extension to work with html5, but you should have a firm grasp of the current html because it's the Foundation of html5.

    HTH

  • What does the 'name' HTML attribute?

    Someone referred a w3schools chart and it make me () meaning for me.

    I was wondering mainly on its use with rollovers javascript, with regard to the code below, but any concept 'together' of the fact that the 'name' attrib would be useful.

    <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / BY" > ".
    " < html xmlns =" http://www.w3.org/1999/xhtml ">
    < head >
    < title > Simple Rollover A < /title >
    < / head >
    < body bgcolor = "#FFFFFF" >
    < a href = "next.html" ' onmouseover="document.arrow.src='images/arrow_on.gif'" onmouseout="document.arrow.src='images/arrow_off.gif'" > < img src = "images/arrow_off.gif" width = "147" height = "82" border = '0' name = "arrow" alt = "arrow" / > < /a > "
    < / body >
    < / html >

    In HTML (not XHTML), the name attribute provides a way for javascript to uniquely identify a particular element in the page, and then do something with it.  This is what is most commonly used to swap images - so that whenever you insert a swap image on the page behavior, DW will place the code in the head of the page looking for the code to find the image particularly involved in each permutation image.  If you look at the code and look at the event handler, you will see that DW provides the code with the NAME of the image involved and the source path of the image that will replace it.

    You can find such information on the site http://www.w3.org under the HTML4.01 specification.

    In XHTML, the name attribute has been deprecated in favor of the attribute ID.  Unfortunately, you can't really replace 'name' by 'id' quite yet because of support issues.

  • What is the code of continuation of line in qbasic?

    I tried space underscore and the sign space.  They both rejected.  Who can help?

    Return to the line would make the readability of the program much easier.

    It has been a long time since I wrote any code QBASIC... but from what I remember, underscore can be used as a line-continuation character.

    However, you cannot use terms underscore as a continuation of line when you type the code in the editor of QuickBasic (QB.) (EXE).

    Instead, you can use Notepad (or other editors) to type in underscore at the end of your line. Then use BC. EXE to compile.

    Here is a reference:
    http://support.Microsoft.com/kb/43092

  • What do the codes of the JIU 0 x 76 and 0 x 33

    What breaks down codes dump 0 x 76 0xf 0 x 33 average.

    We can help more if we know what OS you are using and if we have the DMP.  Without the DMP, it is what we can do.

    PROCESS_HAS_LOCKED_PAGES bug control has a value of 0 x 00000076. This bug check indicates that a driver failed to release the locked pages after an i/o operation, or that he tried to unlock pages that have already been released.

    Bug UNEXPECTED_INITIALIZATION_CALL control has a value of 0 x 00000033.

    This bug check appears very rarely.

  • What is the code for error "the dependency service or group could not start": 1068

    What is "the dependency service or group could start"?

    This seems to be a HUGE problem for PC users so much; It gives rise to the error 1068 code and effects so many aspects of our machines...

    What is this area of computing? What it means? If we understood this, solutions might be easier to find?
    From what I can deduce (I could be wrong) there seems to be a communication error; But why did affect many different areas of the machine?
    I recently corrected an error 1068 on an internet connection and then again on spooler print issue; Now, I'm trying to solve the error even on a sound broadcast. Frustrated? Isn't the half of it! WHAT IS THIS ERROR?

    the dependency service or group could not start
    http://social.technet.Microsoft.com/forums/en/itprovistanetworking/thread/563b908c-AA24-4000-9b2d-b6ff02f10c56

    No sound in Windows
    http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows

    Tips for solving common audio problems
    http://Windows.Microsoft.com/en-us/Windows-Vista/tips-for-fixing-common-sound-problems

  • What is the Code for authorization on the order recipt page for?

    I understand that the invoice number must refer to the order, but what is the authorization code for? Is this a code to confirm the payment by credit card? Thank you.

    Yep, it's the code returned by the payment gateway.

  • What is the code to scale a MovieClip runtime?

    I can't believe how it has been difficult to find an answer to a question as simple.  I found a thread in this forum entitled "How to resize a MovieClip runtime?", but the code that has been published in response has been removed from the post.  WHY?  What is a very well-kept secret?

    In any case... I just want to know how to change a movieclip at run time with a function slide... and also the parent movieclip having already a drag function active.

    Any help would be appreciated.

    BTW... I found a cure for death that makes you instantly as the richest person in the world with all the knowledge of the universe...

    It can be found here:

    onMouseUp and onRelease is usually (but not always) the same thing.

    You can use a scale factor:

    var scaleFactor:Number is. 3;

    {mc.onPress = function ()}

    resize_mc = this;

    startX = _xmouse;

    startY = _ymouse;

    this.onEnterFrame = resizeF;

    }

    {mc.onRelease = function ()}

    delete this.onEnterFrame;

    }

    function resizeF (): Void {}

    resize_mc._width += (_xmouse-startX) * scaleFactor;

    resize_mc._height += (_ymouse-startY) * scaleFactor;

    }

  • What is the code name for intex fx cloud (required to manually build 2.0)

    I want to manually build the last B2G for an intex phone fx cloud. The build process requires executing the script "config.sh' with the name of the phone code:
    https://developer.Mozilla.org/en-us/Firefox_OS/Preparing_for_your_first_B2G_build#Configuring_the_B2G_build_for_a_mobile_device

    The phones operating system supported firefox page does not display the code name for new devices:
    https://developer.Mozilla.org/en-us/Firefox_OS/Developer_phone_guide/Phone_specs

    Is it possible to get the code for intex phone name. If the list of the devices supported by "config.sh" does not include the code name of intex, is there a way to still be able to build the latest os from firefox for the intex device?

    Hi Notalex,

    The code name for the Intex Cloud FX device is Tarako. However, it uses another optimized codebase that the regular B2G is based so that it can run on lower range with little memory devices.

    Unfortunately, version 2.0 of the B2G code base would go not on the Fx cloud Intex due to material limitations.

    For more information and advanced issues on customizing your Firefox OS device, you can visit the following pages:

    I hope you find this information useful. Please let us know if you have any questions of usability with your new Firefox OS device.

    Thank you!! =)

    -Ralph

  • What is the code for 2009 wireless ketboard

    I want to associate this keyboard for my new Mac Book.  I don't have the code, and it won, t pair.

    The code must be generated by the computer. Do you have unfair keyboard of some old equipment you use?

  • What is the code for looping a clip backwards?

    I would loop a front clip and back by clicking a button front or rear.  I found the script code 3 following actions on Adobe, but the code that plays the mc in the opposite direction is not triggered by a button.  Can someone find me the code requiring the user to hit the reverse button for a mc backwards in a loop?

    Here is the code to play forward:

    function playAnimation(event:MouseEvent):void
    {
    star_mc. Play();
    }
    Save the function as an auditor with the key.
    startButton.addEventListener (MouseEvent.CLICK, playAnimation);

    ________________

    Here's the code that automatically plays the mc in reverse but that is not triggered by a button in the code above:

    This function is called when the enterFrame event is triggered, which means
    It is called once per frame.
    function everyFrame(event:Event):void
    {
    If (star_mc.currentFrame == 1)
    {
    star_mc.gotoAndStop (star_mc.totalFrames);
    }
    on the other
    {
    star_mc.prevFrame ();
    }
    }
    star_mc.addEventListener (Event.ENTER_FRAME, everyFrame);


    I need code that will play before in a loop and play backwards in a loop and triggered by the buttons.  Please help...  Thank you

    Apart from the function that performs the actual reading reverse, you need a button that tell the movieClip to run the "reverse code" each update of the framework.

    Suppose you have a button named reverseButton. When you click on it, copy the following code calls the function 'playAnimation', which tells the movieClip with instancename star_mc to run the code you already have.

    function playAnimation(event:MouseEvent):void
    {
    star_mc.addEventListener (Event.ENTER_FRAME, everyFrame);
    }
    Save the function as an auditor with the key.
    reverseButton.addEventListener (MouseEvent.CLICK, playAnimation);

Maybe you are looking for