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: Thursday February 8 2018 - 06:02:16

rollovers & images


Poster: Valarie
Dated: Tuesday January 6 2004 - 21:13:53 GMT

I’ve used the search feature of this forum, but have unable to locate an answer to my problem. This is mock-up for part of the menu_data.js that I’m using. My two issues are as follows:

Issue One:
I’m attempting to use rollover images for the main menu, without arrows. All submenus will be the ‘default look’ (no images) but using the arrows for those menus that branch out further than the first submenu. Currently I can’t seem to display an image that has a submenu without the arrow.

with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=175;
left=7;
alwaysvisible=1;
overflow="scroll";
aI("text=Home;url=http://NewWeb/index.htm;status=Back To Home Page;");
aI("showmenu=Membership;image=tempoff100x35.gif;overimage=temp100x35.gif;")
aI("text=Education;showmenu=Education;");
}


Issue Two:
This has to do with addressing the graphics. I want to put all menu options PLUS the arrow into a folder called Elements. However, I can’t seem to get the menu to look at that area even if I do the following:

headercolor="#000000";
headerbgcolor="#ffffff";
subimage="/Elements/arrow.gif";
subimagepadding="2";
.
.
.
aI("showmenu=Membership;image=/Elements/tempoff100x35.gif;overimage=/Elements/temp100x35.gif;")

I don’t want to have to put the images in every folder that access the menu. I’m able to put the *.js files into a directory called /scripts and access as needed. I’ve put the images in the /scripts and the /elements without any success.

Thanks in advance for all assistance!!


Poster: Maz
Dated: Wednesday January 7 2004 - 1:26:24 GMT

A url would be helpful.

You need to duplicate the main menu style to create styles for the submenus, with subimages, give this a new style name to use on submenus.

If you take out all reference to subimage that will remove arrows from the main menu.

I am using an image folder for my images, /images/arrow.gif

Double check the path, make sure the text is correct and I don't know if its a case sensative problem, check those and it should work.

Regards,
maz