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

IE vs Firefox


Poster: ssegura
Dated: Tuesday October 23 2007 - 19:41:20 BST

Ruth,

We have been using the milonic menu on our website for some time now. It has been working great but find some discrepancies on how the menu renders in IE vs Firefox. This is mainly a Firefox issue as I do not see this issue with IE.

On our web site below, select the Energy category and then "Electric Power" from the drop down. In Firefox the menu does not open all the way. The subcategory Electric Power opens as well as the submenus below. However, there is a subcategory menu "Electric Transmission" at the same level as Electric Power that does not open. On my window I can see some gray background but not the text. Refreshing corrects the issue. This seems to work the same for all categories on the initial rendering of the page. Would you have any ideas on what I can look at to correct this issue. Thanks in advance for you assistance.

Steve

http://www.lcra.org/

Was trying to upload a .js or .txt file but was told the extension was not allowed. Have added the menu_data.js code I used below.



Code:
_scrollAmount=5      // Used for Netscape 4 scrolling
_scrollDelay=10        // Used for Netscape 4 scrolling

_menuCloseDelay=500  // The delay for menus to remain visible on mouse off
_menuOpenDelay=150   // The delay for opening menus on mouse over
_subOffsetTop=0;     // Sub menu offset Top position
_subOffsetLeft=0;  // Sub menu offset Left position

Goverfilter="Alpha(style=1,opacity=25,finishOpacity=100,startX=0,finishX=100,startY=100,finishY=0);Fade(duration=0.2);Shadow(color='#777777', Direction=135, Strength=5)"
Goverfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)"
Goutfilter="randomdissolve(duration=0.3)"
Goutfilter=""
Goverfilter=""

AllMargin=0

treeOffset=0;  // Used to set the offset of sub menus
singleMasterMenu=true // Informs the system to only have one menu open at a time


//  Begin styles for header navigation
with(tstyle=new mm_style()){
offcolor = "#ffffff";     //  Font color for header navigation
fontweight = "bold";      // 
onbgcolor = "#f0f0f0";
oncolor = "#550016";   //  Maroon roll-over color for header drop-down
offbgcolor="#2b4560";     //  Blue category color
//ondecoration="underline";
borderstyle = "solid";
pagebgcolor = "#cccccc";
pagecolor = "#550016";
//pagebgcolor = "#cccccc";
padding = 2;
fontsize = "10px";
fontfamily = "Verdana, Geneva, Arial, Helvetica, sans-serif";   
//subimageposition="top left" ;
}

subStyle=new copyOf(tstyle)
subStyle.offcolor = "#185665";  //  Green color text for header drop-down
subStyle.fontweight = "normal";
subStyle.onbgcolor="#550016";
subStyle.oncolor="#ffffff";
subStyle.offbgcolor="#ffffff";  //  White background color for header drop-down
subStyle.pagebgcolor="#ffffff";
subStyle.pagecolor="#550016";
//subStyle.separatorcolor="#ffffff";

//tstyle.clickbgcolor="#cccccc";
//tstyle.pagecolor="#550016";   //  Color of header nav link to show which page is selected


//  *************************  Begin styles for left navigation  ************************************
with(tstyle1=new mm_style()){
offcolor = "#2b4560";   //  Blue color for left nav text links
fontweight = "bold";    //  Font style property of left nav
onbgcolor = "#f0f0f0";  //  Rollover background color of left nav
//oncolor = "#2b4560";   //  Rollover blue color of left nav links
offbgcolor="#cccccc";   //  Gray category background color
ondecoration="underline";
//pagebgcolor = "#cccccc";
pagecolor = "#550016";
borderstyle = "solid";
subimage="/library/media/public/images/general/arrow_nav_t.gif";
onsubimage="/library/media/public/images/general/arrow_nav_down_t.gif";
//bordercolor="";
//borderwidth=0;
padding = 2;
fontsize = "10px";
fontfamily = "Verdana, Geneva, Arial, Helvetica, sans-serif";   
subimageposition="top left" ;
separatorsize=1;
separatorcolor="#ffffff";
//subimagepadding=0;
//imagepadding=0;
itemwidth="131";
}

sub1Style=new copyOf(tstyle1)
sub1Style.offcolor = "#cccccc";    // Darkest shade of background color
sub1Style.fontweight = "bold";
//sub1Style.onbgcolor="#f0f0f0";     // Lightest shade of background color
//sub1Style.offbgcolor="#E9EFF0";
sub1Style.separatorcolor="#ffffff";
//sub1Style.pagecolor="#550016";
//sub2Style.pagebgcolor="#B5C7CB";  // Middle shade of background color

