Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:14

followscroll param not friend with overflow=scroll

Poster: phd
Dated: Saturday September 6 2003 - 20:44:32 BST

I am using version 5.0, with a vertical menu set with followscroll=20. It is behaving as expected till there.

Now, in case I set overflow=scroll, the situation gets worth : when the page as been scrolled (otherwise it is OK), the main menu is repositionned at 20px of the top, as expected. BUT : the submenus are in a mess :

- their bottom goes till the Netscape or IE window bottom, even if there is just one item in this submenu : the item appears a bit alone in this Y-long box ...

- sometime the submenu is displayed at the top of the window, instead of being at the level of the main menu selected item.

The only workaround I know is unsetting the overflow param.

Poster: Maz
Dated: Saturday September 6 2003 - 22:04:22 BST

This is funny, everytime I work something out, someone else has posted about this followscroll problem.

phd, your problem with extended submenus usually requires tweaking the menu until its really clean running. It would help if you state browser involved.

However, what I just realized, working on my broswer problem or whatever in IE 5.1.7 is that I can trick the menu, by placing the menu script with followscroll in a table, not using position=relative or table positioning, I used normal screen position. What this does is allow my template --content-- links to activate normally.

Here is the problem, the position from the top of screen, is subtracted from the scroll bar, if the screen position is top=70px then the scroll bar starts 70px down on the submenu. Does this make sense?


:lol: This subject is like the energizer bunny

Poster: phd
Dated: Sunday September 7 2003 - 16:50:57 BST

Thx for your prompt reply - Yes, it can explain what I observed.

Congratulations for your java development, it is from far the best configurable menu I ever met.


Poster: Maz
Dated: Sunday September 7 2003 - 19:07:18 BST

All congratulations go to Andy who developed the menu.

Let's just say I'm darning old socks when the majority buy a new 'computer'. ;)

There can't be any reason to have a browser lower than mine, check for updates. Most menu problems are caused by browsers redundant in handling javascript. If its an old system check for java system updates too.

Check out the posts on followcroll, try followscroll=1; that is on and off 1 or 0 only. Another method you will find involves this: followscroll="1,100,2"; but check the properties first, my flair is creativity, not memorizaton.

I had to tweak the code to perfection and check site html to make sure the menu worked on an old computer that would not accept the slightest error, followscroll & scroll require a work of art.