SteveAudus
Technical User
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="java script:change()">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.
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="java script:change()">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.