with(tstyle2=new mm_style()){
offcolor = "#2b4560";   //  Blue color for left nav text links
fontweight = "normal";    //  Font style property of left nav
onbgcolor = "#f0f0f0";  //  Rollover background color of left nav
//oncolor = "#2b4560";   //  Rollover blue color of left nav links
offbgcolor="#ffffff";   //  Gray category background color
ondecoration="underline";
//pagebgcolor = "#ffffff";
pagecolor = "#550016";
borderstyle = "solid";
subimage="/library/media/public/images/general/arrow_nav_t_level2.gif";
onsubimage="/library/media/public/images/general/arrow_nav_down_t_level2.gif";
//bordercolor="";
//borderwidth=0;
padding = 2;
fontsize = "10px";
fontfamily = "Verdana, Geneva, Arial, Helvetica, sans-serif";   
subimageposition="top left" ;
separatorsize=1;
separatorcolor="#ffffff";
//subimagepadding=0;
//imagepadding=0;
itemwidth="131";
}

sub2Style=new copyOf(tstyle2)
sub2Style.offcolor = "#2b4560";    // Darkest shade of background color
sub2Style.fontweight = "normal";
//sub1Style.onbgcolor="#f0f0f0";     // Lightest shade of background color
//sub1Style.offbgcolor="#E9EFF0";
sub2Style.separatorcolor="#ffffff";
//sub1Style.pagecolor="#550016";
//sub2Style.pagebgcolor="#B5C7CB";  // Middle shade of background color

with(tstyle3=new mm_style()){
offcolor = "#2b4560";   //  Blue color for left nav text links
fontweight = "normal";    //  Font style property of left nav
onbgcolor = "#f0f0f0";  //  Rollover background color of left nav
//oncolor = "#2b4560";   //  Rollover blue color of left nav links
offbgcolor="#ffffff";   //  Gray category background color
ondecoration="underline";
//pagebgcolor = "#ffffff";
pagecolor = "#550016";
borderstyle = "solid";
subimage="/library/media/public/images/general/arrow_nav_t_level3.gif";
onsubimage="/library/media/public/images/general/arrow_nav_down_t_level3.gif";
//bordercolor="";
//borderwidth=0;
padding = 2;
fontsize = "10px";
fontfamily = "Verdana, Geneva, Arial, Helvetica, sans-serif";   
subimageposition="top left" ;
separatorsize=1;
separatorcolor="#ffffff";
//subimagepadding=0;
//imagepadding=0;
itemwidth="131";
}

sub3Style=new copyOf(tstyle3)
sub3Style.offcolor = "#2b4560";    // Darkest shade of background color
sub3Style.fontweight = "normal";
//sub1Style.onbgcolor="#f0f0f0";     // Lightest shade of background color
//sub1Style.offbgcolor="#E9EFF0";
sub3Style.separatorcolor="#ffffff";
sub3Style.pagecolor="#550016";
//sub3Style.pagebgcolor="#B5C7CB";

with(tstyle4=new mm_style()){
offcolor = "#2b4560";   //  Blue color for left nav text links
fontweight = "normal";    //  Font style property of left nav
onbgcolor = "#f0f0f0";  //  Rollover background color of left nav
//oncolor = "#2b4560";   //  Rollover blue color of left nav links
offbgcolor="#ffffff";   //  Gray category background color
ondecoration="underline";
//pagebgcolor = "#ffffff";
pagecolor = "#550016";
borderstyle = "solid";
subimage="/library/media/public/images/general/arrow_nav_t_level4.gif";
onsubimage="/library/media/public/images/general/arrow_nav_down_t_level4.gif";
//bordercolor="";
//borderwidth=0;
padding = 2;
fontsize = "10px";
fontfamily = "Verdana, Geneva, Arial, Helvetica, sans-serif";   
subimageposition="top left" ;
separatorsize=1;
separatorcolor="#ffffff";
//subimagepadding=0;
//imagepadding=0;
itemwidth="131";
}

sub4Style=new copyOf(tstyle4)
sub4Style.offcolor = "#2b4560";    // Darkest shade of background color
sub4Style.fontweight = "normal";
//sub1Style.onbgcolor="#f0f0f0";     // Lightest shade of background color
//sub1Style.offbgcolor="#E9EFF0";
sub4Style.separatorcolor="#ffffff";
sub4Style.pagecolor="#550016";
//sub3Style.pagebgcolor="#B5C7CB";

