PDA

View Full Version : Help with Javascript



meltedtoons
24 Dec 2010, 07:32 PM
So I have a website that allows you to go on two sites at the same time. The main feature is that you can 'hide' one of the sites.

Go on http://answermyhw.webs.com/beta.html
(When you open the site click on "Click here to add a site." located on the top left of the site, then it should open an iframe called "The secret page")

Once you open the 'secret page' you'll notice that there are 2 iframes.

What I'm trying to do is when you open the 'secret page' it collapses the other one.
And when you collapse the "secret page" It reopens the other one.

SvenBieder
26 Dec 2010, 11:33 PM
please can you explain the part with "collapse the other one" more detailed. i'm not sure what you want to do...