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

3 conversions done one to go, with a little help


Poster: donbmjr
Dated: Saturday October 25 2003 - 3:18:10 BST

last one v3 to v5, mouse over photo, on left side of link below, this one did not come through the converter very well either, fixed several things but need to set the menu width at 210px

part of V5 converted and part of V3 below.
need help on the menu object definitions

Been a long day on these
Thanks again

Don Miller

http://www.theinsidegroove.com/drvinfo/ ... %20Stewart


_menuCloseDelay=500;
_menuOpenDelay=150;
_scrollAmount=3;
_scrollDelay=20;
_followSpeed=5;
_followRate=50;
_subOffsetTop=1;
_subOffsetLeft=1;

with(=new mm_style()){
offcolor="#000000";
offbgcolor="#f0f8ff";
oncolor="#ffffff";
onbgcolor="#4682b4";
bordercolor="#000000";
borderstyle="solid";
bordercolor="black";
fontsize="11";
fontstyle="normal";
fontweight="normal";
fontfamily="Verdana,Tahoma,Helvetica";
padding=4;
high3dcolor="#FFFFFF";
low3dcolor="#000000";
}

with(=new mm_style()){
offcolor="Imagemain";
offbgcolor="349";
oncolor="5";
onbgcolor="210";
bordercolor="1";
borderstyle="solid";
bordercolor="black";
fontsize="Right";
fontstyle=Gray3DStyle;
fontweight=1;
fontfamily="center";
padding="randomdissolve(duration=0.5)";
high3dcolor="1";
}

with(milonic=new menuname("driver")){
top=349;
itemwidth=30;
borderwidth=1;
style=menuStyle;
alignment="left";
aI("text=#1;showmenu=photo1;url=#")
aI("text=#2;showmenu=photo2;url=#")
aI("text=#3;showmenu=photo3;url=#")
aI("text=#4;showmenu=photo4;url=#")
aI("text=#5;showmenu=photo5;url=#")
aI("text=#6;showmenu=photo6;url=#")
aI("text=#7;showmenu=photo7;url=#")
aI("text=#8;showmenu=photo8;url=#")
aI("text=#9;showmenu=photo9;url=#")
aI("text=#10;showmenu=photo10;url=#")
}

with(milonic=new menuname("photo1")){
itemwidth=1;
style=menuStyle;
aI("image=pictures/stewart_tony/ts01.jpg;url=webmaster __at__ theinsidegroove.com;;separatorsize=1")
}

with(milonic=new menuname("photo2")){
itemwidth=1;
style=menuStyle;
aI("image=pictures/stewart_tony/ts02.jpg;url=webmaster __at__ theinsidegroove.com;;separatorsize=1")
}

with(milonic=new menuname("photo3")){
itemwidth=1;
style=menuStyle;
aI("image=pictures/stewart_tony/ts03.jpg;url=webmaster __at__ theinsidegroove.com;;separatorsize=1")
}

with(milonic=new menuname("photo4")){
itemwidth=1;
style=menuStyle;
aI("image=pictures/stewart_tony/ts04.jpg;url=webmaster __at__ theinsidegroove.com;;separatorsize=1")
}

with(milonic=new menuname("photo5")){
itemwidth=1;
style=menuStyle;
aI("image=pictures/stewart_tony/ts05.jpg;url=webmaster __at__ theinsidegroove.com;;separatorsize=1")
}

with(milonic=new menuname("photo6")){
itemwidth=1;
style=menuStyle;
aI("image=pictures/stewart_tony/ts06.jpg;url=webmaster __at__ theinsidegroove.com;;separatorsize=1")
}

with(milonic=new menuname("photo7")){
itemwidth=1;
style=menuStyle;
aI("image=pictures/stewart_tony/ts07.jpg;url=webmaster __at__ theinsidegroove.com;;separatorsize=1")
}