//tstyle1.clickbgcolor="#550016";
//tstyle1.pagecolor="#550016";   //  Color of left nav link to show which page is selected
//tstyle2.clickbgcolor="#B5C7CB";
//tstyle2.pagecolor="#550016";   //  Color of left nav link to show which page is selected
//tstyle3.clickbgcolor="#B5C7CB";
//tstyle3.pagecolor="#550016";   //  Color of left nav link to show which page is selected


// *******************************  Begin Header Navigation  *********************************

//  Electric Power section
with(new menuname("2D71FF44E40948EAE04012ACA90C6B86header")){
style = subStyle;
aI("text=Wholesale Customers;url=/energy/power/wholesale_customers/index.html;showmenu=2D7303B24B04086BE04012ACA90C6B8Bheader;");
aI("text=Facilities;url=/energy/power/facilities/index.html;showmenu=2D7336C062ACA26EE04012ACA90C6B8Dheader;");
aI("text=Renewable Energy;url=/energy/power/renewable_energy/index.html;showmenu=2D736FDCF3D41B09E04012ACA90C72FFheader;");
aI("text=Air Quality;url=/energy/power/air_quality/index.html;showmenu=2DC4B78EA6D80BF4E04012AC51EC2499header;");
aI("text=Energy Deregulation;url=/energy/power/deregulation/index.html;showmenu=2DC9BD2750B5D45CE04012AC51EC77C1header;");
}

         // Electric Power - Wholesale Customers submenu
         with(new menuname("2D7303B24B04086BE04012ACA90C6B8Bheader")){
         style = subStyle;
         margin=AllMargin
         aI("url=/cobranding/;target=blank;");
         }
   
   
         // Facilities submenu
         with(new menuname("2D7336C062ACA26EE04012ACA90C6B8Dheader")){
         style = subStyle;
         margin=AllMargin
         aI("url=/energy/power/facilities/fayette.html;");
         aI("url=/energy/power/facilities/scrubber.html;");
         aI("url=/energy/power/facilities/simgideon.html;");
         aI("url=/energy/power/facilities/ferguson.html;");
         aI("url=/energy/power/facilities/lostpines/index.html;");
         aI("url=/energy/power/facilities/hilbig.html;");
         aI("url=/energy/power/facilities/smithville.html;");
         aI("url=/energy/power/facilities/lostpines/gentex.html;");
         }
         
         // Renewable Energy submenu
         with(new menuname("2D736FDCF3D41B09E04012ACA90C72FFheader")){
         style = subStyle;
         margin=AllMargin
         aI("url=/energy/power/renewable_energy/hydroelectric.html;");
         aI("url=/energy/power/renewable_energy/windpower.html;");
         }
   
         // Air Quality submenu
         with(new menuname("2DC4B78EA6D80BF4E04012AC51EC2499header")){
         style = subStyle;
         margin=AllMargin
         aI("url=/energy/power/air_quality/righttoknow.html;");
         aI("url=/energy/power/air_quality/toxic_release_inventory.html;");
         aI("url=/energy/power/air_quality/lostpines_report.html;");   
         }
   
         // Energy Deregulation submenu
         with(new menuname("2DC9BD2750B5D45CE04012AC51EC77C1header")){
         style = subStyle;
         margin=AllMargin
         aI("url=/energy/power/deregulation/dereg_faq.html;");
         }
               
//  End Electric Power
         
//  Electric Transmission section
with(new menuname("2DB1158436CC218BE04012ACA90C5377header")){
style = subStyle;
aI("text=Transmission Line Routing;url=/energy/trans/line_routing/index.html;showmenu=2DAFB1C295117578E04012ACA90C514Cheader;");
aI("text=Line Maintenance;url=/energy/trans/line_maintenance.html;showmenu=2DB17363DDE9108DE04012ACA90C79A8header;");
aI("text=Transmission System Map;url=/energy/trans/trans_system_map.html;showmenu=2DB58EB21ECA0033E04012AC51EC1320header;");
aI("text=Employee Transfers;url=/energy/trans/employee_transfers.html;showmenu=2DB5C935864F9C6DE04012AC50EC6BDEheader;");
}

      //  Electric Transmission - Transmission Line Routing submenu
      with(new menuname("2DAFB1C295117578E04012ACA90C514Cheader")){
      style = subStyle;
      margin=AllMargin
      aI("url=/energy/trans/line_routing/project_list/index.html;");
      aI("url=/energy/trans/line_routing/easements_construction.html;");
      }
      
            // Electric Transmission - Project List submenu
            with(new menuname("2DAFB1C295117578E04012ACA90C514Cheader")){
            style=subStyle;
            aI("url=/energy/trans/line_routing/project_list/transmission_rim_rock.html;");
            aI("url=/energy/trans/line_routing/project_list/transmission_newbraunfels2seguin.html;");
            aI("url=/energy/trans/line_routing/project_list/transmission_friendship2manchaca.html;");
            aI("url=/energy/trans/line_routing/project_list/transcs.html;");
            aI("url=/energy/trans/line_routing/project_list/transmission_medina.html;");
            }   

