rc 17 screenposition and followscroll param

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
4viggo
Super Advanced
Super Advanced
Posts: 56
Joined: Wed Jun 12, 2002 12:03 pm
Location: Norway

rc 17 screenposition and followscroll param

Post by 4viggo »

Using rc17, windows xp and ie6
when using:

Code: Select all

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: Select all

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
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Followscroll can take up to three parameters. Thats how you can more accurately control how the menu behaves. See http://milonic.com/menuproperties.php and look towards the bottom for followscroll.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
4viggo
Super Advanced
Super Advanced
Posts: 56
Joined: Wed Jun 12, 2002 12:03 pm
Location: Norway

Post by 4viggo »

As i stated in the previous post:
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: Select all

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
User avatar
4viggo
Super Advanced
Super Advanced
Posts: 56
Joined: Wed Jun 12, 2002 12:03 pm
Location: Norway

Post by 4viggo »

The problem has been posted earlier as well: http://milonic.com/forum/viewtopic. ... highlight=

Back in the rc12 days.....

regards
4viggo
User avatar
4viggo
Super Advanced
Super Advanced
Posts: 56
Joined: Wed Jun 12, 2002 12:03 pm
Location: Norway

Post by 4viggo »

Bumping this one back up the ladder again.

regards
4viggo
Post Reply