Pass music as html page parameter

Asked

Viewed 109 times

0

Great, I’m trying to make a game menu on HTML5 + Javascript + CSS3 and when I click on a button I want you to change the page html, but may the same music continue to give.

I suppose with the method audio currentTime, but I don’t know how to pass as parameter. To change page I am using the method window.location.assign(html file).

  • You can explain better what you mean by "but let the music keep changing" ?

  • Continue to give* already edited

  • But do you mean the same song in the same place or starting to "give"/play alone? You really need to reload the page?

  • To the same song in the same place. I suppose I have to reload the page since the button redirects me to another menu.

  • The easiest thing for you is to use jQuery to order the pages. So in the click you load the page inside a div without updating the whole document. And the music continues to play. If you want a reference to open the page inside the div go to http://www.codigosnaweb.com/forum/Enviando-dados-via-POST-ou-GET-com-jQuery_3_2830.html

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.