adding overflow=scroll causes the menu to go to the top

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
cubefree
Super Advanced
Super Advanced
Posts: 82
Joined: Fri Aug 01, 2003 3:16 am
Location: Seattle, WA
Contact:

adding overflow=scroll causes the menu to go to the top

Post by cubefree »

Strange, when I add

Code: Select all

overflow="scroll";
to the code, my menu goes completely to the top.

What would cause that?

See http://www.stillpointhealth.net/dev/, then mouseover Practitioners.

Using Version 5.09 - Built: Sunday March 21 2004 - 17:08
Thx, Cube
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I messed around and it seems as soon as you declare a menuheight that happens. I did get it to work by the following.

Code: Select all

with(milonic=new menuname("praclist")){

style = subStyle;
top=360;
//left=menu_left + 600;
//menuwidth=150;
menuheight=100;
//alwaysvisible=1;
orientation="vertical";
//followscroll = "55,50,15";
overflow="scroll";
The top position fixed it, put the menu about 5 or so pixels below the 'practitioners. You'll note that I also changed the menuheight to 100. That's because at 800x600 resolution the bottom of the menu was below the bottom of the browser edge and you could never get the last names.

Ruth

Ruth
Post Reply