Use the frameset framework to achieve non-Refresh background music (not interrupted) and frameset background music when switching webpages

Source: Internet
Author: User

Use the frameset framework to achieve non-Refresh background music (not interrupted) and frameset background music when switching webpages

When we insert a music player or background music into a webpage, we often encounter the following problem: music is only played on the inserted webpage. When we switch the webpage, the concert stops suddenly, at this time, we thought about whether we could insert background music into every webpage. However, this would not produce the expected results, because the concert will be played from the beginning every time you switch the webpage. To solve this problem, the only solution is to place the background music in a single webpage, and then ensure that only the webpage content is changed when the webpage is switched, without refreshing the background music.

<! DOCTYPE html>  

Running. The next frame is used to display the content of the website. home.html is the homepage of the website. When I click a link on the homepage to switch to another page on the website, the content in the frame below will be refreshed without affecting the continuous playing of music. Voice, but only voice.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.