x

How to make a button play a sound when you click it

I've got an image with a URL link on a page. I want it to play a short sound when it is clicked on. How do I do that?

The published page is twlanding.weebly.com. You'll see two buttons labelled 'Jaguar Driver's Club' & 'Jaguar'. I want a short sound to play when those buttons are clicked.

I know virtually nothing about coding, so if the answer involves doing this, I will need some handholding.

Regards

Ross

511 Views
Message 1 of 2
Report
1 REPLY 1
Square

That will definitely require some custom coding. You'll need some javascript to make the audio play, and prossibly custom code your button so you can modify the button code itself. In terms of coding it's not as bad as it could be, although if you don't know any coding it could be a little challenging.

I did a quick Google search and found some solutions on how people made this happen (not necessarily at Weebly, though):

make a button play a sound when clicked

499 Views
Message 3 of 2
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.