//  Energy Services section
with(new menuname("2DC4DB3BF538CC20E04012AC50EC6B11header")){
style = subStyle;
aI("text=Utility Services;url=/energy/services/utility.html;");
aI("text=Electric Services;url=/energy/services/electric_services.html");
aI("text=Protective Equipment Testing;url=/energy/services/pet.html");
aI("text=Emissions Testing;url=/energy/services/fleet.html");
aI("text=Fleet Services;url=/energy/services/fleet.html;");
aI("text=Panel Fabrication;url=/energy/services/panel.html");
}

//  Energy Education and Safety section
with(new menuname("2DCA20953AF7B6D6E04012AC51EC2F68header")){
style = subStyle;
aI("text=Safety;url=/energy/education_safety/safety/index.html;showmenu=2DCA22A2A2471892E04012AC51EC2F9Eheader;");
   aI("text=How Does Electricity Get to Your Home?;url=/energy/education_safety/getpower.html;showmenu=2EE0E7EE774D0BC1E04012AC50EC481Dheader;");
   aI("text=PowerHouse;url=/energy/education_safety/powerhouse.html;showmenu=2DC4DB3BF54ECC20E04012AC50EC6B11header;");
   aI("text=Conservation;url=/energy/education_safety/conservation.html;showmenu=2DCA22A2A2031892E04012AC51EC2F9Eheader;");
}

         //  Energy Education & Services - Safety submenu
         with(new menuname("2DCA22A2A2471892E04012AC51EC2F9Eheader")){
         style = subStyle;
         aI("url=/energy/education_safety/safety/electric_fields.html;");
         }

         //  Conservation submenu
         with(new menuname("2DCA22A2A2031892E04012AC51EC2F9Eheader")){
         style = subStyle;
         aI("url=/energy/education_safety/conservation_spring.html;");
         }


// *******************************  Begin Left Navigation  *********************************
//with(new menuname("dummy")){
//   style=sub2Style;
//   margin=AllMargin
//   }

