Please can someone give me a clue as to why the sub-menu on the left side of the page built by the code below does not scroll its position in Firefox 3.6.10 or Camino 2.0.4 on Mac OS X 10.6.4? When the window is made shorter than the centre frame and a vertical scroll bar appears the sub-menu disappears off the top when the page is scrolled down.
With Safari 5.0.2, Opera 10.63 and OmniWeb 5.10.1 it works as I expect. I am using milonic_src.js 5.831, mmenudom.js 5.831, and mm_navframe.js 2.3.
There are 4 files here index.html, top.html, lft.html and ctr.html.
William
index.html
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>IBRM</title>
</head>
<frameset rows="60,*" frameborder="0" border="0" framespacing="0">
<frame src="top.html" noresize scrolling="no" name="top">
<frameset cols="116,*" frameborder="0" border="0" framespacing="0">
<frame src="lft.html" noresize scrolling="no" name="lft">
<frame name="ctr" src="ctr.html">
</frameset>
<noframes>
<body>
<p>This application requires frames in the browser.</p>
</body>
</noframes>
</frameset>
</html>
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Top</title>
</head>
<body>
</body>
</html>
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="milonic_src.js" type="text/javascript"></script>
<script src="mmenudom.js" type="text/javascript"></script>
<script src="mm_navframe.js" type="text/javascript"></script>
<script src="menu_data.js" type="text/javascript"></script>
<script type="text/javascript">
_subOffsetLeft=-10;
_subOffsetTop=0;
_menuCloseDelay=0;
_menuOpenDelay=0;
with(milonic=new menuname("10")){
alwaysvisible=1;
orientation="vertical";
style=verticalMenu;
left=14;
top=0;
aI("text=Side 1;showmenu=13;target=ctr;onfunction=openSubmenu();offfunction=closeSubmenu();");
}
drawMenus();
</script>
<title>Left</title>
</head>
<body>
</body>
</html>
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Centre</title>
<script src="milonic_src.js" type="text/javascript"></script>
<script src="mmenudom.js" type="text/javascript"></script>
<script src="menu_data.js" type="text/javascript"></script>
<script type="text/javascript">
_menuCloseDelay=500;
_menuOpenDelay=0;
with(milonic=new menuname("13")){
left=-10;
style=verticalMenu;
aI("url=`link.html`;text=`SubMenu`;");
}
drawMenus();
</script>
</head>
<body>
<div id="Application" style="border : 2px solid #a9c4d9;min-height: 450px;width 780px;">
</div>
</body>
</html>