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:22
Leftsided menu follow when scrolling
Poster: saaiberke
Dated: Friday February 15 2008 - 12:32:29 GMT
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
Re: Leftsided menu follow when scrolling
Poster: Andy
Dated: Friday February 15 2008 - 12:42:55 GMT
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://www.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;");
}
Re: Leftsided menu follow when scrolling
Poster: saaiberke
Dated: Friday February 15 2008 - 14:45:11 GMT
Thank you Andy, I got it working now Didn't know how it was called exactly.
Grtz,
Nic
Re: Leftsided menu follow when scrolling
Poster: Ruth
Dated: Friday February 15 2008 - 16:29:03 GMT
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
Re: Leftsided menu follow when scrolling
Poster: saaiberke
Dated: Tuesday February 19 2008 - 15:13:10 GMT
Thank you for the info ruth!
Greetings,
Nic