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

rc 17 screenposition and followscroll param


Poster: 4viggo
Dated: Wednesday October 15 2003 - 10:46:41 BST

Using rc17, windows xp and ie6
when using:
Code:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
screenposition="top;center"
top="offset=100";
left="offset=50";
followscroll="20";
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://www.milonic.co.uk/;status=Back To Home Page;");
aI("text=Menu Samples;showmenu=Samples;");
aI("text=Milonic;showmenu=Milonic;");
aI("text=Partners;showmenu=Partners;");
aI("text=Links;showmenu=Links;");
aI("text=My Milonic;showmenu=My Milonic;");
}

The result is the menu follows scroll but at the top offset param of 100px down the page no matter what you set the followscroll param to. It's no different using all 3 params for followscroll either.

Then if using this bit of code:
Code:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
screenposition="center"
top="200";
left="offset=50";
followscroll="20";
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://www.milonic.co.uk/;status=Back To Home Page;");
aI("text=Menu Samples;showmenu=Samples;");
aI("text=Milonic;showmenu=Milonic;");
aI("text=Partners;showmenu=Partners;");
aI("text=Links;showmenu=Links;");
aI("text=My Milonic;showmenu=My Milonic;");
}

The menu follow scroll but only at 1px from top, disregarding the followscroll params.

Is there any possibility to get the menu to work with screenposition and the followscroll params at the same time?

regards
4viggo


Poster: Hergio
Dated: Wednesday October 15 2003 - 21:14:25 BST

Followscroll can take up to three parameters. Thats how you can more accurately control how the menu behaves. See http://www.milonic.com/menuproperties.php and look towards the bottom for followscroll.


Poster: 4viggo
Dated: Wednesday October 15 2003 - 22:43:09 BST

As i stated in the previous post:
Quote:
It's no different using all 3 params for followscroll either.

The followscroll param that sets the distance from the top when you are scrolling is ignored as long as the screenposition is in use :(
Code:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
screenposition="top;center";
left="offset=35";
top="offset=75";
alwaysvisible=1;
orientation="horizontal";
followscroll= "19,100,5";
aI("text=Home;url=index2.html;status=Back To Home Page;");
etc....


This problem has been there for some time, hopefully Andy will look into it :D

regards
4viggo


Poster: 4viggo
Dated: Wednesday October 15 2003 - 22:48:38 BST

The problem has been posted earlier as well: http://www.milonic.com/forum/viewtopic.php?t=2644&highlight=

Back in the rc12 days.....

regards
4viggo


Poster: 4viggo
Dated: Thursday October 23 2003 - 12:28:13 BST

Bumping this one back up the ladder again.

regards
4viggo