Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:10

Main Menu Not displaying correctlty in firefox


Poster: cbackstrom
Dated: Friday March 17 2006 - 21:47:50 GMT

I am having a vertical offset issue.

I havv my menu embedded within a cell. I have gone through the relevant tutorials to do this.

Problem: The menu shows up about the table and does not lineup correctly.

The code for my page is below.

Code:
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="images/assets/bg_grey.jpg">
<script type="text/javascript" src="inc/milonic_src.js"></script>

<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=inc/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=inc/mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" >
_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_subOffsetTop=0              // Sub menu top offset
_subOffsetLeft=1            // Sub menu left offset




with(menuStyle=new mm_style()){
//OffsetTop=1;

bordercolor="#003366";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#ffffff";
offbgcolor="#003366";
offcolor="#ffffff";
onbgcolor="#666666";
oncolor="#cccccc";
//outfilter="randomdissolve(duration=0.1)";
overfilter="Alpha(opacity=85);";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#999999";
separatorsize=1;
subimage="inc/arrow.gif";
subimagepadding=0;
}



with(milonic=new menuname("Solutions")){
overflow="scroll";
style=menuStyle;
aI("showmenu=inf;text=Infrastructure;url=http://www.rightsys.com/infrastructure.php;")
aI("showmenu=ipcom;text=IP Communications;url=ipcomm.php;")
aI("text=Security;url=http://www.rightsys.com/security.php;")
aI("text=Storage;url=storage.php;")
aI("text=IT Assist;url=itassist.php;")
aI("text=Wireless;url=wireless.php;")
aI("text=Virtualization;url=virtualization.php;")
}

