one link changes 2 frames?

liunx

Guest
I'd like to find a way so that clicking on a single link makes two of my frames Download <!--more--> different pages...<br />
<br />
Say my page is made of Frame 1 displaying (page1) and Frame 2 displaying (page 2), when clicking a link in Frame 1 (page 1),then Frame 1 displays (page 3) and Frame 2 displays (page 4)...<br />
<br />
Is there a way to do it?:confused:<!--content-->Create a new frameset just like the old one but with page 3 in frame 1 and page 4 in frame 2. Link to this frameset.<!--content-->:confused: There's no way to do it in the same frameset?:confused:<!--content-->There's a JavaScript method but using JavaScript for navigation is very bad. It will fail for 13% of your users. And what's so difficult about swapping out the frameset? Simply save the one you've got but with a different name and edit two file names. <br />
<br />
One of the annoying features of frames is that other people cannot easily link to a particular state in your site. Using this method they can.<!--content-->Well, can you give me the javascript method anyway?<!--content-->parent.frameName1.location.href = <!-- m --><a class="postlink" href="http://www.webdeveloper.com/forum/archive/index.php/url1">http://www.webdeveloper.com/forum/archi ... x.php/url1</a><!-- m --><br />
parent.frameName2.location.href = <!-- m --><a class="postlink" href="http://www.webdeveloper.com/forum/archive/index.php/url2">http://www.webdeveloper.com/forum/archi ... x.php/url2</a><!-- m --><br />
<br />
the above should do what you intend to.<!--content-->:confused: Erm... how do I put thsi into my page?<br />
<br />
let's say frame 1 is named "_top" and frame 2 "_main"...<br />
<br />
Like my usertitle says: I'm clueless:rolleyes:<!--content-->Nash,<br />
Have a look at the artticle "how I can make two frames change at the same time (with one click)?" at<br />
<!-- m --><a class="postlink" href="http://hotwired.lycos.com/webmonkey/97/02/index4a.html?tw=authoring">http://hotwired.lycos.com/webmonkey/97/ ... =authoring</a><!-- m --><br />
I think that will explain what you want and how to do it.:)<!--content-->Woohoo!<br />
<br />
Thanx a lot gizmo!:D<!--content-->Enjoy :D<!--content-->
 
Back
Top