too428 Posted March 25, 2006 Share Posted March 25, 2006 Can someone tell me what is the code or HTML or XTML for playing different song for background music for my pages. Link to comment Share on other sites More sharing options...
rongyne Posted March 25, 2006 Share Posted March 25, 2006 Can someone tell me what is the code or HTML or XTML for playing different song for background music for my pages.<{POST_SNAPBACK}> 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"; Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now