...

View Full Version : Multiple frames and embedded music files



jjiimmyy101
08-17-2008, 07:21 AM
Hi all!

I have a webpage with 3 frames (they are named Top, Middle, Bottom). In the "Top" frame I have a music file playing.....<EMBED src="welcome.mp3" width="80" height="25" autostart="true" loop="true" hidden="false">. In the "Middle" frame I have five links and the "Bottom" frame is like the main page where all the links are opened to.

One of my five links opens a new page in the "Bottom" frame and as part of that webpage, I have a music file that plays a song.....<EMBED src="free.mp3" width="80" height="25" autostart="true" loop="true" hidden="false">.

My problem is that when I click on that link, I have two songs playing at the same time (one in the "Top" frame and one in the "Bottom" frame). How would I make it so that when I click on that link, the music playing in the "Top" frame stops playing? Would an onclick or onload function correct this problem? Thanks.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum