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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open 2 pages from 1 link into 2 frames 1

Status
Not open for further replies.

SteveAudus

Technical User
Oct 4, 2001
409
GB
I'd like to open two pages in different frames from one link.
I know it's easily done with Javascript code like below...

Function change()
{parent.left_frame.location="apage1.htm";
parent.right_frame.location="apage2.htm";}

<A HREF=&quot;java script:change()&quot;>Change 2 Frames</A>

The problem is that the link is part of a very complicated javascript dhtml menu, and the links can only only be html, not javascript.

Any suggestions?

I was thinking that maybe I could open one page in one frame, then get that page to open the second page, in the other frame. I have messed with a <meta refresh> and <Body onload> but either could work with target frames, or I just could be using them wrong.

Any help would be great.

Thank you.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top