View Full Version : Help with Javascript

24 Dec 2010, 08: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.

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