change the contents of two frames using only a one button click

G

Guest

I have a page that uses inline frames. Two of the frames display media. One
is Video and one is audio. When a visitor to the site clicks on an Audio
file while a Video is playing, they hear the audio from both playing at the
same time. I need to make the link for the audio file playing in the audio
frame #2 also change the Video frame #1 to another source. In short ' One
Button to change two frame inputs at the same time.)

Help... Thanks
 
S

Sparky Polastri

Chris B. said:
I have a page that uses inline frames. Two of the frames display media.
One
is Video and one is audio. When a visitor to the site clicks on an Audio
file while a Video is playing, they hear the audio from both playing at
the
same time. I need to make the link for the audio file playing in the
audio
frame #2 also change the Video frame #1 to another source. In short ' One
Button to change two frame inputs at the same time.)

Help... Thanks

You can do that with JavaScript. Here are some links for samples.

http://www.google.com/search?q="one+link"+"two+frames"+javascript
 
M

Murray

The problem with such schemes is that you open the gates of frameset hell
when you do so. Consider the poor confused user who then clicks on the back
button. The most recently loaded frame changes. Only. Now your whole
frameset is out of synch....
 
S

Sparky Polastri

True. 99% of the time, framesets are mis-applied and not necessary.

There are a few cases where they are a good way to do something, but for
public web sites... not many.
 
M

Murray

<nods>

1. Having continuous music throught a site <cringe>
2. Having a Flash animation that doesn't restart on each page <cringe>
3. Obfuscating the URI (i.e., loading a page on site1 that brings in frames
from site2 <shrug>
4. Displaying special-purpose pages (letterbox, or slide-show) <shrug>

Are there any more?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top