Jump to content
Sign in to follow this  
too428

Playing Differeng Song

Recommended Posts

Can someone tell me what is the code or HTML or XTML for playing different song for background music for my pages.

Insert this, with whatever sound you want:<bgsound src = "http://www.tinwhistletunes.com/clipssnip/Audio/09-05/SallyGardensWillOB.mp3">If you are wanting to change it with javascript, simply do this:add id = "mybgsound" to the bgsound elementuse this in a script:document.getElementById('mybgsound').src = "http://www.grsites.com/sounds/18791905/bells/bells001.wav";

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×