PDA

View Full Version : How to add music without interrupting


Chapo
05-23-2013, 05:22 PM
OK... I have a website wich I want to add music, the issue is that when you change links the music stops, how can make the music to run without stopping when changing links, lets say like a flash site.

gentleone
05-24-2013, 12:06 AM
By loading your content with AJAX in a containing div. Here's an example, but you will have to dig in the source of the demo page to figre out how it's really done and what you need. script.js is the AJAX magic.
http://css-tricks.com/ajax-load-container-contents/

Chapo
05-24-2013, 03:05 AM
Thanx Gentleone... I'll dig for the code !!!