View Full Version : Change page and fill in two iframes on the new page

02-11-2010, 03:31 PM
1) Script Title: I don't know the script title nor the URL

2) Script URL (on DD): http://www.dynamicdrive.com

3) Describe problem: Change page and fill in two iframes on the new page.

This is what I am using to change two iframes with one click.

<a href="Products/sinks-description.htm" target="I1" onclick="window.I2.location.href='Products/sinks-images.htm';return true;">

I have navigation on one page which lists the products. I would like to have a user click the product name, and then move to another page which has two iframes and have the correct information appear in the two iframes on the new page. The new page is named products.htm.

http://www.austyns.com/STONE3/products-intro.htm is where I am working.

Thank you very much.

02-11-2010, 09:53 PM
Better yet, I would like to change two iframes with one click and have the iframes resize to fit the inserted page.

Thanks ... viki

02-12-2010, 02:13 PM
I used the script that you gave webcan in 2005 - you called it IFrame SSI script III. I combined that with the information you gave me to change to iframes at a time.

<a href="test.htm" target="I1" onclick="window.I2.location.href='test2.htm';return true;">
<span style="font-weight: 400">Test</span></a></font></p>

So all is well. Thank you .... viki