SCROLL_FRAMES.HTML:<html><head>
<title>Scroll Frames</title>
</head><frameset cols="50%,*">
  <frame name="contents" target="main" src="left_frame.htm">
  <frame name="main" src="right_frame.htm">
</frameset></html>RIGHT_FRAME.HTML:<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Right Frame</title>
<script type="text/javascript">
var bSelfScroll = true;function doScroll()
{
if(bSelfScroll)
{
top.frames[1].bSelfScroll = false;
top.frames[0].scrollTo(document.body.scrollLeft, document.body.scrollTop);
}
else
bSelfScroll = true;
}
</script>
<base target="_self">
</head><body onscroll="doScroll()"><h1>onscroll Event</h1>
<!-- Your web contents -->
</body></html>LEFT_FRAME.HTML:<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Right Frame</title>
<script type="text/javascript">
var bSelfScroll = true;function doScroll()
{
if(bSelfScroll)
{
top.frames[1].bSelfScroll = false;
top.frames[0].scrollTo(document.body.scrollLeft, document.body.scrollTop);
}
else
bSelfScroll = true;
}
</script>
</head><body onscroll="doScroll()"><h1>onscroll Event</h1>
<!-- Your web contents -->
</body></html>