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

Going to horizontal 3rd level submenu causes page to reload


Poster: Alatam
Dated: Tuesday October 3 2006 - 21:59:20 BST

Every third level submenu I highlight causes the page to reload. Please Help! The file is:

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

with(menuStyle=new mm_style()){
align="center";
bordercolor="#6a6a6a";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="66%";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#007700";
headercolor="#007700";
offbgcolor="#007700";
offcolor="#ffffff";
onbgcolor="#00CC33";
oncolor="#000000";
onitalic=0;
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=1;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#FFFF66";
separatorpadding=1;
separatorsize=1;
subimage="arrow.gif";
subimagepadding=4;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=283;
orientation="horizontal";
style=menuStyle;
margin=6;
top=97;
aI("showmenu=Current Students;text=Current Students");
aI("showmenu=Future Students;text=Future Students;");
aI("showmenu=Student Lifestyle;text=Student Lifestyle;");
aI("showmenu=Directory;text=Directory;");
aI("showmenu=Special Programs;text=Special Programs;");
aI("showmenu=About;text=About;");
}

with(milonic=new menuname("Current Students")){
overflow="scroll";
style=menuStyle;
aI("showmenu=About EOCC;text=About EOCC;")
aI("showmenu=Taking Courses;text=Taking Courses")
aI("showmenu=Getting Help;text=Getting Help")
aI("showmenu=Money Matters;text=Money Matters;")
aI("showmenu=Student Lifestyle;text=Student Lifestyle;")
aI("showmenu=Moving On;text=Moving On;")
}

with(milonic=new menuname("About EOCC")){
style=menuStyle;
aI("text=Presidents Message;url=http://www.eocc.edu/directory/president.htm;");
aI("text=College Calendar;url=http://www.eocc.edu/adminoffices/registrar/calendarfall.htm;");
aI("text=College Catalog;url=http://www.eocc.edu/adminoffices/registrar/catalogs/CollegeCatalog.pdf;");
aI("showmenu=College Directory;text=College Directory;");
aI("showmenu=Campus Locations;text=Campus Locations;");
aI("text=Student Right to Know;url=http://www.eocc.edu/adminoffices/registrar/SRTKpamphlet2005.pdf;");
}

with(milonic=new menuname("College Directory")){
style=menuStyle;
aI("showmenu=Instructional Divisions;text=Instructional Divisions");
aI("showmenu=Departments/Offices;text=Departments/Offices");
aI("text=Faculty;url=http://www.eocc.edu/directory/faculty.htm;");
aI("text=Staff;url=http://www.eocc.edu/directory/staff.htm;");
}

with(milonic=new menuname("Instructional Divisions")){
overflow="scroll";
style=menuStyle;
aI("text=Aviation Maintenance/Avionics;url=http://www.eocc.edu/divisions/avn_div.htm");
aI("text=Business;url=http://www.eocc.edu/divisions/bus_div.htm");
aI("text=Computer Information Science;url=http://www.eocc.edu/divisions/cis_div.htm;");
aI("text=Emergency Medical Training;url=http://www.eocc.edu/divisions/emt_div.htm;");
aI("text=English, Foreign Languages, Communications;url=http://www.eocc.edu/divisions/com_div.htm;");
aI("text=Fine Arts;url=http://www.eocc.edu/divisions/art_div.htm;");
aI("text=Mathematics;url=http://www.eocc.edu/divisions/mat_div.htm;");
aI("text=Physical Education, Health Recreation;url=http://www.eocc.edu/divisions/ped_div.htm;");
aI("text=Science;url=http://www.eocc.edu/divisions/sci_div.htm;");
aI("text=Social Sciences;url=http://www.eocc.edu/divisions/soc_div.htm;");
}

with(milonic=new menuname("Departments/Offices")){
style=menuStyle;
aI("text=Admissions;url=http://www.eocc.edu/adminoffices/admissions.htm;");
aI("text=Bookstore;url=http://www.eocc.edu/studentservices/bookstore/bookstore_home.htm;");
aI("text=Business;url=http://www.eocc.edu/adminoffices/busoffice.htm;");
aI("text=Computer Services;url=http://www.eocc.edu/adminoffices/compservices/compservices.htm;");
aI("text=Financial Aid;url=http://www.eocc.edu/adminoffices/finaid.htm;");
aI("text=Guidance Services;url=http://www.eocc.edu/studentservices/guidance.htm;");
aI("text=Registrar;url=http://www.eocc.edu/adminoffices/registrar.htm;");
}

with(milonic=new menuname("Campus Locations")){
style=menuStyle;
aI("text=Enterprise;url=http://www.eocc.edu/abouteocc/facts.htm;");
aI("text=Fort Rucker;url=http://www.eocc.edu/fortrucker/index.htm;");
aI("text=Mobile;url=http://www.eocc.edu/mobile/index.htm;");
aI("text=Ozark;url=http://www.eocc.edu/ozark/index.htm;");
}

