Weird second scroll menu problem

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
smersch
Beginner
Beginner
Posts: 4
Joined: Tue Jan 03, 2006 3:29 am

Weird second scroll menu problem

Post by smersch »

http://students.oxy.edu/smersch/Copy%20 ... /index.htm

When I tried to incorporate the "academic" scrolling menu, the menu stopped appearing. If I take it out,
the menu reappeared. I've compared the code to other menus, and it all looks right.

Why on earth is not working?

Thanks for help!!!

Stephan

Code: Select all

with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=150;
alwaysvisible=1;
orientation="horizontal";
menuwidth="100%"
menualign="center"
aI("text==化学工业url=http://departments.oxy.edu/languagelab/;status=Back To Home Page;");
aI("text=Digital Resources;showmenu=DigitalResources;onfunction=mm_onText('Médiathèque');offfunction=mm_offText('');");
aI("text=Academic Resources;showmenu=Academic;onfunction=mm_onText('Ressources Academiques');offfunction=mm_offText('');");  
aI("text=Cultural Resources;url=http://departments.oxy.edu/languagelab/french/faculty.html;
onfunction=mm_onText('Ressources Culturelles');offfunction=mm_offText('');");
}

with(milonic=new menuname("DigitalResources")){
style=menuStyle;
overflow="scroll";
aI("text=Films;url=http://departments.oxy.edu/languagelab/
french/films.html;");
aI("text=News;url=http://departments.oxy.edu/languagelab/
french/news.html;");
aI("text=Instructional Media;url=http://departments.oxy.edu/languagelab/
french/instructionalmedia.html;");

}

with(milonic=new menuname("Academic")){
style=menuStyle;
overflow="scroll";
aI("text=Courses;url=http://departments.oxy.edu/registrar/catalog/
sfls.html;onfunction=mm_onText('Cours');offfunction=mm_offText('');");
aI("text=Faculty;url=http://departments.oxy.edu/languagelab/
french/faculty.html;onfunction=mm_onText('Professeurs');offfunction=mm_offText('');");
aI("text=International Programs;url=http://departments.oxy.edu/ipo/;
onfunction=mm_onText('Programmes Internationaux');offfunction=mm_offText('');

}

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

Post by Ruth »

Hi,

You've got some problems with that page.

Right at the top even before the html tag, there is a call for the menu files coming from js.css/

Then down at the bottom you have

Code: Select all

<p><span class="fontmedium"> 
and then the calls for the menu.

The calls for the menu files should be the first thing after the body tag

Code: Select all

<BODY class=backgroundcolor bgColor=#3366ff leftMargin=0 topMargin=0 
marginheight="0" marginwidth="0"><SCRIPT language=JavaScript src="milonic_src.js" 
type=text/javascript></SCRIPT>
of course all the files would be there, but I only posted the one.

Now, as to the problem, it is the last line of that academic menu, it should be:

Code: Select all

aI("text=International Programs;url=http://departments.oxy.edu/ipo/;onfunction=mm_onText('Programmes Internationaux');offfunction=mm_offText('');");
Ruth
Post Reply