Originally Posted by xelawho
but it seems as if you have multiple <audio> tags? why?
Well, this is really just a test page for a larger site.
The larger site is a single container, with two columns. Each column has content loaded into it by the user pressing buttons, consisting of differing amounts of text and pictures.
Depending on what picture, AND the content around it, when the user clicks on the picture, a specific audio sequence needs to play.
Thus, if the user loaded the first batch of content in the right column, and is playing audio, but in the middle decides to load the second...the audio from the first still plays and I want it to stop instead.
But I don't know if that's a valid reason for having multiple audio tags. It was just an easy way to keep everything straight when I was building everything...