Hi Philip,
For future reference, Java and JavaScript are 2 different technologies. Java
is a programming technology for writing executable code. JavaScript is
scripting technology for writing text scripts that can be interpreted by a
browser or some other scripting client.
Changing the location of 2 frames at once is fairly simple:
<script type="text/javascript"><!--
function changeTwo() {
parent.framename1.location = "someurl";
parent.framename2.location = "someotherurl";
}
// --></script>
<a href="javascript:changeTwo()">Click this link</a>
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
Philip said:
I am using a javascript and am including a link to a page with frames. It
is necessary for me to link it to a side frame (the navagation frame) and to
the main page (in another frame). Is this possible? I know how to do it in
HTML but not Java. I have tried a few things but it interupts my code.
Please help me out. Thanks!