/    Sign up×
Community /Pin to ProfileBookmark

Help with double linking :/

Hi,

[URL=http://edit2.ed.edu.jonkoping.se/gupe/main/index.htm]The Site[/URL]

At this page you can see three iframes with different sources (left.htm middle.htm right.htm). As it is now a link in the left iframe (navigation) changes the middle iframe source. Is there any way to make a link in the left iframe to change both the middle and right iframe source ??

Hope someone are willing to help me and i would be very grateful ?

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@Mr_JDec 22.2004 — Please try the following

<a href="page1.htm" target="middle" onclick="parent.right.location='page2.htm'">Link</a>
Copy linkTweet thisAlerts:
@PettorauthorDec 22.2004 — Wow !!!

Thanks A LOT !!! ?
Copy linkTweet thisAlerts:
@EwokDec 22.2004 — The Framset

<html>

<frameset cols="75%,*" frameborder="1">

<frame src="leftFrame.htm">

<frameset rows="50%,*
" frameborder="1">

<frame name="upper" src="upperFrame.htm">

<frame name="lower" src="lowerFrame.htm">

</frameset>

</frameset><noframes></noframes>

</html>



Page leftFrame.htm

<html>

<head>

<script type="text/javascript">

function changeFrames(){

parent.upperframe.location.href="upperframe2.htm"

parent.lowerframe.location.href="lowerframe2.htm"

}// end Funct

</script>

</head>

<body>

<form>

<input type="button" onClick="changeFrames()" value="Change Both Frames" style="font-family:verdana; font-size:16px; color:#000000; background-color:#e1ffff; font-weight:bold;">

</form>

or

<a href="#" onClick="changeFrames()">Change Both Frames</a>

</body>

</html>
×

Success!

Help @Pettor 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 7.24,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ,
analytics: Fullres
});

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: Anonymous,
tipped: article
amount: 1000 SATS,

tipper: Anonymous,
tipped: article
amount: 1000 SATS,

tipper: @Nanditha,
tipped: article
amount: 1000 SATS,
)...