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:51
first line of my menu
Poster: xenophil
Dated: Saturday March 5 2005 - 13:55:27 GMT
hello all
and thank you milonic
but my first line of my menu is parameter of "menu"
and when i'm on the net it's writte "MILONIC" .
it's very strange
tanks for reply
Poster: Ruth
Dated: Saturday March 5 2005 - 14:47:43 GMT
Check this topic for information. It's probably because you're on the desktop, if you've done it correctly and it's not showing on the web.
Ruth
Poster: xenophil
Dated: Saturday March 5 2005 - 21:10:11 GMT
thank you I love this menu
i think it's the best menu !!!
but i have another probleme
---->
i wish that when i go down or up with the window of the page where there is the "milonic-menu" this one deplace with the window and it is always visible.
it's important thanks for reply bye
Poster: Ruth
Dated: Saturday March 5 2005 - 23:59:52 GMT
If you mean when you use the scroll bar in the browser you want the menu to follow down the page, in the menu definition, where you have style= top=alwaysvisible=1; put followscroll=1; Then the menu will follow down the page when you scroll it.
Ruth
Poster: xenophil
Dated: Sunday March 6 2005 - 1:10:45 GMT
I must change "menu_data.js" ?
i haven't the line
style= top=alwaysvisible=1;
followscroll=1;
I must add those line in this file or in another file ?
Quote:
with(menuStyle=new mm_style()){
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="80%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#DCE9F0";
offcolor="#515151";
onbgcolor="#4F8EB6";
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=1;
subimage="arrow.gif";
subimagepadding=3;
style= top=alwaysvisible=1;
}
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="80%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#DCE9F0";
offcolor="#515151";
onbgcolor="#4F8EB6";
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=1;
subimage="arrow.gif";
subimagepadding=3;
style= top=alwaysvisible=1;
}
can you help me plz ruth
Poster: Ruth
Dated: Sunday March 6 2005 - 1:20:20 GMT
I'm sorry, not in the style, in the menu part. I should have been clearer. For example on the Milonic site it would be in this part
Code:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=240;
screenposition="center";
alwaysvisible=1;
orientation="horizontal";
You would put it after the orientation="horizontal"; followscroll=1;
style=menuStyle;
top=240;
screenposition="center";
alwaysvisible=1;
orientation="horizontal";
Ruth
Poster: xenophil
Dated: Sunday March 6 2005 - 1:27:24 GMT
tank you very much
but the menu can't keep the same place of my page ?
when i scroll a little the "milonic-menu" goes down but stay in the top of my page
if its normal it's not a problem ....
thx ruth
Poster: Ruth
Dated: Sunday March 6 2005 - 2:14:52 GMT
Yes, that is normal, when you scroll the menu stays at the top of the page. If you wanted it to be at the same 'top' position as it is when you first open the page I think you can do that. For example, let's say you have set the top position to top=20; and when it scrolls you would like it to be at that top=20; position always, you can change the way you set the top to top="offset=20";
That would still put the menu at the top position of 20px down, but it would also put the menu at that 20px down from the top when it scrolled.
Ruth
Poster: xenophil
Dated: Sunday March 6 2005 - 2:20:20 GMT
i have test but there is a probleme it's like before !!!!
Quote:
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=50;
overflow="scroll";
style=menuStyle;
top=offset=300;
alwaysvisible=1;
left=50;
overflow="scroll";
style=menuStyle;
top=offset=300;
it's here that i must change ?
before it's top=300;
sorry it's not the good solution if you have another solution can you tell it me ?
bye and thx
sorry I'm very tired see you tomorrow
Poster: Ruth
Dated: Sunday March 6 2005 - 4:07:01 GMT
If the original top position is 300, then you want to code it:
Code:
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=50;
overflow="scroll";
style=menuStyle;
top="offset=300";
alwaysvisible=1;
left=50;
overflow="scroll";
style=menuStyle;
top="offset=300";
You left the " marks out. Also, I don't see the code for it to follow, that's followscroll=1;
Ruth
Poster: xenophil
Dated: Sunday March 6 2005 - 11:55:08 GMT
i have put this code
Quote:
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=50;
overflow="scroll";
style=menuStyle;
top="offset=300";
alwaysvisible=1;
left=50;
overflow="scroll";
style=menuStyle;
top="offset=300";
but the "milonic-menu" stay in the top of the page about 1cm ..
and when i scroll it don't move ...
i think i put top=300"; likr before
please visit for see my menu : --->http://xenophil.chez.tiscali.fr/
Poster: Ruth
Dated: Sunday March 6 2005 - 18:42:01 GMT
You do not have the correct coding. You have overflow="scroll" only which is, I think, debordment would be the French equivalent. It puts a scroll bar in very long submenus so they stay fully on the screen. But as I noted in my other post,
Code:
Also, I don't see the code for it to follow, that's followscroll=1;
you still don't have followscroll=1; which makes the main menu follow when you scroll the page.Code:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top="offset=300";
left=50;
overflow="scroll";
followscroll=1;
alwaysvisible=1;
style=menuStyle;
top="offset=300";
left=50;
overflow="scroll";
followscroll=1;
alwaysvisible=1;
Ruth
Poster: xenophil
Dated: Sunday March 6 2005 - 19:18:24 GMT
i will test
thx
and i will post a reply if it's OK and if it's NOT OK lol
thanks for all
Poster: xenophil
Dated: Wednesday March 9 2005 - 23:19:10 GMT
ok my menu scroll only with top=offset=300;
and don't scrool with top="offset=300"; strange ??
but he dont stay in the same position when I scroll ??
look at my code please :
Quote:
with(milonic=new menuname("Main Menu")){
alwaysvisible=1
left=50;
overflow="scroll";
followscroll=1;
style=menuStyle;
top=offset=300;
orientation="vertical";followscroll=1;
followscroll=1;
aI
alwaysvisible=1
left=50;
overflow="scroll";
followscroll=1;
style=menuStyle;
top=offset=300;
orientation="vertical";followscroll=1;
followscroll=1;
aI
thanks for all visit http://xenophil.chez.tiscali.fr/ for exemple !
Poster: John
Dated: Wednesday March 9 2005 - 23:25:52 GMT
You have followscroll=1; in there 3 times! Once is enough.
Also, as Ruth mentioned, you need the " in top="offset=300"; .
Poster: Ruth
Dated: Thursday March 10 2005 - 1:15:55 GMT
There seems to be a bug on the offset= when you use " which are required. I've reported it.
Ruth
Poster: xenophil
Dated: Friday March 11 2005 - 17:19:49 GMT
ok but if I put the " he stay at the top of my windows
Are you sure that I do use the " ??
because I heve test the twice and without " i can scroll but he stay on the top of my windows
if you have not another solution thank you ( quand meme ) in french !!!!
Poster: Ruth
Dated: Tuesday March 15 2005 - 12:03:12 GMT
Hi,
OK, I finally figured it out. I'm not up on variables so it took someone to explain it to me. This is the code you want for your menu.
Code:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=300;
left=50;
overflow="scroll";
followscroll=300;
alwaysvisible=1;
style=menuStyle;
top=300;
left=50;
overflow="scroll";
followscroll=300;
alwaysvisible=1;
The 300 in the followscroll tells the menu where to be on the page when it stops scrolling. So, get rid of the top="offset=, even though you have it working without quotes. Just make it top=300; and followscroll=300; I'm sorry it took so long. Make sure you correct this because what you have top=offset=300; without quotes might cause problems in some browsers because it's not supposed to be like that. The top="offset= is supposed to be used for positioning a submenu that you want to be different from the usual position of a submenu.
Ruth