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?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

<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>.

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



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
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?
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Doc Javascript covers this sort of thing:
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.
All twenty html pages with the names page1.htm, page2.htm and so on, has to be extended in the header of the page.
You need in the header of those pages this script:
if (window == top) {
  thisPage = window.location.href.split("/");
  top.location.href = "main.htm?left="+thisPage[thisPage.length-1];

And the main.html needs this extention:
var leftSrc = "page1.htm";
if ({
  page ="left=");
    leftSrc = page[1];
<frameset cols="20%,*" onLoad="window.left.location=leftSrc">
<frame name=left>
<frame name=right src="right.htm">

That's all.

Good luck,

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
At , They have the perfect code:
Thanks for the points.
ballsharAuthor Commented:
As always - that worked!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.