mouseover et.al. 5.735

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
stuartharden
Advanced
Advanced
Posts: 20
Joined: Mon Mar 21, 2005 6:26 pm
Location: Atlanta, US
Contact:

mouseover et.al. 5.735

Post by stuartharden »

I continue to have problems with the menu's initial appearance and subsequent mouseover response when using firefox 1.0.7.

http://www.ciclt.com/boma/main.asp?PT=w ... lient=boma

for example, reads perfectly in IE, but not in firefox.

We are using 5.735...but perhaps have missed some aspect of the "conversion"?

I did try various things from other posts, but did not find a solution.

Thanks Much for any help you can provide-

Stuart
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

You have problems in syntax in your menu_data.js file

Add the # to the offbgcolor in both styles

Remove the quote marks from all the style items that have only a number [though that really isn't causing the problem, it's good to get in that habit]

Add a semi-colon after the fontweight="bold"

That should fix the problem you are seeing. I believe it's only the hash mark and the semi-colon that are causing the problem.

Ruth
stuartharden
Advanced
Advanced
Posts: 20
Joined: Mon Mar 21, 2005 6:26 pm
Location: Atlanta, US
Contact:

eagle-eye Ruth

Post by stuartharden »

Thank you Very much for your editorial prowess. My eye had obviously taken a holiday.

I have made all the corrections (I believe) but still have the same menu response. mouse over stays active, subminus do not show until they are moused over...

Same page, s.v.p. can you find more errors?

Liels Paldies!

Stuart
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

That's odd. It's doing it when I go to your page, but not when I load the page here.

Try taking the following and making a new data file with it.

Code: Select all

fixMozillaZIndex=false; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=10;
_subOffsetLeft=-10;


with(menuStyle=new mm_style()){
onbgcolor="#DDDDDD";
oncolor="darkblue";
offbgcolor="#0072b7";
offcolor="#FFFFFF";
bordercolor="darkblue";
borderstyle="solid";
borderwidth=0;
separatorcolor="#330099";
separatorsize="0";
padding=5;
fontsize=11;
fontstyle="bold";
fontfamily="Arial";
pagecolor="white";
fontweight="bold";
pagebgcolor="#0072b7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimagepadding=2;
overfilter="Fade(duration=0.2);Alpha(opacity=100);";
outfilter="randomdissolve(duration=0.3)";
}

with(PageMenu=new mm_style()){
styleid=2;
onbgcolor="#DDDDDD";
oncolor="darkblue";
offbgcolor="#0072b7";
offcolor="#FFFFFF";
bordercolor="darkblue";
borderstyle="solid";
borderwidth=0;
separatorcolor="#FFFFFF";
separatorsize=1;
padding=5;
fontsize=11;
fontstyle="bold";
fontfamily="Arial";
pagecolor="white";
fontweight="bold";
pagebgcolor="#0072b7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimagepadding=2;
overfilter="Fade(duration=0.2);Alpha(opacity=100);";
outfilter="randomdissolve(duration=0.3)";
}

with(milonic=new menuname("Main")){
style=menuStyle;
top=133;
screenposition="center";
orientation="horizontal";
alwaysvisible=1;
aI("text=Communications;showmenu=news;url=http://www.ciclt.com/boma/main.asp?PT=n_main&Client=boma;");
aI("text=Contact Us;showmenu=contactus;");
aI("text=Education;showmenu=education;");
aI("text=Advocacy;showmenu=legislation;");
aI("text=Membership;showmenu=membership;");
aI("text=Calendar;showmenu=calendar;");
aI("text=Library;url=http://www.ciclt.com/boma/main.asp?PT=ref_main&Client=boma;");
aI("text=Allied Mbrs;url=http://www.ciclt.com/boma/main.asp?PT=o_allied&Client=boma;");
aI("text=Job Bank;showmenu=JobBank;");
aI("text=Home;url=http://www.boma-atlanta.org/;");
}

with(milonic=new menuname("contactus")){
style=menuStyle;
aI("text=404.475.9980 (Click on Name to Email);status=404.475.9980 (Click on Name to Email);");
aI("text=404.475.9987 Fax;showmenu=404.475.9987 Fax;");
aI("text=Jim Moody, Executive Director - Ext. 4;url=mailto:jmoody@boma-atlanta.org;");
aI("text=Martha White, Associate Executive Director - Ext. 2;url=mailto:mwhite@boma-atlanta.org;");
aI("text=Gabriel Eckert, Communications and Marketing Director - Ext. 3;url=mailto:geckert@boma-atlanta.org;");
aI("text=Beth Abbott, Member Services Coordinator - Ext. 1;url=mailto:babbott@boma-atlanta.org;");
aI("text=Nancy Hodge, Financial Operations and Event Registration - Ext. 7;url=mailto:nhodge@boma-atlanta.org;");
aI("text=Directions;url=http://www.ciclt.com/boma/main.asp?RoutineCk=Display&PT=edit_pages&Page=directions&Client=boma;status=Directions;");

}

