Link to home
Start Free TrialLog in
Avatar of ballshar
ballshar

asked on

How do you link from a non-frameset page to a frameset page and get the entire frame.

I have a website that was created using frames, which I'm working on removing.  However, I created a new section of our site that has no frames.  Now, I need to link from the new section (no frames) to a page in a frameset.  How do I get this page with it's frameset?
Avatar of apprenti
apprenti

<a href="fullpage.htm" target="_top">fullpage</a>
That's to go from a frameset page to a normal page.

To from a normal page to a frameset, just link to the frameset which contains the page concerned.

<a href="myframeset.htm">frameset</a>.

Avatar of ballshar

ASKER

index.htm is not a frameset - but this is were we link FROM

TO

page1.htm

The frameset is called main.htm which also includes left.htm which is the navigation menu.
In the main.htm frameset there maybe 20 files linked in the left.htm of the frameset.  page1.htm
page2.htm
page3.htm
etc...
How can I create a link from index.htm to page1.htm that will bring up the frameset of main.htm? Is there a quick solution or javascript I can use?
Doc Javascript covers this sort of thing:

http://www.webreference.com/js/tips/001016.html
I am not understanding you do mean  by "create a link from index.htm to page1.htm that will bring up the frameset of main.htm?" ie bring up the main.htm frame set with page1.htm displayed in the frame set.
ASKER CERTIFIED SOLUTION
Avatar of NetGroove
NetGroove

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
At javascript.internet.com , They have the perfect code: http://javascript.internet.com/navigation/dynamic-frameset.html
Thanks for the points.
As always - that worked!