//  Begin Electric Power section
   with(new menuname("2D71FF44E40948EAE04012ACA90C6B86")){
   style = sub2Style;
   aI("text=Wholesale Customers;url=/energy/power/wholesale_customers/index.html;showmenu=2D7303B24B04086BE04012ACA90C6B8B;type=tree;");
   aI("text=Facilities;url=/energy/power/facilities/index.html;showmenu=2D7336C062ACA26EE04012ACA90C6B8D;type=tree;");
   aI("text=Renewable Energy;url=/energy/power/renewable_energy/index.html;showmenu=2D736FDCF3D41B09E04012ACA90C72FF;type=tree;");
   aI("text=Air Quality;url=/energy/power/air_quality/index.html;showmenu=2DC4B78EA6D80BF4E04012AC51EC2499;type=tree;");
   aI("text=Energy Deregulation;url=/energy/power/deregulation/index.html;showmenu=2DC9BD2750B5D45CE04012AC51EC77C1;type=tree;");
   }
   
      // Electric Power - Wholesale Customers submenu
      with(new menuname("2D7303B24B04086BE04012ACA90C6B8B")){
      style = sub3Style;
      aI("text=Affordable. Reliable. Yours.;url=/cobranding/;target=blank;showmenu=cobranding;type=tree;");
      }
      
               with(new menuname("cobranding")){
                  style=sub3Style;
                  margin=AllMargin
                 }

      // Facilities submenu
      with(new menuname("2D7336C062ACA26EE04012ACA90C6B8D")){
      style = sub3Style;
      aI("text=Fayette Power Project;url=/energy/power/facilities/fayette.html;showmenu=2DCA22A2A2831892E04012AC51EC2F9E;type=tree;");
      aI("text=Sim Gideon Power Plant;url=/energy/power/facilities/simgideon.html;showmenu=2DDD835D4158CB6EE04012AC50EC13D5;type=tree;");
      aI("text=Ferguson Power Plant;url=/energy/power/facilities/ferguson.html;showmenu=2DDDF734EC382C4EE04012AC51EC56AF;type=tree;");
      aI("text=Lost Pines 1 Power Project;url=/energy/power/facilities/lostpines/index.html;showmenu=2DDE9D98FFAF94B1E04012AC50EC3682;type=tree;");
      aI("text=Hilbig Gas Storage;url=/energy/power/facilities/hilbig.html;showmenu=2DDDF734EC482C4EE04012AC51EC56AF;type=tree;");
      aI("text=Smithville Rail Fleet;url=/energy/power/facilities/smithville.html;showmenu=2DCAC1FAD3D4AF63E04012AC51EC1278;type=tree;");
      }
      
            // Facilities - Fayette Power Project submenu
            with(new menuname("2DCA22A2A2831892E04012AC51EC2F9E")){
            style=sub4Style;
            aI("text=Pollution-Control Scrubber Project;url=/energy/power/facilities/scrubber.html;showmenu=37C4A58CFCAAA783E04012AC52EC75F0;type=tree;");
            }
            
               // Facilities - Scrubber submenu
               with(new menuname("37C4A58CFCAAA783E04012AC52EC75F0")){
               style=sub4Style;
               margin=AllMargin
               }
            
            // Facilities - Sim Gideon Power Plant submenu
            with(new menuname("2DDD835D4158CB6EE04012AC50EC13D5")){
            style=sub3Style;
            margin=AllMargin
            }
            
            // Facilities - Ferguson Power Plant submenu
            with(new menuname("2DDDF734EC382C4EE04012AC51EC56AF")){
            style=sub3Style;
            margin=AllMargin
            }
            
            // Facilities - Lost Pines 1 Power Project submenu
            with(new menuname("2DDE9D98FFAF94B1E04012AC50EC3682")){
            style=sub4Style;
            aI("text=GenTex Power Corporation;url=/energy/power/facilities/lostpines/gentex.html;showmenu=2DDE9D98FFCA94B1E04012AC50EC3682;type=tree;");
            }
            
                  // Facilities - Gentex Power Corporation submenu
                  with(new menuname("2DDE9D98FFCA94B1E04012AC50EC3682")){
                  style=sub4Style;
                  margin=AllMargin
                  }
            
            // Facilities - Hilbig Gas Storage submenu
            with(new menuname("2DDDF734EC482C4EE04012AC51EC56AF")){
            style=sub3Style;
            margin=AllMargin
            }
            
            // Facilities - Smithville Rail Fleet submenu
            with(new menuname("2DCAC1FAD3D4AF63E04012AC51EC1278")){
            style=sub3Style;
            margin=AllMargin
            }

      // Renewable Energy submenu
      with(new menuname("2D736FDCF3D41B09E04012ACA90C72FF")){
      style = sub3Style;
      aI("text=Hydroelectric Dams;url=/energy/power/renewable_energy/hydroelectric.html;showmenu=2EE0E7EE773F0BC1E04012AC50EC481D;type=tree;");
      aI("text=Wind Power;url=/energy/power/renewable_energy/windpower.html;showmenu=2DC8ECAF009D9798E04012AC50EC267B;type=tree;");
      }
      
            // Renewable Energy - Hydroelectric Dams submenu
            with(new menuname("2EE0E7EE773F0BC1E04012AC50EC481D")){
            style=sub3Style;
            margin=AllMargin
            }
      
            // Renewable Energy - Wind Power submenu
            with(new menuname("2DC8ECAF009D9798E04012AC50EC267B")){
            style=sub3Style;
            margin=AllMargin
            }

      // Air Quality submenu
      with(new menuname("2DC4B78EA6D80BF4E04012AC51EC2499")){
      style = sub3Style;
      aI("text=Community Right to Know;url=/energy/power/air_quality/righttoknow.html;showmenu=2DDB7A5CACBB2AC8E04012AC51EC10F1;type=tree;");
      aI("text=Fayette Power Plant Toxic release Report;url=/energy/power/air_quality/toxic_release_inventory.html;showmenu=2DC4C3132B66D0D5E04012AC50EC6B0F;type=tree;");
      aI("text=Report on Lost Pines 1;url=/energy/power/air_quality/lostpines_report.html;showmenu=2DDB7A5CACAB2AC8E04012AC51EC10F1;type=tree;");   
      }
      
            // Air Quality - Community Right to Know submenu
            with(new menuname("2DC4B78EA6D80BF4E04012AC51EC2499")){
            style=sub3Style;
            margin=AllMargin
            }
            
            // Air Quality - Fayette Power Plant Toxic release Report submenu
            with(new menuname("2DC4C3132B66D0D5E04012AC50EC6B0F")){
            style=sub3Style;
            margin=AllMargin
            }
            
            // Air Quality - Report on Lost Pines 1 submenu
            with(new menuname("2DDB7A5CACAB2AC8E04012AC51EC10F1")){
            style=sub3Style;
            margin=AllMargin
            }

      // Energy Deregulation submenu
         with(new menuname("2DC9BD2750B5D45CE04012AC51EC77C1")){
         style = sub3Style;
         aI("text=FAQ;url=/energy/power/deregulation/dereg_faq.html;showmenu=2DC9BD2750D3D45CE04012AC51EC77C1;type=tree;");
         }
         
            // Energy Deregulation - FAQ submenu
            with(new menuname("2DC9BD2750D3D45CE04012AC51EC77C1")){
            style=sub3Style;
            margin=AllMargin
            }

