The moose likes HTML, CSS and JavaScript and the fly likes manipulating frames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "manipulating frames" Watch "manipulating frames" New topic

manipulating frames

naveen rajan

Joined: Jul 31, 2001
Posts: 5
on click of a link in one frame how do i change the contents the same frame and a different frame at one time.
Brian Glodde
Ranch Hand

Joined: Jun 27, 2001
Posts: 171
You could use javascript to load both frames:
<script language="JavaScript" type="text/javascript">
function load(url1, url2)
Then call it like this:
<a href="javascript:void(0);" onclick="load('somepage.htm','someotherpage.htm');">do now</a>
Frames can also be referred to ordinally.
Hopefully that will help to solve the problem.
I agree. Here's the link:
subject: manipulating frames
It's not a secret anymore!