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

Some Pb with ver 5.0 and image...


Poster: pretty
Dated: Tuesday January 6 2004 - 11:34:05 GMT

well i first had a ver 3 and was using it to made a menu on iwch when i roll over was opening a submenu in a frame.

had this code
Code:
addmenu(menu=[      // This is the array that contains your menu properties and details
"simplemenu1",      // Menu items Name
115,               // Top
140,            // left
100,               // Width
1,               // Border Width
"center",               // Screen Position - here you can use "center;left;right;middle;top;bottom"
plain_style,      // Properties Array - this is set higher up, as above
1,               // Always Visible - allows the menu item to be visible at all time
"center",            // Alignment - sets the menu elements alignment, HTML values are valid here for example: left, right or center
effect,            // Filter - Text variable for setting transitional effects on menu activation
,               // Follow Scrolling - Tells the menu item to follow the user down the screen
1,                // Horizontal Menu - Tells the menu to be horizontal instead of top to bottom style
,               // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,               // Position of TOP sub image left:center:right
,               // Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,               // Right To Left - Used in Hebrew for example. (1=on/0=off)
,               // Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,               // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,               // Background image for menu when BGColor set to transparent.
,               // Scrollable Menu
,               // Reserved for future use
,"A propos","show-menu=apropos target=main;sourceframe=main;",,"#",1// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Solutions","show-menu=solutions target=main;sourceframe=main;",,"#",1
,"Nouveautés","show-menu=nouveautes target=main;sourceframe=main;",,"#",1
,"Produits","show-menu=produits target=main;sourceframe=main;",,"#",1
,"Support","show-menu=support target=main;sourceframe=main;",,"#",1
])


but now with the new ver and trying to use the image, i just found that my option sourceframe disapear 8O

So it doesnt work... and my menu didnt pops in the frame.

I tried
Code:
with(milonic=new menuname("Main Menu")){
style=AllImagesStyle;
top=107;
left=0;
alwaysvisible=1;
orientation="horizontal";
aI("showmenu=apropos;target=main;image=apropos.gif;overimage=apropos2.gif;");
aI("showmenu=solutions;target=main;image=apropos.gif;overimage=apropos2.gif;");
aI("showmenu=nouveautes;target=main;image=apropos.gif;overimage=apropos2.gif;");
aI("showmenu=produits;target=main;image=apropos.gif;overimage=apropos2.gif;");
aI("showmenu=support;target=main;image=apropos.gif;overimage=apropos2.gif;");
}


but it still not work...
of course i made change in all my source.
But i must confess that i'm a little lost with the new vers :oops: