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:36
adding overflow=scroll causes the menu to go to the top
Poster: cubefree
Dated: Tuesday March 23 2004 - 20:21:26 GMT
Strange, when I add
Code:
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
Poster: Ruth
Dated: Wednesday March 24 2004 - 3:03:11 GMT
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:
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";
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