3 conversions done one to go, with a little help

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
donbmjr
Advanced
Advanced
Posts: 11
Joined: Tue Oct 07, 2003 10:33 pm

3 conversions done one to go, with a little help

Post by donbmjr »

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=mailto:webmaster@theinsidegroove.com;;separatorsize=1")
}

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

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

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

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

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

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

with(milonic=new menuname("photo8")){
itemwidth=1;
style=menuStyle;
aI("image=pictures/stewart_tony/ts08.jpg;url=mailto:webmaster@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>","mailto:webmaster@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>","mailto:webmaster@theinsidegroove.com",,,1
])
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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

Code: Select all

with(=new mm_style()){ 
No style name (twice).

Code: Select all

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

itemwidth=1;
I don't think you want 1.

Code: Select all

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.
John
Post Reply