Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

frames page linking to frames page

Status
Not open for further replies.

northernbeaver

Programmer
Jul 9, 2001
164
CA
I have one frameset with two frame; one header up top and the main body. There is a menu in the header bar and when a link in the header is pressed I would like the bottom frame to split into two to give the appearance of a menu along the left side and the main body to the right side. since I wont know how many frames are open how do I set up the menu in the header so it doesnt contiuniously add that left frame. I only need it there once.
 
Hi ragenpryde.
Check the value of
Code:
Top.Frames.length
. It'll give you the number of opened frames. Beware : if you open a page witch content a frameset into a top level frame, you'll got 2 framesets with 2 frames in it so :
Code:
Top.Frames.length
will be 2. Water is not bad as long as it stays out human body ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top