Question about <embed>

They have: 117 posts

Joined: Feb 2000

Hello,

I know most of you HATE having music on a web page. I agree for the most part, but used spareingly, in the right situation, I believe it can be effective. Here's what I want to do:

I know I can use the following to play music:

I also know how to start and stop this music from within a javascript function as follows:

document.song1.play(), and document.song1.stop()

What I'd like to know is this: Is there a way from within that javascript function to change the song that is played. Maybe some way to pass a parameter and select from a list of songs. I've played with a number of ways, but can't get it to work. Thanks for any help!

Bob

They have: 117 posts

Joined: Feb 2000

Hello all,

Thanks to anyone who was planning on responding with some help, but I figured this one out on my own!

Thanks anyway!

Bob

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.