//  End Electric Power  *********************************************************************************************************************




//  Begin Electric Transmission
with(new menuname("2DB1158436CC218BE04012ACA90C5377")){
style = sub2Style;
aI("text=Transmission Line Routing;url=/energy/trans/line_routing/index.html;showmenu=2DAFB1C295117578E04012ACA90C514C;type=tree;");
aI("text=Line Maintenance;url=/energy/trans/line_maintenance.html;showmenu=2DB17363DDE9108DE04012ACA90C79A8;type=tree;");
aI("text=Transmission System Map;url=/energy/trans/trans_system_map.html;showmenu=2DB58EB21ECA0033E04012AC51EC1320;type=tree;");
aI("text=Employee Transfers;url=/energy/trans/employee_transfers.html;showmenu=2DB5C935864F9C6DE04012AC50EC6BDE;type=tree;");
}

      //  Electric Transmission - Transmission Line Routing submenu
      with(new menuname("2DAFB1C295117578E04012ACA90C514C")){
      style = sub3Style;
      aI("text=Project List;url=/energy/trans/line_routing/project_list/index.html;showmenu=2DB02B7406BA87F8E04012ACA90C29A3;type=tree;");
      aI("text=Property Easement and Construction;url=/energy/trans/line_routing/easements_construction.html;showmenu=2DB1158436FE218BE04012ACA90C5377;type=tree;");
      }
         
            // Electric Transmission - Project List submenu
            with(new menuname("2DB02B7406BA87F8E04012ACA90C29A3")){
            style=sub4Style;
            aI("text=Rim Rock-to-Goat Creek project ;url=/energy/trans/line_routing/project_list/transmission_rim_rock.html;showmenu=2DAFC3E4B2680342E04012ACA90C514A;type=tree;");
            aI("text=New Braunfels to Seguin project ;url=/energy/trans/line_routing/project_list/transmission_newbraunfels2seguin.html;showmenu=2DB10F71784668A3E04012ACA90C608C;type=tree;");
            aI("text=Friendship to Manchaca project ;url=/energy/trans/line_routing/project_list/transmission_friendship2manchaca.html;showmenu=2DB6E312F7635E65E04012AC51EC7C91;type=tree;");
            aI("text=Clear Springs/ Zorn-to-Hutto project ;url=/energy/trans/line_routing/project_list/transcs.html;showmenu=2DAFB1C295497578E04012ACA90C514C;type=tree;");
            aI("text=Medina Lake-to-CPS project ;url=/energy/trans/line_routing/project_list/transmission_medina.html;showmenu=2DB10F71782168A3E04012ACA90C608C;type=tree;");
            }
            
                  // Electric Transmission - Rim Rock-to-Goat Creek project submenu
                  with(new menuname("2DAFC3E4B2680342E04012ACA90C514A")){
                  style=sub4Style;
                  margin=AllMargin
                  }
                  
                  // Electric Transmission - New Braunfels to Seguin project submenu
                  with(new menuname("2DB10F71784668A3E04012ACA90C608C")){
                  style=sub4Style;
                  margin=AllMargin
                  }
                  
                  // Electric Transmission - Friendship to Manchaca project submenu
                  with(new menuname("2DB6E312F7635E65E04012AC51EC7C91")){
                  style=sub4Style;
                  margin=AllMargin
                  }
                  
                  // Electric Transmission - Clear Springs/Zorn-to-Hutto project submenu
                  with(new menuname("2DAFB1C295497578E04012ACA90C514C")){
                  style=sub4Style;
                  margin=AllMargin
                  }
                  
                  // Electric Transmission - Medina Lake-to-CPS project submenu
                  with(new menuname("2DB10F71782168A3E04012ACA90C608C")){
                  style=sub4Style;
                  margin=AllMargin
                  }
            
            // Electric Transmission - Property Easement and Construction submenu
            with(new menuname("2DB1158436FE218BE04012ACA90C5377")){
            style=sub3Style;
            margin=AllMargin
            }

      // Electric Transmission - Line Maintenance submenu
      with(new menuname("2DB17363DDE9108DE04012ACA90C79A8")){
      style=sub3Style;
      margin=AllMargin
      }   
      
      // Electric Transmission - Transmission System Map submenu
      with(new menuname("2DB58EB21ECA0033E04012AC51EC1320")){
      style=sub3Style;
      margin=AllMargin
      }   
      
      // Electric Transmission - Employee Transfers submenu
      with(new menuname("2DB5C935864F9C6DE04012AC50EC6BDE")){
      style=sub3Style;
      margin=AllMargin
      }   


