Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
11-03-2009, 01:42 PM #1
- Join Date
- Aug 2005
- Thanked 1 Time in 1 Post
How to Keep the background music playing when going to a new page?
I wanna give a background music to my website. But I want the music to keep playing when the new page loads. I mean... whenever any page loads, the music should not stop playing. Is it possible?
Also, I want to give the visitor the ability to play or pause the music. Can you people suggest me some FREE & easily customizable things?
Thanks in advance...
11-03-2009, 02:55 PM #2
- Join Date
- Nov 2007
- Thanked 9 Times in 9 Posts
Whenever the browser has to physically reload a page your background music would have to stop.
So... the answer has to be that you don't want the page to completely reload.
Your options include:
- Using frames (traditional FRAME or IFRAME tags)
- Using AJAX to manipulate the DOM elements on your page
- Using Flash
Frames are the easier way to go... but they're generally a terrible idea because you kill most of your search engine optimization.
Flash is used pretty often, though it requires (obviously) having to learn the Flash IDE, ActionScript, or a combination of both.