/    Sign up×
Community /Pin to ProfileBookmark

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

to post a comment
HTML

9 Comments(s)

Copy linkTweet thisAlerts:
@CharlesAug 27.2003 — [font=georgia]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.[/font]
Copy linkTweet thisAlerts:
@nashauthorAug 27.2003 — ? There's no way to do it in the same frameset??
Copy linkTweet thisAlerts:
@CharlesAug 27.2003 — [font=georgia]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.[/font]
Copy linkTweet thisAlerts:
@nashauthorAug 27.2003 — Well, can you give me the javascript method anyway?
Copy linkTweet thisAlerts:
@Khalid_AliAug 27.2003 — parent.frameName1.location.href = url1

parent.frameName2.location.href = url2

the above should do what you intend to.
Copy linkTweet thisAlerts:
@nashauthorAug 27.2003 — ? 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:
Copy linkTweet thisAlerts:
@gizmoAug 27.2003 — 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.?
Copy linkTweet thisAlerts:
@nashauthorAug 27.2003 — Woohoo!

Thanx a lot gizmo!?
Copy linkTweet thisAlerts:
@gizmoAug 27.2003 — Enjoy ?
×

Success!

Help @nash spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...