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

FollowScroll Setting - Wher is it?


Poster: SimpleSimon
Dated: Tuesday December 2 2003 - 11:31:28 GMT

I am playing with V5 but cannot seem to get the menu to position itself correctly once a page has scrolled. The setting i used in V3 was

// Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.

Can this be set in V5 because it seems to default to 1 or 2 pixels once the pages is scrolled vertically no matter what the initial setting is.

Many thanks

Simon


Poster: bobwill
Dated: Tuesday December 2 2003 - 13:24:55 GMT

At the beginning of your menu data, you can place the following commands.

_scrollAmount=3;
_scrollDelay=20;
_followSpeed=5;
_followRate=10;

The "_" are part of the command.


Poster: John
Dated: Tuesday December 2 2003 - 13:52:52 GMT

Check http://www.milonic.com/forum/viewtopic.php?t=2981 for a good recommended reading list.

As for followscroll, try followscroll = "1,100,2"; as a starter. The first parameter is the Top position that the menu will move to. Set it to 1 and the menu will scroll to pixel position 1. Set it to 100 and it will remain at pixel position 100. It's difficult to explain so might be an idea to try it out. Parameter 2 is the rate at which it scrolls and parameter 3 is the number of cycles per second, (or is it milliseconds - depends on what time of day you ask!).