Click to See Complete Forum and Search --> : one link changes 2 frames?
I'd like to find a way so that clicking on a single link makes two of my frames download different pages...
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)...
Is there a way to do it?:confused:
Charles
08-27-2003, 04:39 AM
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.
:confused: There's no way to do it in the same frameset?:confused:
Charles
08-27-2003, 06:09 AM
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.
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.
Well, can you give me the javascript method anyway?
Khalid Ali
08-27-2003, 09:47 AM
parent.frameName1.location.href = url1
parent.frameName2.location.href = url2
the above should do what you intend to.
:confused: Erm... how do I put thsi into my page?
let's say frame 1 is named "_top" and frame 2 "_main"...
Like my usertitle says: I'm clueless:rolleyes:
gizmo
08-27-2003, 01:03 PM
Nash,
Have a look at the artticle "how I can make two frames change at the same time (with one click)?" at
http://hotwired.lycos.com/webmonkey/97/02/index4a.html?tw=authoring
I think that will explain what you want and how to do it.:)
Woohoo!
Thanx a lot gizmo!:D
gizmo
08-27-2003, 02:48 PM
Enjoy :D