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:17
Weird second scroll menu problem
Poster: smersch
Dated: Saturday January 21 2006 - 21:01:36 GMT
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:
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();
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();
Poster: Ruth
Dated: Sunday January 22 2006 - 1:22:18 GMT
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:
<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:
<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.marginheight="0" marginwidth="0"><SCRIPT language=JavaScript src="milonic_src.js"
type=text/javascript></SCRIPT>
Now, as to the problem, it is the last line of that academic menu, it should be:
Code:
aI("text=International Programs;url=http://departments.oxy.edu/ipo/;onfunction=mm_onText('Programmes Internationaux');offfunction=mm_offText('');");
Ruth