//  End Electric Transmission *****************************************************************************************************************




//  Begin Energy Services section

   with(new menuname("2DC4DB3BF538CC20E04012AC50EC6B11")){
   style = sub2Style;
   aI("text=Utility Services;url=/energy/services/utility.html;showmenu=3036B257BC3ABFA3E04012AC51EC2DB3;type=tree;");
   aI("text=Electric Services;url=/energy/services/electric_services.html;showmenu=2DCA22A2A2711892E04012AC51EC2F9E;type=tree;");
   aI("text=Protective Equipment Testing;url=/energy/services/pet.html;showmenu=303694DF1ED10FDAE04012AC50EC068E;type=tree;");
   aI("text=Emissions Testing;url=/energy/services/fleet.html;showmenu=303694DF1EDA0FDAE04012AC50EC068E;type=tree;");
   aI("text=Fleet Services;url=/energy/services/fleet.html;showmenu=303694DF1EDA0FDAE04012AC50EC068E;type=tree;");
   aI("text=Panel Fabrication;url=/energy/services/panel.html;showmenu=303694DF1EEA0FDAE04012AC50EC068E;type=tree;");
   }
   
      // Energy Services - Utility Services submenu
      with(new menuname("3036B257BC3ABFA3E04012AC51EC2DB3")){
      style=sub3Style;
      margin=AllMargin
      }
   
      // Energy Services - Electric Services submenu
      with(new menuname("2DCA22A2A2711892E04012AC51EC2F9E")){
      style=sub3Style;
      margin=AllMargin
      }
      
      // Energy Services - Protective Equipment Testing submenu
      with(new menuname("303694DF1ED10FDAE04012AC50EC068E")){
      style=sub3Style;
      margin=AllMargin
      }   
      
      // Energy Services - Emissions Testing submenu
      with(new menuname("303694DF1EDA0FDAE04012AC50EC068E")){
      style=sub3Style;
      margin=AllMargin
      }   
      
      // Energy Services - Fleet Services submenu
      with(new menuname("303694DF1EDA0FDAE04012AC50EC068E")){
      style=sub3Style;
      margin=AllMargin
      }   
      
      // Energy Services - Panel Fabrication submenu
      with(new menuname("303694DF1EEA0FDAE04012AC50EC068E")){
      style=sub3Style;
      margin=AllMargin
      }      

//  End Energy Services ******************************************************************************************************************



//  Begin Energy Education & Services section

   with(new menuname("2DCA20953AF7B6D6E04012AC51EC2F68")){
   style = sub2Style;
   aI("text=Safety;url=/energy/education_safety/safety/index.html;showmenu=2DCA22A2A2471892E04012AC51EC2F9E;type=tree;");
   aI("text=How Does Electricity Get to Your Home?;url=/energy/education_safety/getpower.html;showmenu=2EE0E7EE774D0BC1E04012AC50EC481D;type=tree;");
   aI("text=PowerHouse;url=/energy/education_safety/powerhouse.html;showmenu=2DC4DB3BF54ECC20E04012AC50EC6B11;type=tree;");
   aI("text=Conservation;url=/energy/education_safety/conservation.html;showmenu=2DCA22A2A2031892E04012AC51EC2F9E;type=tree");
   }

      //  Energy Education & Services - Safety submenu
         with(new menuname("2DCA22A2A2471892E04012AC51EC2F9E")){
         style = sub3Style;
         aI("text=Electric and Magnetic Fields;url=/energy/education_safety/safety/electric_fields.html;showmenu=2DCA22A2A2581892E04012AC51EC2F9E;type=tree;");
         }
         
            // Energy Education & Services - Electric and Magnetic Fields submenu
            with(new menuname("2DCA22A2A2581892E04012AC51EC2F9E")){
            style=sub3Style;
            margin=AllMargin
            }
            
      // How Does Electricity Get to Your Home? submenu
      with(new menuname("2EE0E7EE774D0BC1E04012AC50EC481D")){
      style=sub3Style;
      margin=AllMargin
      }   
            
      // Energy Education & Services - PowerHouse submenu
      with(new menuname("2DC4DB3BF54ECC20E04012AC50EC6B11")){
      style=sub3Style;
      margin=AllMargin
      }            

      //  Conservation submenu
      with(new menuname("2DCA22A2A2031892E04012AC51EC2F9E")){
      style = sub3Style;
      aI("text=Spring/Summer;url=/energy/education_safety/conservation_spring.html;showmenu=309CFF57A074F00EE04012AC51EC4107;type=tree;");
         }
         
            // Spring/Summer submenu
            with(new menuname("309CFF57A074F00EE04012AC51EC4107")){
            style=sub3Style;
            margin=AllMargin
            }      

