problem with submenu,items holds foreground color

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
kazim
Beginner
Beginner
Posts: 2
Joined: Fri Jul 08, 2005 7:03 am
Location: hyderabad
Contact:

problem with submenu,items holds foreground color

Post by kazim »

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: Select all

iam getting the titles from database but the main problem is with the color
<%@ include file="SessionChecking.jsp" %>
                                                                                                                                                                                                         
<%@ 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>
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
Post Reply