with(milonic=new menuname("calendar")){
style=menuStyle;
aI("text=Overview;url=http://www.ciclt.com/boma/main.asp?PT=c_main&Client=boma;");
aI("text=Monthly Calendar;url=http://www.ciclt.com/boma/main.asp?PT=c_monthly&Client=boma;");
aI("text=Upcoming Events;url=http://www.ciclt.com/boma/main.asp?PT=c_list&Client=boma;");
}

with(milonic=new menuname("news")){
style=menuStyle;
aI("text=Overview;url=http://www.ciclt.com/boma/main.asp?PT=n_main&Client=boma;");
aI("text=Current Interest Items;url=http://www.ciclt.com/boma/main.asp?Type=Code&PT=n_list&Client=boma&NC_Code=current;");
aI("text=2005 Session Reports;url=http://www.ciclt.com/boma/main.asp?Type=Code&PT=n_list&Client=boma&NC_Code=Session2005;");
}

with(milonic=new menuname("education")){
style=menuStyle;
aI("text=Overview;url=http://www.ciclt.com/boma/main.asp?Client=boma&Prog=sma&PT=t_main;");
aI("text=Real Property Administrator (RPA);url=http://www.ciclt.com/boma/main.asp?PT=t_courselist&Client=boma&Prog=rpa;");
aI("text=Facilities Management Administrator (FMA);url=http://www.ciclt.com/boma/main.asp?PT=t_courselist&Client=boma&Prog=fma;");
aI("text=Systems Maintenance Technician (SMT);url=http://www.ciclt.com/boma/main.asp?PT=t_courselist&Client=boma&Prog=smt;");
aI("text=Systems Maintenance Administrator (SMA);url=http://www.ciclt.com/boma/main.asp?PT=t_courselist&Client=boma&Prog=sma;");
aI("text=Continuing Education and College Credit;url=http://www.ciclt.com/boma/main.asp?PT=t_courselist&Client=boma&Prog=All;");
}

with(milonic=new menuname("membership")){
style=menuStyle;
aI("text=Member Login;url=http://www.ciclt.com/boma/main.asp?PT=adm_login&Client=boma;");
}

with(milonic=new menuname("JobBank")){
style=menuStyle;
aI("text=Employers;url=http://www.ciclt.com/boma/main.asp?PT=j_employer&RCk=overview&Client=boma;");
aI("text=Job Seekers;url=http://www.ciclt.com/boma/main.asp?PT=j_jobseeker&RCk=overview&Client=boma;");
}

with(milonic=new menuname("legislation")){
style=menuStyle;
aI("text=Overview Page;url=http://www.ciclt.com/boma/main.asp?PT=l_main&Client=boma;");
aI("text=Officials;showmenu=officials;");
aI("text=Tracking Level;showmenu=track;");
aI("text=Bill Number;showmenu=billno;");
aI("text=Issues;showmenu=issues;");
}

with(milonic=new menuname("track")){
style=menuStyle;
opacity="99";
aI("text=Hot;align=center;itemwidth=100;offbgcolor=#FF0000;onbgcolor=#FF0000;url=http://www.ciclt.com/boma/main.asp?PT=l_list&Client=boma&SchStr=1&Type=TL&Title=Hot;");
aI("text=Work;align=center;itemwidth=100;offbgcolor=#FF9900;onbgcolor=#FF9900;url=http://www.ciclt.com/boma/main.asp?PT=l_list&Client=boma&SchStr=2&Type=TL&Title=Work;");
aI("text=Watch;align=center;itemwidth=100;offbgcolor=#FFFF00;onbgcolor=#FFFF00;url=http://www.ciclt.com/boma/main.asp?PT=l_list&Client=boma&SchStr=3&Type=TL&Title=Watch;");
aI("text=Monitor;align=center;itemwidth=100;offbgcolor=#CCCCCC;onbgcolor=#CCCCCC;url=http://www.ciclt.com/boma/main.asp?PT=l_list&Client=boma&SchStr=4&Type=TL&Title=Monitor;");
aI("text=Passed;align=center;itemwidth=100;offbgcolor=#339933;onbgcolor=#339933;url=http://www.ciclt.com/boma/main.asp?PT=l_list&Client=boma&SchStr=5&Type=TL&Title=Passed;");
}

with(milonic=new menuname("billno")){
style=menuStyle;
opacity="99";
aI("text=House Bills;url=http://www.ciclt.com/boma/main.asp?PT=l_list&Client=boma&SchStr=HB&Type=BT&Title=House%20Bills;");
aI("text=House Resolutions;url=http://www.ciclt.com/boma/main.asp?PT=l_list&Client=boma&SchStr=HR&Type=BT&Title=House%20Resolutions;");
aI("text=Senate Bills;url=http://www.ciclt.com/boma/main.asp?PT=l_list&Client=boma&SchStr=SB&Type=BT&Title=Senate%20Bills;");
aI("text=Senate Resolutions;url=http://www.ciclt.com/boma/main.asp?PT=l_list&Client=boma&SchStr=SR&Type=BT&Title=Senate%20Resolutions;");
}

