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

Images in Menu/Sub-Menu items


Poster: Nolly
Dated: Thursday December 11 2003 - 10:32:02 GMT

I would like to have an image in the main menu items (where appropriate)
at the beginning and not at the end (sub-image). I want to retain the image (sub-image) in the sub-menu items.

Can someone please enlighten me on how to do this.

Below, the 'v' and '>' represent menu/sub-menu images.

I have,

v One > v Two > v Three > v Four >
====
Alpha >
Bravo >

I would like,

v One v Two v Three v Four
====
Alpha >
Bravo >

Thanks


Poster: Nolly
Dated: Thursday December 11 2003 - 16:46:00 GMT

OK, I have found my own solution. It works and it gives me some of the flexibilty I was looking for.

Here is what I did.

//////////////////////////////
// Down Arrow for Main menu //
//////////////////////////////

mainStyle=new copyOf(menuStyle)
mainStyle.subimage="minimil.gif";
mainStyle.subimageposition="left";

/////////////////////////////
// Right Arrow for Sub-menu//
/////////////////////////////

subStyle=new copyOf(menuStyle)
subStyle.subimage="arrow.gif";
subStyle.subimageposition="right";