with(milonic=new menuname("photo8")){
itemwidth=1;
style=menuStyle;
aI("image=pictures/stewart_tony/ts08.jpg;url=webmaster __at__ theinsidegroove.com;;separatorsize=1")
}



V3 below


timegap=500
followspeed=5
followrate=50
suboffset_top=1
suboffset_left=1


Gray3DStyle=[
"000000", // Mouse Off Font Color
"f0f8ff", // Mouse Off Background Color (use zero for transparent in Netscape 6)
"ffffff", // Mouse On Font Color
"4682b4", // Mouse On Background Color
"000000", // Menu Border Color
"11", // Font Size (default is px but you can specify mm, pt or a percentage)
"normal", // Font Style (italic or normal)
"normal", // Font Weight (bold or normal)
"Verdana,Tahoma,Helvetica", // Font Name
4, // Menu Item Padding or spacing
,
,
"FFFFFF", // 3D High Color
"000000", // 3D Low Color
,
,
,
,
,
,
]


addmenu(menu=[
"Imagemain",
349, // Menu Top - The Top position of this menu in pixels
5, // Menu Left - The Left position of this menu in pixels
210, // Menu Width - Menus width in pixels
1, // Menu Border Width
"Right", // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
Gray3DStyle, // Properties Array - this array is declared higher up as you can see above
1,
"center", // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"randomdissolve(duration=0.5)",
0,
0,
1,
,
,
0,
0,
,
,
0,
,
,"Driver","show-menu=driver","#",,1
,"Car","show-menu=car","#",,1
,"Other Photos","show-menu=other","#",,1
])


addmenu(menu=[
"driver",
,
,
30, // Menu Width
1,
,
Gray3DStyle,
0,
"left",
"Fade(duration=0.5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"#1","show-menu=photo1","#",,0
,"#2","show-menu=photo2","#",,0
,"#3","show-menu=photo3","#",,0
,"#4","show-menu=photo4","#",,0
,"#5","show-menu=photo5","#",,0
,"#6","show-menu=photo6","#",,0
,"#7","show-menu=photo7","#",,0
,"#8","show-menu=photo8","#",,0
,"#9","show-menu=photo9","#",,0
,"#10","show-menu=photo10","#",,0
])


addmenu(menu=[
"photo1",
,
,
1, //photo width
, // border
,
Gray3DStyle,
0,
,
"Fade(duration=0.5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"<img src=pictures/stewart_tony/ts01.jpg border=1>","webmaster __at__ theinsidegroove.com",,,1
])


addmenu(menu=[
"photo2",
,
,
1, //photo width
0,
,
Gray3DStyle,
0,
,
"Fade(duration=0.5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"<img src=pictures/stewart_tony/ts02.jpg border=1>","webmaster __at__ theinsidegroove.com",,,1
])


Poster: John
Dated: Saturday October 25 2003 - 4:01:01 BST

Pretty much the same problems as before (at least I think they were yours)...

Code:
with(=new mm_style()){

No style name (twice).
Code:
with(=new mm_style()){
offcolor="Imagemain";
offbgcolor="349";
oncolor="5";
onbgcolor="210";
bordercolor="1";
borderstyle="solid";
bordercolor="black";
fontsize="Right";
fontstyle=Gray3DStyle;
fontweight=1;
fontfamily="center";
padding="randomdissolve(duration=0.5)";
high3dcolor="1";
}

Completely wrong.
Code:
itemwidth=1;

I don't think you want 1.
Code:
style=menuStyle;

This has not been defined.

With respect, Don, a quick glance at the code should have shown you these items. Numerous samples, and the Quick Reference guides, have been posted on the main site for a reason - to learn from.

Yes, we're here to help, and we're happy to do it, but we're not here to write your menus for you (any of us would be happy to quote you our standard fees for that!). If you're going to rely solely on the converter to do it all, then you're not going to be able to make full utilization of this great Milonic system. You need to do some helping and learning as well.