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:46
Scrolling Multiple menu problem
Poster: pappy
Dated: Sunday April 24 2005 - 19:24:13 BST
I have a scrolling 1 vertical menu with 3 horizontal menus below it, all in the same code. My problem is with the horizontal menus and scrolling.
http://www.paradiseequinegenetics.com/services.asp
When you scroll the page down, the 1st horizontal menu moves behind the second menu, and then the 1st and 2nd go behind the third.
Any help?
Here's the menu:
with(pappy=new menuname("Main Menu")){
alwaysvisible=1;
followscroll=420;
left=130;
orientation="vertical";
style=mainmenuStyle;
top=250;
aI("text=Facility;align=right;url=../facility.asp;status=Facility;");
aI("text=Services;align=right;showmenu=services;status=Services;");
aI("text=Our Specialists;align=right;showmenu=specialists;status=Our Specialists;");
aI("text=International Marketing;align=right;url=../international_marketing.asp;status=International Marketing;");
aI("text=Stallions;align=right;showmenu=sidestallions;Status=Stallions;");
aI("text=Embryo Program;align=right;url=../embryo_program.asp;Status=Embryo Program;");
aI("text=Enrolled Mares;align=right;showmenu=mares;status=Enrolled Mares;");
aI("text=Downloadable Forms;align=right;url=../forms.asp;status=Downloadable Forms;");
aI("text=Directions;align=right;url=../directions.asp;status=Directions;");
aI("text=Contact Us;align=right;url=../contact.asp;status=Contact Us;");
}
with(pappy=new menuname("FlagMenu")){
alwaysvisible=1;
followscroll=420;
left=120;
top="450";
orientation="horizontal";
style=flagmenuStyle;
aI("image=../flags/argentina.gif;url=argentina.asp;status=Click to view Argentina");
aI("image=../flags/australia.gif;url=australia.asp;status=Click to view Australia");
aI("image=../flags/brazil.gif;url=brazil.asp;status=Brasil");
aI("image=../flags/great_britain.gif;url=england.asp;status=Click to view England");
}
with(pappy=new menuname("FlagMenu2")){
alwaysvisible=1;
followscroll=420;
left=120;
top="472";
orientation="horizontal";
style=flagmenuStyle;
aI("image=../flags/euro.gif;url=http://www.paradise-farms.de;status=Click to view European Union");
aI("image=../flags/mexico.gif;url=mexico.asp;status=Click to view Mexico");
aI("image=../flags/new_zealand.gif;url=new_zealand.asp;status=Click to view New Zealand");
aI("image=../flags/usa.gif;url=usa.asp;status=Click to view United States");
}
with(pappy=new menuname("FlagText")){
alwaysvisible=1;
followscroll=420;
left=125;
top="490";
orientation="horizontal";
style=flagmenuStyle;
aI("text=click flag to select home page;align=center;");
}
drawMenus();
with(pappy=new menuname("SideStallions")){
style=stallionsidemenuStyle;
top="offset=0";
left="offset=5";
itemwidth=150;
aI("align=left;fontsize=14px;fontweight=bold;text=These stallions<BR> are available only in<BR>the following countries<BR>;type=header;");
aI("image=../flags/argentina.gif;text=Argentina;left=right;showmenu=argentinastallions;status=View Argentina Stallions;");
aI("image=../flags/australia.gif;text=Australia;align=left;showmenu=ausstallions;status=View Australian Stallions;");
aI("image=../flags/brazil.gif;text=Brazil;align=left;showmenu=brstallions;status=View Brazilian Stallions;");
aI("image=../flags/euro.gif;text=EU;align=left;showmenu=eurostallions;status=View European Union Stallions;");
aI("image=../flags/great_britain.gif;text=England;left=right;showmenu=britstallions;status=View England Stallions;");
aI("image=../flags/mexico.gif;text=Mexico;left=right;showmenu=mexstallions;status=View Mexico Stallions;");
aI("image=../flags/new_zealand.gif;text=New Zealand;align=left;showmenu=nzstallions;status=View New Zealand Stallions;");
aI("image=../flags/usa.gif;text=U.S.A.;align=left;showmenu=usstallions;status=View U.S.A. Stallions;");
}
with(pappy=new menuname("eurostallions")){
style=stallionsubmenuStyle;
top="offset=0";
left="offset=0";
itemwidth=150;
aI("align=center;fontsize=14px;fontweight=bold;text=European Union;type=header;");
aI("align=center;image=../flags/euro_med.jpg;imagealign=center;itemheight=17;type=header;");
aI("text=Artful Investment;align=left;url=../artful_investment.asp;status=Artful Investment;");
aI("text=Blazing Hot;align=left;url=../Blazing_Hot.asp;status=Blazing Hot;");
aI("text=Certain Potential;align=left;url=../Certain_Potential.asp;status=Certain Potential;");
aI("text=Colonels Lone Gun;align=left;url=../colonels_lone_gun.asp;status=Colonels Lone Gun;");
aI("text=Colonels Smokingun;align=left;url=../colonels_smokingun.asp;status=Colonels Smokingun;");
aI("text=Consider His Source;align=left;url=../consider_his_source.asp;status=Consider His Source;");
aI("text=Peek A Pep;align=left;url=../peek_a_pep.asp;status=Peek A Pep;");
aI("text=Rio Starlight;align=left;url=../rio_starlight.asp;status=Rio Starlight;");
aI("text=Shaken Boonsmal;align=left;url=../shaken_boonsmal.asp;status=Shaken Boonsmal;");
aI("text=Smart Spook;align=left;url=../smart_spook.asp;status=Smart Spook;");
aI("text=Smartest Chic Olena;align=left;url=../smartest_chic_olena.asp;status=Smartest Chic Olena;");
aI("text=Whiz N Tag Chex;align=left;url=../whiz_n_tag_chex.asp;status=Whiz N Tag Chex;");
}
with(pappy=new menuname("argentinastallions")){
style=stallionsubmenuStyle;
top="offset=0";
left="offset=0";
itemwidth=150;
aI("align=center;fontsize=14px;fontweight=bold;text=Argentina;type=header;");
aI("align=center;image=../flags/argentina_med.jpg;imagealign=center;itemheight=17;type=header;");
aI("text=Artful Investment;align=left;url=../artful_investment.asp;status=Artful Investment;");
aI("text=Blazing Hot;align=left;url=../Blazing_Hot.asp;status=Blazing Hot;");
aI("text=Certain Potential;align=left;url=../Certain_Potential.asp;status=Certain Potential;");
aI("text=Colonels Lone Gun;align=left;url=../colonels_lone_gun.asp;status=Colonels Lone Gun;");
aI("text=Colonels Smokingun;align=left;url=../colonels_smokingun.asp;status=Colonels Smokingun;");
aI("text=Consider His Source;align=left;url=../consider_his_source.asp;status=Consider His Source;");
aI("text=Peek A Pep;align=left;url=../peek_a_pep.asp;status=Peek A Pep;");
aI("text=Rio Starlight;align=left;url=../rio_starlight.asp;status=Rio Starlight;");
aI("text=Shaken Boonsmal;align=left;url=../shaken_boonsmal.asp;status=Shaken Boonsmal;");
aI("text=Smart Spook;align=left;url=../smart_spook.asp;status=Smart Spook;");
aI("text=Smartest Chic Olena;align=left;url=../smartest_chic_olena.asp;status=Smartest Chic Olena;");
aI("text=Whiz N Tag Chex;align=left;url=../whiz_n_tag_chex.asp;status=Whiz N Tag Chex;");
}
with(pappy=new menuname("britstallions")){
style=stallionsubmenuStyle;
top="offset=0";
left="offset=0";
itemwidth=150;
aI("align=center;fontsize=14px;fontweight=bold;text=England;type=header;");
aI("align=center;image=../flags/great_britain_med.jpg;imagealign=center;itemheight=17;type=header;");
aI("text=Artful Investment;align=left;url=../artful_investment.asp;status=Artful Investment;");
aI("text=Blazing Hot;align=left;url=../Blazing_Hot.asp;status=Blazing Hot;");
aI("text=Certain Potential;align=left;url=../Certain_Potential.asp;status=Certain Potential;");
aI("text=Colonels Lone Gun;align=left;url=../colonels_lone_gun.asp;status=Colonels Lone Gun;");
aI("text=Colonels Smokingun;align=left;url=../colonels_smokingun.asp;status=Colonels Smokingun;");
aI("text=Consider His Source;align=left;url=../consider_his_source.asp;status=Consider His Source;");
aI("text=Peek A Pep;align=left;url=../peek_a_pep.asp;status=Peek A Pep;");
aI("text=Rio Starlight;align=left;url=../rio_starlight.asp;status=Rio Starlight;");
aI("text=Shaken Boonsmal;align=left;url=../shaken_boonsmal.asp;status=Shaken Boonsmal;");
aI("text=Smart Spook;align=left;url=../smart_spook.asp;status=Smart Spook;");
aI("text=Smartest Chic Olena;align=left;url=../smartest_chic_olena.asp;status=Smartest Chic Olena;");
aI("text=Whiz N Tag Chex;align=left;url=../whiz_n_tag_chex.asp;status=Whiz N Tag Chex;");
}
with(pappy=new menuname("usstallions")){
style=stallionsubmenuStyle;
top="offset=0";
left="offset=0";
itemwidth=150;
aI("align=center;fontsize=14px;fontweight=bold;text=U.S.A.;type=header;");
aI("align=center;image=../flags/usa_med.jpg;imagealign=center;itemheight=17;type=header;");
aI("text=Hunting For Chocolate;align=left;url=../hunting_for_chocolate.asp;status=Hunting For Chocolate;");
aI("text=Zips Charm;align=left;url=../zips_charm.asp;status=Zips Charm;");
aI("text=On Holiday;align=left;url=../on_holiday.asp;status=On Holiday;");
}
with(pappy=new menuname("ausstallions")){
style=stallionsubmenuStyle;
top="offset=5";
left="offset=0";
itemwidth=150;
aI("align=center;fontsize=14px;fontweight=bold;text=Australia;type=header;");
aI("image=../flags/australia_med.jpg;imagealign=center;itemheight=58;type=header;");
aI("text=Artful Investment;align=left;url=../artful_investment.asp;status=Artful Investment;");
aI("text=Blazing Hot;align=left;url=../Blazing_Hot.asp;status=Blazing Hot;");
aI("text=Certain Potential;align=left;url=../Certain_Potential.asp;status=Certain Potential;");
aI("text=Colonels Lone Gun;align=left;url=../colonels_lone_gun.asp;status=Colonels Lone Gun;");
aI("text=Colonels Smokingun;align=left;url=../colonels_smokingun.asp;status=Colonels Smokingun;");
aI("text=Consider His Source;align=left;url=../consider_his_source.asp;status=Consider His Source;");
aI("text=Peek A Pep;align=left;url=../peek_a_pep.asp;status=Peek A Pep;");
aI("text=Rio Starlight;align=left;url=../rio_starlight.asp;status=Rio Starlight;");
aI("text=Shaken Boonsmal;align=left;url=../shaken_boonsmal.asp;status=Shaken Boonsmal;");
aI("text=Smart Spook;align=left;url=../smart_spook.asp;status=Smart Spook;");
aI("text=Smartest Chic Olena;align=left;url=../smartest_chic_olena.asp;status=Smartest Chic Olena;");
aI("text=Whiz N Tag Chex;align=left;url=../whiz_n_tag_chex.asp;status=Whiz N Tag Chex;");
}
with(pappy=new menuname("mexstallions")){
style=stallionsubmenuStyle;
top="offset=0";
left="offset=0";
itemwidth=150;
aI("align=center;fontsize=14px;fontweight=bold;text=Mexico;type=header;");
aI("align=center;image=../flags/mexico_med.jpg;imagealign=center;itemheight=17;type=header;");
aI("text=Artful Investment;align=left;url=../artful_investment.asp;status=Artful Investment;");
aI("text=Blazing Hot;align=left;url=../Blazing_Hot.asp;status=Blazing Hot;");
aI("text=Certain Potential;align=left;url=../Certain_Potential.asp;status=Certain Potential;");
aI("text=Colonels Lone Gun;align=left;url=../colonels_lone_gun.asp;status=Colonels Lone Gun;");
aI("text=Colonels Smokingun;align=left;url=../colonels_smokingun.asp;status=Colonels Smokingun;");
aI("text=Consider His Source;align=left;url=../consider_his_source.asp;status=Consider His Source;");
aI("text=Peek A Pep;align=left;url=../peek_a_pep.asp;status=Peek A Pep;");
aI("text=Rio Starlight;align=left;url=../rio_starlight.asp;status=Rio Starlight;");
aI("text=Shaken Boonsmal;align=left;url=../shaken_boonsmal.asp;status=Shaken Boonsmal;");
aI("text=Smart Spook;align=left;url=../smart_spook.asp;status=Smart Spook;");
aI("text=Smartest Chic Olena;align=left;url=../smartest_chic_olena.asp;status=Smartest Chic Olena;");
aI("text=Whiz N Tag Chex;align=left;url=../whiz_n_tag_chex.asp;status=Whiz N Tag Chex;");
}
with(pappy=new menuname("nzstallions")){
style=stallionsubmenuStyle;
top="offset=5";
left="offset=0";
itemwidth=150;
aI("align=center;fontsize=14px;fontweight=bold;text=New Zealand;type=header;");
aI("align=center;image=../flags/new_zealand_med.jpg;imagealign=center;itemheight=17;type=header;");
aI("text=Artful Investment;align=left;url=../artful_investment.asp;status=Artful Investment;");
aI("text=Blazing Hot;align=left;url=../Blazing_Hot.asp;status=Blazing Hot;");
aI("text=Certain Potential;align=left;url=../Certain_Potential.asp;status=Certain Potential;");
aI("text=Colonels Lone Gun;align=left;url=../colonels_lone_gun.asp;status=Colonels Lone Gun;");
aI("text=Colonels Smokingun;align=left;url=../colonels_smokingun.asp;status=Colonels Smokingun;");
aI("text=Consider His Source;align=left;url=../consider_his_source.asp;status=Consider His Source;");
aI("text=Peek A Pep;align=left;url=../peek_a_pep.asp;status=Peek A Pep;");
aI("text=Rio Starlight;align=left;url=../rio_starlight.asp;status=Rio Starlight;");
aI("text=Shaken Boonsmal;align=left;url=../shaken_boonsmal.asp;status=Shaken Boonsmal;");
aI("text=Smart Spook;align=left;url=../smart_spook.asp;status=Smart Spook;");
aI("text=Smartest Chic Olena;align=left;url=../smartest_chic_olena.asp;status=Smartest Chic Olena;");
aI("text=Whiz N Tag Chex;align=left;url=../whiz_n_tag_chex.asp;status=Whiz N Tag Chex;");
}
with(pappy=new menuname("brstallions")){
style=stallionsubmenuStyle;
top="offset=5";
left="offset=0";
itemwidth=150;
aI("align=center;fontsize=14px;fontweight=bold;text=Brazil;type=header;");
aI("align=center;image=../flags/brazil_med.jpg;imagealign=center;itemheight=17;type=header;");
aI("text=Artful Investment;align=left;url=../artful_investment.asp;status=Artful Investment;");
aI("text=Blazing Hot;align=left;url=../Blazing_Hot.asp;status=Blazing Hot;");
aI("text=Certain Potential;align=left;url=../Certain_Potential.asp;status=Certain Potential;");
aI("text=Colonels Lone Gun;align=left;url=../colonels_lone_gun.asp;status=Colonels Lone Gun;");
aI("text=Colonels Smokingun;align=left;url=../colonels_smokingun.asp;status=Colonels Smokingun;");
aI("text=Consider His Source;align=left;url=../consider_his_source.asp;status=Consider His Source;");
aI("text=Peek A Pep;align=left;url=../peek_a_pep.asp;status=Peek A Pep;");
aI("text=Rio Starlight;align=left;url=../rio_starlight.asp;status=Rio Starlight;");
aI("text=Shaken Boonsmal;align=left;url=../shaken_boonsmal.asp;status=Shaken Boonsmal;");
aI("text=Smart Spook;align=left;url=../smart_spook.asp;status=Smart Spook;");
aI("text=Smartest Chic Olena;align=left;url=../smartest_chic_olena.asp;status=Smartest Chic Olena;");
aI("text=Whiz N Tag Chex;align=left;url=../whiz_n_tag_chex.asp;status=Whiz N Tag Chex;");
}
drawMenus();
with(pappy=new menuname("specialists")){
style=submenuStyle;
top="offset=0";
left="offset=10";
itemwidth=180;
aI("text=Meet Our Specialists;align=left;url=../specialists.asp;");
aI("text=Mario Zerlotti;align=left;url=../mario_zerlotti.asp;");
aI("text=Darrell Schaeffer;align=left;url=../darrell_schaeffer.asp;");
aI("text=Trigg Rentfro;align=left;url=../trigg_rentfro.asp;");
}
with(pappy=new menuname("services")){
style=submenuStyle;
top="offset=0";
left="offset=10";
itemwidth=180;
aI("text=Overview;align=left;url=../services.asp;");
aI("text=Embryo Program;align=left;url=../embryo_program.asp;");
aI("text=Artificial Insemination;align=left;url=../artificial_insemination.asp;");
aI("text=Embryo Transfer;align=left;url=../embryo_transfer.asp;");
aI("text=Embryo Transfer<BR>Excluding Insemination;align=left;url=../embryo_transfer_exclude.asp;");
aI("text=Shipped Embryo<BR>For Transfer;align=left;url=../shipped_embryo_transfer.asp;");
aI("text=Male Reproduction<BR>Evaluation;align=left;url=../male_reproduction.asp;");
aI("text=Mare Reproduction<BR>Evaluation;align=left;url=../mare_reproduction.asp;");
}
with(pappy=new menuname("mares")){
style=submenuStyle;
top="offset=0";
left="offset=10";
itemwidth=160;
aI("text=Coolest Texas Rose;align=left;url=coolest_texas_rose.asp;");
aI("text=Exactly Awesome;align=left;url=exactly_awesome.asp;");
aI("text=Forever My Daddy;align=left;url=forever_my_daddys.asp;");
aI("text=Impressible Madonna;align=left;url=impressible_madonna.asp;");
aI("text=MS Conclusive News;align=left;url=ms_conclusive_news.asp;");
aI("text=Obviously Miss Te;align=left;url=obviously_miss_te.asp;");
aI("text=SG Standing Ovation;align=left;url=sg_standing_ovation.asp;");
aI("text=Terriblea Quincy;align=left;url=terriblea_quincy.asp;");
aI("text=Town Royalty;align=left;url=town_royalty.asp;");
aI("text=VR Scottish Heiress;align=left;url=vr_scottish_heiress.asp;");
aI("text=VR Velvet Jackie;align=left;url=vr_velvet_jackie.asp;");
}
drawMenus() // Draw the sub menus first.
Poster: Ruth
Dated: Sunday April 24 2005 - 23:36:07 BST
Hi,
You've got the followscroll set to the same for the two flag menus followscroll=420; I think you need to set the lower menu to something like 440 or so. Kevin gave a pretty good explanation of followscroll parameters and how they work in this topic
Ruth