//  End Energy Education & Services *******************************************************************************************************************


drawMenus()

Re: IE vs Firefox


Poster: John
Dated: Wednesday October 24 2007 - 15:07:17 BST

First, you're about 16 levels down in your menu code. Please update to the current v5.786 for support here in the forum. There are a few things in the _data file I'm looking at, but we'll see what the update does first.

Re: IE vs Firefox


Poster: ssegura
Dated: Wednesday October 24 2007 - 16:45:33 BST

John,

I updated to the latest version 5.586. The update actually gave me the state rendered in Firefox which does not open the menu fully. I now get the same effect in both IE and Firefox which is not correct. I guess this is good in a sense as both browsers give me the same effect.

However with the old version, when I did a refresh in Firefox the menu would open completely. With the latest version, when I do a refresh the menu does not open fully in either IE or Firefox. I have moved back to the old version until I get the menu working correctly. Any other info would be greatly appreciated. Thanks.

Steve

Re: IE vs Firefox


Poster: ssegura
Dated: Wednesday October 24 2007 - 17:20:26 BST

John,

Am doing some testing on my end and see what is happening with the menu but don't know why. I have the menu set at 131px wide on the left nav. With this many of the text links wrap to a second line which is fine. However this expands the height of inner submenus but not the main menus.

When I give the menu a width wide enough so most or all links are on one line, the menu works fine in both browsers. Would this be something with how I have the menu_data file set up? Thanks in advance for your assistance.

Steve

Re: IE vs Firefox


Poster: Ruth
Dated: Wednesday October 24 2007 - 20:55:31 BST

Hi Steve,

When you upgraded did you also upload the new treemenu.js file? You'll find it in the modules.

And, I'm not understanding the problem. Is there a way you can do a screenshot of the correct and then how it's not right in FF?

Ruth

Re: IE vs Firefox


Poster: ssegura
Dated: Wednesday October 24 2007 - 21:53:11 BST

Hi Ruth,

Glad to be working with you again. I did not update the treemenu.js file from 1.26 to 1.27 but my team mate had already updated and he said it did not make a difference. Attached is an image and the issue we have with Firefox. We have been testing and notice 2 scenarios. When we make the menu wide enough so the text does not wrap the menu works in both browsers. Also when we remove the arrow images from the menu in its current 131px width, it also works in both browsers.
Thanks in advance for your assistance.

Steve

Re: IE vs Firefox


Poster: Ruth
Dated: Thursday October 25 2007 - 6:28:13 BST

Hi,

OK, I know what it is doing, and what's causing it, but I can't find a solution in the menu itself, only in changing the item text...

OK, what's happening is that because the item text is wrapping it is causing that submenu 'menu container' to be bigger than it normally is when items don't wrap. Because that submenu is opened when you get to the page, the menu doesn't really 'know' that the text is wrapping and that it's making that sub menu container longer. When you click it closed and then open that is why it's now setting that 'hidden' item at the correct position because it now 'reads' that those two items' height is higher.

Hopefully you understand my gobbled together explanation since I don't really know the technical terms for what's happening. Anyway, I have no idea how to fix it, I've tried setting a menuheight and itemheight but that doesn't seem to shift that 'hidden' item down. So, your choices are to

1. change the text of the items so they don't wrap, like Wholesale Clients, and Deregulation as options

2. widen that table so the menu can be wider so the items don't wrap.

There's not much we can do as to menu fixes on this since the treemenu is still in development, so it's not supported, though Milonic does keep the treemenu.js file up to date for those who use it. What I try to do is find non program solutions for things.

Hope this helps and gives you some options.

Ruth