I'm having a problem with rollover highlighting. When I 'mouse out' the menu items aren't going back to their origfinal colors and I can't figure out why.
I've been using the milonic menu quite some time now, and I've just downloaded the newest version. I'm trying to change the design of my site slightly and I want to have the main menu shown in a header frame, and have the sub menus shown horizontally in the 'body' frame. It's in this transistion that the problem is coming up. I haven't gotten so far as to update the submenus in the 'body' pages yet. When I preview the 'header' I get the highlighting problem.
Here is my frameset code.
Code: Select all
<html>
<head>
<title>test</title>
</head>
<!-- FRAME DEFINITION -->
<frameset cols="*,715,*" frameborder="0" framespacing="0">
<frame name='left' src='html/side.htm' target='main' scrolling='no'>
<frameset rows="150, *, 24" border="0" frameborder="0">
<frame name="header" scrolling="no" noresize target="main" src="html/header.htm">
<frame name="primary" src="html/mainpage.htm" marginwidth="0" marginheight="0" target="_self">
<frame name="footer" src="aps/mainfoot.asp" marginwidth="0" marginheight="0" target="primary" scrolling="no">
</frameset>
<frame name='Right' src='html/side.htm' target='main' scrolling="no">
</frameset>
</html>
Code: Select all
<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>USBC Offical Website</title>
<base target="main">
<style type='text/css'>
IMG
{
Position: relative;
top: 3;
}
</style>
<SCRIPT language=JavaScript src="../script/milonic/milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=../script/milonic/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=../script/milonic/mmenudom.js><\/scr"+"ipt>");
</script>
</head>
<body bgcolor="beige">
<table cellspacing="0" width="715" border="0">
<tr>
<td align="center" bgcolor="navy" height="60">
-->
<img src="../art/head.jpg" />
</td>
</tr>
<tr>
<td align="center">
<script language=JavaScript>
if(!ns4)_d.write("<scr"+"ipt language=JavaScript src=../script/milonic/menu_data_header.js><\/scr"+"ipt>");
</script>
</td>
</tr>
<tr>
<td bgcolor="#000080" height="4">
</td>
</tr>
</table>
</body>
</html>
Here is my menu_data_header.js
Code: Select all
_menuCloseDelay=150
_menuOpenDelay=150
_followSpeed=5
_followRate=50
_subOffsetTop=3
_subOffsetLeft=-10
_scrollAmount=3
_scrollDelay=20
with(menuStyle=new mm_style()){
offbgcolor="#F5F5DC";
offcolor="#000080";
onbgcolor="#20B2AA";
oncolor="#FFFF00";
bordercolor="#000080";
borderstyle="solid";
borderwidth="0";
separatorcolor="#000080";
separatorsize="1";
padding="6";
fontsize="70%";
fontweight="bolder";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="beige";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
overfilter="Fade(duration=0.3);Alpha(opacity=90);Shadow(color='#20B2AA', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
subimage="../art/menuback.gif";
}
with(milonic=new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
overfilter="";
position="relative";
aI("text=Home;showmenu=Home;url=somelink.htm;target=primary;status=USBC HomePage;onfunction=openSubmenu();offfunction=closeSubmenu();");
aI("text=Links;url=somehost/html/links.htm;target=primary;status=USBC Links;");
aI("text=Information;showmenu=Courtsub;target=primary;status=Law and Resources;onfunction=openSubmenu();offfunction=closeSubmenu();");
aI("text=Filing<br />Information;showmenu=Filingsub;target=primary;status=Resources for those needing to do buisiness with the Court;onfunction=openSubmenu();offfunction=closeSubmenu();");
aI("text=Divisional<br />Offices;showmenu=Divisions;target=primary;status=Inforamtion for each Divisional office with Maps;onfunction=openSubmenu();offfunction=closeSubmenu();");
aI("text=Judges'<br />Chambers;showmenu=Judges;target=primary;status=Contact information for Judges;onfunction=openSubmenu();offfunction=closeSubmenu();");
aI("text=Hearings;showmenu=Hearings;target=primary;status=Hearings Calendars;onfunction=openSubmenu();offfunction=closeSubmenu();");
}
drawMenus();
(great product by the way)