Update two Frames at once
This script will update two frames from one link. If the browser doesn't support javascript the link will still load but without the extra frame being updated.
<html>
<head>
<title></title>
<script language="javascript">
<!--
// Script: Update Two Frames
// Version: 1.1
// Last Updated: July 19th 1998
// Author: Scott Brady
// Org: HotSource HTML Help
// Email: webmaster at sbrady dot com
// Website: http://www.sbrady.com/
function frmUpdate(page){
top.FrameName.location=page;
}
// -->
</script>
</head>
<body>
<p><a href="main.html" onClick="frmUpdate('top.html');" target="main">Go to Main page</a><br>
<a href="page2.html" onClick="frmUpdate('top2.html');" target="main">Go to page Two</a><br>
<a href="page3.html" onClick="frmUpdate('top3.html');" target="main">Go to page Three</a>
etc...
Notes:
- Replace [FrameName] with the name of the frame to update.
- You will need to put this code where your links are (e.g. a left hand side navigation).
- To ensure the code is copied correctly, please click here
