View Full Version : I am in serious need of help!


mari-mac1109
01-28-2003, 01:06 AM
Hi guys!

I have a rather....complex question. I have multiple iframes on my page and I want to change the content in both of them with only one click.

here's the site.

http://velle.whompingbananas.com/workingindex.html

What I want to do is click on a link on the middle iframe and have it change what appears in that frame and the box-menubar frame in the lower right hand corner.

I read up several tutorials on iframes and on basic frames but I couldn't find the answer. I do know that changing multiple regular frames at once is possible, but I don't know if that can be applied to iframes. Can anybody help me?

All help is GREATLY appreciated!

Thanks!
Sara

pb&j
01-28-2003, 04:15 AM
Try this...

<a href="Newpage.html" OnClick="parent.peter.location='OtherNewPage.html';">
text or image here
</a>

In theory... the value of href will load into the current iframe and the value you put inplace of OtherNewPage.html will appear in the location named peter (the other iframe).