Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:38
problem with submenu,items holds foreground color
Poster: kazim
Dated: Friday July 8 2005 - 7:44:36 BST
main menu working properly
submenu items show the foreground color when i move mouse on them and they keep continue with the color even i remove the mouse pointer
Code:
iam getting the titles from database but the main problem is with the color
<% __at__ include file="SessionChecking.jsp" %>
<% __at__ page import="java.util.*" buffer="none"%>
<script type="text/javascript" src="/JNTUEXAMBRANCH/js/thirdparty/milonic/milonic_src.js"></script>
<%
//Getting the Session of the Context.
HttpSession sess = request.getSession();
ArrayList services = (ArrayList) sess.getAttribute("services"); //Getting the Services in the Session.
// System.out.println("services menu.jsp: "+services);
String userid = (String)sess.getAttribute("userid");
System.out.println("Userid menu.jsp: "+userid);
userid=userid.toUpperCase();
%>
<script type="text/javascript">
// Checking the Browser Type and including the required JavaScript file.
if(ns4)_d.write("<script language=JavaScript src='/JNTUEXAMBRANCH/js/thirdparty/milonic/mmenuns4.js'><\/script>");
else _d.write("<script language=JavaScript src='/JNTUEXAMBRANCH/js/thirdparty/milonic/mmenudom.js'><\/script>");
</script>
<script>
_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150 // The time delay before menus open on mouse over
_followSpeed=5 // Follow scrolling speed
_followRate=40 // Follow scrolling Rate
_subOffsetTop=10 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset
_scrollAmount=3 // Only needed for Netscape 4.x
_scrollDelay=20 // Only needed for Netcsape 4.x
with(menuStyle=new mm_style())
{
onbgcolor="cornsilk";
oncolor="#660000";
offbgcolor="#99ccff";
offcolor="black";
bordercolor="#660000";
borderstyle="solid";
borderwidth=2;
separatorcolor="#660000";
separatorsize="2";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#99ccff";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="/JNTUEXAMBRANCH/js/thirdparty/milonic/downarrow.GIF";
subimagepadding="3";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
bordercolor="#999999";
}
// Logic For Building the Main Menu.
</script>
<% __at__ include file="SessionChecking.jsp" %>
<% __at__ page import="java.util.*" buffer="none"%>
<script type="text/javascript" src="/JNTUEXAMBRANCH/js/thirdparty/milonic/milonic_src.js"></script>
<%
//Getting the Session of the Context.
HttpSession sess = request.getSession();
ArrayList services = (ArrayList) sess.getAttribute("services"); //Getting the Services in the Session.
// System.out.println("services menu.jsp: "+services);
String userid = (String)sess.getAttribute("userid");
System.out.println("Userid menu.jsp: "+userid);
userid=userid.toUpperCase();
%>
<script type="text/javascript">
// Checking the Browser Type and including the required JavaScript file.
if(ns4)_d.write("<script language=JavaScript src='/JNTUEXAMBRANCH/js/thirdparty/milonic/mmenuns4.js'><\/script>");
else _d.write("<script language=JavaScript src='/JNTUEXAMBRANCH/js/thirdparty/milonic/mmenudom.js'><\/script>");
</script>
<script>
_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150 // The time delay before menus open on mouse over
_followSpeed=5 // Follow scrolling speed
_followRate=40 // Follow scrolling Rate
_subOffsetTop=10 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset
_scrollAmount=3 // Only needed for Netscape 4.x
_scrollDelay=20 // Only needed for Netcsape 4.x
with(menuStyle=new mm_style())
{
onbgcolor="cornsilk";
oncolor="#660000";
offbgcolor="#99ccff";
offcolor="black";
bordercolor="#660000";
borderstyle="solid";
borderwidth=2;
separatorcolor="#660000";
separatorsize="2";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#99ccff";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="/JNTUEXAMBRANCH/js/thirdparty/milonic/downarrow.GIF";
subimagepadding="3";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
bordercolor="#999999";
}
// Logic For Building the Main Menu.
</script>
Poster: Ruth
Dated: Monday July 11 2005 - 2:56:38 BST
Hi,
Could you post a url so we can see what's going on?
I removed all the code you had, that seemed to be the Milonic programming code and there's no reason to post that, there is nothing in that which would be changed by any of us. We also need to know what version of the menu you are using, that can be found in any of the programming files, they should have the version number.
But the easy way to help is to see your page.
Ruth