Leftsided menu follow when scrolling

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
saaiberke
Beginner
Beginner
Posts: 6
Joined: Sat Feb 09, 2008 2:31 pm

Leftsided menu follow when scrolling

Post by saaiberke »

I'm wondering if it would be possible to have my menu follow the screen focus when I scroll down on a page. Now I have the menu at the left side on top of my pages but when a user scrolls down, the menu stays on top and is invisible. I would like the menu to follow the scrolling.

Would this be possible?

Greetings,

Nic
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Leftsided menu follow when scrolling

Post by Andy »

Hi,

You should be able to do this by adding followscroll=true; to the left hand main menu properties, like this:

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
top=10;
followscroll=true;
aI("text=Home;url=http://milonic.com/;");
aI("showmenu=Samples;text=Menu Samples;");
aI("showmenu=Milonic;text=Milonic;");
aI("showmenu=Partners;text=Partners;");
aI("showmenu=Links;text=Links;");
aI("showmenu=MyMilonic;text=My Milonic;");
}
saaiberke
Beginner
Beginner
Posts: 6
Joined: Sat Feb 09, 2008 2:31 pm

Re: Leftsided menu follow when scrolling

Post by saaiberke »

Thank you Andy, I got it working now :) Didn't know how it was called exactly. ;)

Grtz,

Nic
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Leftsided menu follow when scrolling

Post by Ruth »

Hi,

Just for information, below my name are some links to properties, style, menu and item. You'll find the various properties that can be used in the related areas of the data file. Style in the style section, menu in the menu section etc. For most there is a little description of what it does and how to use it.

Ruth
saaiberke
Beginner
Beginner
Posts: 6
Joined: Sat Feb 09, 2008 2:31 pm

Re: Leftsided menu follow when scrolling

Post by saaiberke »

Thank you for the info ruth!

Greetings,

Nic
Post Reply