with(milonic=new menuname("Taking Courses")){
style=menuStyle;
aI("showmenu=Academic Degrees;text=Academic Degrees;");
aI("text=Adult Education/GED;url=http://www.eocc.edu/specialprograms/adult_ed.htm;");
aI("text=Career Programs;url=http://www.eocc.edu/programsofstudy/career.htm;");
aI("text=Community Courses;url=http://www.eocc.edu/abouteocc/newsreleases.htm#3;");
aI("text=Course Schedule;url=http://www.eocc.edu/adminoffices/registrar/fallcourseschedule.htm;");
aI("text=Dual Enrollment;url=http://www.eocc.edu/adminoffices/admissions/highschool.htm;");
aI("text=General Education Courses;url=http://www.eocc.edu/programsofstudy/gened.htm;");
aI("showmenu=Online Courses;text=Online Courses;");
aI("text=Student Information Center;url=http://www.eocc.edu/annouce.htm;");
}

with(milonic=new menuname("Academic Degrees")){
style=menuStyle;
aI("text=Associate in Arts and Science;url=http://www.eocc.edu/programsofstudy/arts.htm;");
aI("text=Associate in Applied Science;url=http://www.eocc.edu/programsofstudy/applied.htm;");
}

with(milonic=new menuname("Online Courses")){
style=menuStyle;
aI("text=Online Course Orientation;url=http://www.eocc.edu/onlinecourses2/onlineorient.htm;");
aI("text=WebCT Instructions;url=http://www.eocc.edu/onlinecourses/onlineinstruction.htm;");
aI("text=Online WebCT Courses;url=http://webct.esjc.cc.al.us:8900/webct/public/home.pl?action=print_home;");
}

with(milonic=new menuname("Getting Help")){
style=menuStyle;
aI("text=Admissions;url=http://www.eocc.edu/adminoffices/admissions.htm;");
aI("text=Bookstore;url=http://www.eocc.edu/studentservices/bookstore/bookstore_home.htm;");
aI("text=Certification of Student Status;url=http://www.eocc.edu/adminoffices/registrar/certifications.htm;");
aI("text=Guidance Services;url=http://www.eocc.edu/studentservices/guidance.htm;");
aI("text=Learning Resource Center (LRC);url=http://www.eocc.edu/library/index.html;");
aI("text=Student Support Services;url=http://www.eocc.edu/studentservices/sss.htm;");
aI("showmenu=Success Center;text=Success Center;url=http://www.eocc.edu/studentservices/success_center.htm;");
}

with(milonic=new menuname("Success Center")){
style=menuStyle;
aI("text=Master Student;url=http://www.eocc.edu/studentservices/master_student.htm;");
aI("text=Student Academic Success (SAS);url=http://www.eocc.edu/studentservices/sas_lab.htm;");
}

with(milonic=new menuname("Money Matters")){
style=menuStyle;
aI("showmenu=Financial Aid;text=Financial Aid;url=http://www.eocc.edu/adminoffices/finaid.htm;");
aI("text=Payroll/Workstudy;url=http://www.eocc.edu/adminoffices/busoffice/payroll.htm;");
aI("text=Registration/Tuition Payment Dates;url=http://www.eocc.edu/adminoffices/busoffice/impdates.htm;");
aI("text=Refund Policy;url=http://www.eocc.edu/adminoffices/busoffice/refund.htm;");
aI("text=Tuition;url=hhttp://www.eocc.edu/adminoffices/registrar/tuition.htm;");
aI("text=Tuition and Fee Rates;url=http://www.eocc.edu/adminoffices/busoffice/tuition.htm;");
}

with(milonic=new menuname("Financial Aid")){
style=menuStyle;
aI("text=How to Apply;url=http://www.eocc.edu/adminoffices/finaid/finaid_apply.htm;");
aI("text=Programs Available;url=http://www.eocc.edu/adminoffices/finaid/finaid_programs.htm;");
}

with(milonic=new menuname("Student Lifestyle")){
style=menuStyle;
aI("showmenu=Athletics;text=Athletics;");
aI("showmenu=Clubs & Organizations;text=Clubs & Organizations;");
aI("text=Job Placement;url=http://www.eocc.edu/studentservices/job_placement.htm;");
aI("text=Kindercollege;url=http://www.eocc.edu/specialprograms/kinder.htm;");
}

with(milonic=new menuname("Athletics")){
style=menuStyle;
aI("text=Baseball;url=http://www.eocc.edu/athletics/baseball.htm;");
aI("text=Basketball (Men's);url=http://www.eocc.edu/athletics/mbasketball.htm;");
aI("text=Basketball (Women's);url=http://www.eocc.edu/athletics/wbasketball.htm;");
aI("text=Softball;url=http://www.eocc.edu/athletics/softball.htm;");
aI("text=Sports & Recreation;url=http://www.eocc.edu/athletics/sports_rec.htm;");
}

with(milonic=new menuname("Clubs & Organizations")){
style=menuStyle;
aI("text=Entertainers;url=http://www.eocc.edu/divisions/art_div/ensembles.htm;");
aI("text=First Impressions Team;url=http://www.eocc.edu/studentservices/orientation/fit.htm;");
aI("text=Student Organizations;url=http://www.eocc.edu/studentservices/student_orgs.htm;");
}

with(milonic=new menuname("Moving On")){
style=menuStyle;
aI("text=Graduation;url=http://www.eocc.edu/athletics/baseball.htm;");
aI("text=Huntingdon College;url=http://www.huntingdon.edu/sps;target=blank;");
aI("text=Job Placement;url=http://www.eocc.edu/studentservices/job_placement.htm;");
aI("text=STARS;url=http://stars.troy.edu/;target=blank;");
aI("text=Transcripts;url=http://www.eocc.edu/adminoffices/registrar/transcripts.htm;");
}

with(milonic=new menuname("Future Students")){
overflow="scroll";
style=menuStyle;
aI("showmenu=About EOCC;text=About EOCC;")
aI("showmenu=Getting Started;text=Getting Started")
aI("showmenu=Courses;text=Taking Courses")
aI("showmenu=Student Lifestyle;text=Student Lifestyle;");
aI("showmenu=Money Matters;text=Money Matters;")
}

with(milonic=new menuname("Getting Started")){
style=menuStyle;
aI("text=Admissions;url=http://www.eocc.edu/adminoffices/admissions.htm;");
aI("text=Adult Education/GED;url=http://www.eocc.edu/specialprograms/adult_ed.htm;");
aI("text=COMPASS Testing;url=http://www.eocc.edu/adminoffices/registrar/asset.htm;");
aI("text=Course Schedule;url=http://www.eocc.edu/adminoffices/registrar/fallcourseschedule.htm;");
aI("text=Dual Enrollment;url=http://www.eocc.edu/adminoffices/admissions/highschool.htm;");
aI("text=Orientation;url=http://www.eocc.edu/studentservices/orientation/orientation_home_page.htm;");
}

with(milonic=new menuname("Courses")){
style=menuStyle;
aI("showmenu=Academic Degrees;text=Academic Degrees;");
aI("text=Adult Education/GED;url=http://www.eocc.edu/specialprograms/adult_ed.htm;");
aI("text=Career Programs;url=http://www.eocc.edu/programsofstudy/career.htm;");
aI("text=Community Courses;url=http://www.eocc.edu/abouteocc/newsreleases.htm#3;");
aI("text=Dual Enrollment;url=http://www.eocc.edu/adminoffices/admissions/highschool.htm;");
aI("text=General Education Courses;url=http://www.eocc.edu/programsofstudy/gened.htm;");
aI("text=Online Course Orientation;url=http://www.eocc.edu/onlinecourses2/onlineorient.htm;");
aI("text=Registration;url=http://www.eocc.edu/adminoffices/registrar/registration.htm;");
aI("text=STARS;url=http://stars.troy.edu/;target=blank;");
}

with(milonic=new menuname("Directory")){
style=menuStyle;
aI("showmenu=Instructional Divisions;text=Instructional Divisions");
aI("showmenu=Departments/Offices;text=Departments/Offices");
aI("text=Faculty;url=http://www.eocc.edu/directory/faculty.htm;");
aI("text=Staff;url=http://www.eocc.edu/directory/staff.htm;");
}

with(milonic=new menuname("Special Programs")){
style=menuStyle;
aI("text=Kindercollege;url=http://www.eocc.edu/specialprograms/kinder.htm;");
aI("text=Military & Veterans;url=http://www.eocc.edu/specialprograms/mil_vets.htm;");
aI("text=Student Support Services;url=http://www.eocc.edu/studentservices/sss.htm;");
aI("text=Training for Business & Industry;url=http://www.eocc.edu/specialprograms/trainingbi.htm;");
aI("text=Upward Bound;url=http://www.eocc.edu/studentservices/upwardbound.htm;");
}

with(milonic=new menuname("About")){
style=menuStyle;
aI("text=Alumni;url=http://www.eocc.edu/abouteocc/alumni.htm;");
aI("text=Employment;url=http://www.eocc.edu/abouteocc/employment.htm;");
aI("text=Foundation;url=http://www.eocc.edu/abouteocc/foundation.htm;");
aI("text=News Releases;url=http://www.eocc.edu/abouteocc/newsreleases.htm;");
}

drawMenus();


Poster: Ruth
Dated: Tuesday October 3 2006 - 22:45:44 BST

Hi,

We really do need to see the page to test. There doesn't seem to be anything wrong in the data file, but that's on a quick read.

Ruth


Poster: kevin3442
Dated: Wednesday October 4 2006 - 2:54:34 BST

Just plugged your menu code into a test page and the menu seems to operate fine at all levels. No page reloading.

What version of the menu are you using? What browser to test? Does the reload happen in all browsers you've tried?

Ruth is right... strange issue like this... a url to a test page demonstrating the problem would be very useful if you can do it.

Cheers,

Kevin