Uninterrupted background music on website

后端 未结 7 1909
自闭症患者
自闭症患者 2020-12-03 22:44

I was making a website for a music band, and i was wondering the best way to play background music on the website without interrupting the flow of the music (even for a spli

7条回答
  •  误落风尘
    2020-12-03 23:15

    It wouldn't be pretty but you could do it using AJAX. Have the master page with the header/footer/navigation controls with a big empty content div, and instead of regular links you have calls to AJAX functions that return HTML to be injected in the content div.

    I tend to agree with the others who recommend frames. It may be considered "bad practice", but so is playing background music in the first place.

提交回复
热议问题