with(milonic=new menuname("issues")){
style=menuStyle;
opacity="99";
aI("text=Energy - Lighting Legislation;url=http://www.ciclt.com/boma/main.asp?Client=boma&Session=2005-2006&PT=l_list&Type=Code&L_State=ga&SchStr=lighting&Title=Energy%20-%20Lighting;");
}

with(milonic=new menuname("officials")){
style=menuStyle;
opacity="99";
aI("text=Overview;url=http://www.ciclt.com/boma/main.asp?PT=po_main&Client=boma;");
aI("text=Statewide;showmenu=statewide;");
aI("text=Congress;showmenu=congress;");
aI("text=Senate;showmenu=senate;");
aI("text=House;showmenu=house;");
aI("text=County;url=http://www.ciclt.com/boma/main.asp?PT=pocty_list&Client=boma&FIPS=13;");
aI("text=District Lookup;url=http://www.ciclt.com/boma/main.asp?PT=po_lookup&Client=boma;");
}

with(milonic=new menuname("statewide")){
style=menuStyle;
opacity="99";
aI("text=By Name;url=http://www.ciclt.com/boma/main.asp?PT=po_list&Client=boma&State=ga&List=statewide&Title=Statewide%20by%20Name;");
aI("text=Democrats;url=http://www.ciclt.com/boma/main.asp?PT=po_list&Client=boma&State=ga&List=statewide&Party=D&Title=Statewide%20Democrats;");
aI("text=Republicans;url=http://www.ciclt.com/boma/main.asp?PT=po_list&Client=boma&State=ga&List=statewide&Party=R&Title=Statewide%20Republicans;");
}

with(milonic=new menuname("congress")){
style=menuStyle;
opacity="99";
aI("text=By Name;url=http://www.ciclt.com/boma/main.asp?PT=po_list&Client=boma&State=ga&List=congress&Title=Congress%20by%20Name;");
aI("text=By District;url=http://www.ciclt.com/boma/main.asp?PT=po_list&Client=boma&State=ga&List=congressdl&Title=Congress%20by%20District;");
aI("text=Democrats;url=http://www.ciclt.com/boma/main.asp?PT=po_list&Client=boma&State=ga&List=congress&Party=D&Title=Congress%20-%20Democrats;");
aI("text=Republicans;url=http://www.ciclt.com/boma/main.asp?PT=po_list&Client=boma&State=ga&List=congress&Party=R&Title=Congress%20-%2Republicans;");
}

with(milonic=new menuname("senate")){
style=menuStyle;
opacity="99";
aI("text=By Name;url=http://www.ciclt.com/boma/main.asp?PT=po_list&Client=boma&State=ga&List=stsenate&Title=Senate%20by%20Name;");
aI("text=By District;url=http://www.ciclt.com/boma/main.asp?PT=po_list&Client=boma&State=ga&List=stsenatedl&Title=Senate%20by%20District;");
aI("text=Democrats;url=http://www.ciclt.com/boma/main.asp?PT=po_list&Client=boma&State=ga&List=stsenate&Party=D&Title=Senate%20by%20Name;");
aI("text=Republicans;url=http://www.ciclt.com/boma/main.asp?PT=po_list&Client=boma&State=ga&List=stsenate&Party=R&Title=Senate%20by%20Name;");
aI("text=Committees;url=http://www.ciclt.com/boma/main.asp?PT=poc_list&Client=boma&State=ga&List=stsenate;");
}

with(milonic=new menuname("house")){
style=menuStyle;
opacity="99";
aI("text=By Name;url=http://www.ciclt.com/boma/main.asp?PT=po_list&Client=boma&State=ga&List=sthouse&Title=House%20of%20Represenatives%20by%20Name;");
aI("text=By District;url=http://www.ciclt.com/boma/main.asp?PT=po_list&Client=boma&State=ga&List=sthousedl&Title=House%20of%20Represenatives%20by%20District;");
aI("text=Democrats;url=http://www.ciclt.com/boma/main.asp?PT=po_list&Client=boma&State=ga&List=sthouse&Party=D&Title=House%20of%20Represenatives%20by%20Name;");
aI("text=Republicans;url=http://www.ciclt.com/boma/main.asp?PT=po_list&Client=boma&State=ga&List=sthouse&Party=R&Title=House%20of%20Represenatives%20by%20Name;");
aI("text=Committees;url=http://www.ciclt.com/boma/main.asp?PT=poc_list&Client=boma&State=ga&List=sthouse;");
}


drawMenus();
I can't find anything else. Let me know if this works. It is what I'm using on the desktop and it's working fine.

Ruth
stuartharden
Advanced
Advanced
Posts: 20
Joined: Mon Mar 21, 2005 6:26 pm
Location: Atlanta, US
Contact:

Post by stuartharden »

:oops: I spoke too soon...the fix works, only the menu in which I made the change has a different security level than the one I used in my example.

They are All functioning now!

Most Appreciative-

Stuart
Post Reply