with(milonic=new menuname("Support")){
style=menuStyle;

aI("text=RSISupport.com;url=http://connectwise.rightsys.com/v4_6_release/services/
service_io/Portal/index.htm?newuser;");

}

with(milonic=new menuname("Company")){
style=menuStyle;
aI("text=Events;url=events1.php;");
aI("text=About RSI      &nbsp;&nbsp;  ;url=http://www.rightsys.com/company.php;");
aI("text=Fast Facts;url=http://www.rightsys.com/fast.php;");
aI("text=Contact;url=http://www.rightsys.com/contact.php;");

aI("text=Case Studies;url=http://www.rightsys.com/casestudies.php;");
}

with(milonic=new menuname("Links")){
style=menuStyle;
aI("status=Apache Web Server, the basis of Milonic's Web Site;text=Apache Web Server;url=http://www.apache.org/;");
aI("status=MySQL, Milonic's Prefered Choice of Database Server;text=MySQL Database Server;url=http://ww.mysql.com/;");
aI("status=PHP - Web Server Scripting as used by Milonic;text=PHP - Development;url=http://www.php.net/;");
aI("status=PHP Based Web Forum, Milonic's Recommended Forum Software;text=phpBB Web Forum System;url=http://www.phpbb.net/;");
aI("showmenu=Anti Spam;status=Anti Spam Solutions, as used by Milonic;text=Anti Spam Tools;");
}

with(milonic=new menuname("Anti Spam")){
style=menuStyle;
aI("text=Spam Cop;url=http://www.spamcop.net/;");
aI("text=Mime Defang;url=http://www.mimedefang.org/;");
aI("text=Spam Assassin;url=http://www.spamassassin.org/;");
}

with(milonic=new menuname("MyMilonic")){
style=menuStyle;
aI("text=Login;url=http://www.milonic.com/login.php;");
aI("text=Licenses;url=http://www.milonic.com/mylicenses.php;");
aI("text=Invoices;url=http://www.milonic.com/myinvoices.php;");
aI("text=Make Support Request;url=http://www.milonic.com/reqsupport.php;");
aI("text=View Support Requests;url=http://www.milonic.com/mysupport.php;");
aI("text=Your Details;url=http://www.milonic.com/mydetails.php;");
}

with(milonic=new menuname("ipcom")){
style=menuStyle;
aI("text=VoIP;url=ipcomm.php?id=1;");
aI("text=Unified Messaging;url=ipcomm.php?id=2;");
aI("text=Video Telephony;url=ipcomm.php?id=3;");
}

with(milonic=new menuname("inf")){
style=menuStyle;
aI("text=Access Solutions;url=http://www.rightsys.com/infrastructure.php?id=1;");
aI("text=Network Solutions;url=http://www.rightsys.com/infrastructure.php?id=2;");
aI("text=Systems Solutions;url=http://www.rightsys.com/infrastructure.php?id=3;");
aI("text=Data Center / Facilities;url=http://www.rightsys.com/infrastructure.php?id=4;");
}

with(milonic=new menuname("managed")){
style=menuStyle;
aI("text=Networking Services;url=managed.php?id=1;");
aI("text=Voice Services;url=managed.php?id=2;");
aI("text=Security;url=managed.php?id=3;");
aI("text=Procurement;url=managed.php?id=5;");
aI("text=Integration;url=managed.php?id=6;");
aI("text=IT Staffing;url=managed.php?id=7;");
}









drawMenus();
</script>

<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><div align="center">
      <table width="810"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>&nbsp;</td>
          <td>
      
<!-- ===========[ BEGIN TOP TABLE ]============= -->
        <table width="800"  border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td>          
           <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="2%"><a href="index.php"><img src="images/
top_logo.jpg" alt="Home" width="107" height="76" border="0"></a></td>
                    <td width="98%" valign="middle"><div align="right">
                        <table width="100%"  border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td valign="bottom"><div align="right">
                              <p><font color="#666666" size="1"><?php echo date("l, F jS,  Y "); ?><img src="images/assets/shim.gif" width="15" height="70"></font></p>
                            </div></td>
                          </tr>
                        </table>
                        </div></td>
                  </tr>
              </table></td>
            </tr>
          </table>
<!-- =========[ END TOP TABLE ]======== -->
        </td>
          <td>&nbsp;</td>
        </tr>
<!-- ==========[ BEGIN LINKS TABLE ]========== -->
        <tr>
          <td width="5">&nbsp;</td>
          <td width="634" valign="top"><table width="100%"  border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td width="634" valign="top">
                <table width="634"  border="0" cellpadding="0" cellspacing="0">
<!-- ==============[ END LINKS TABLE ]=========== -->
            
  <tr>
  <center><table width="800" height="23" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="20" bgcolor="003366" align="left" width="777">
   <SCRIPT type="text/javascript">
   with(milonic=new menuname("Main Menu")){
   alwaysvisible=1;

orientation="horizontal";
style=menuStyle;
top=77;

    aI("status=Back To Home Page;image=images/assets/house.gif;url=http://www.rightsys.com;");
   aI("status=Back To Home Page;text=Home;url=http://www.rightsys.com;");
   aI("status=Customer Login;text=Login;url=http://citrix.rightsys.com");
   aI("status=View RSI Partners;text=Partners;url=http://www.rightsys.com/partners.php");
    aI("showmenu=Solutions;text=Solutions;url=isolutions.php");
    aI("showmenu=Support;text=Support;url=support.php");
   aI("showmenu=Company;text=Company;url=company.php");
   aI("status=Government;text=Government;url=http://www.rightsys.com/government.php");
     aI("status=Contact Us;text=Contact Us;url=http://www.rightsys.com/contact.php");
}
drawMenus();</script>   </td>
////////////////////////////////////////////


Any help would be greatly appreciated!!!

Thanks,

Curtis


Poster: Migru
Dated: Saturday March 18 2006 - 0:38:13 GMT

Hi

you can remove
top=77;
as it is in a table, relative positioned.
Syntax: Some semicolon are missing, but this is usually not really causing problems. Example: ....php;");

CanĀ“t you provide a url ? Its allways better when we can see it.
Any css settings ?
Is it FF 1.5 or FF 1.02 ?

Michael


Poster: Ruth
Dated: Sunday March 19 2006 - 22:49:20 GMT

Hi,

You said you had it in a table, but that requires having position="relative"; in the main menu. As Michael noted, remove the top=77 it's in a table and relatively positioned, so that will do nothing, except in some browsers maybe confuse them.

Ruth