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

Images & left border


Poster: dagon
Dated: Sunday August 17 2003 - 11:15:31 BST

I think that the offset of images from left border in menu v5rc5 is too small! Which setting controls this feature?


Poster: Hergio
Dated: Monday August 18 2003 - 14:19:03 BST

The documentation gives you some good ideas http://www.milonic.com/itemproperties.php. There are things like subimage padding and positioning so see what you can do. But I think easiest and smartest thing to do would be to change your images....
Take the image and put a couple more transparent pixels onto the left hand side of it, so its padded more. Very easy to do. Best of luck!


Poster: dagon
Dated: Thursday August 21 2003 - 14:26:12 BST

Hergio wrote:The documentation gives you some good ideas http://www.milonic.com/itemproperties.php. There are things like subimage padding and positioning so see what you can do. !

The properties you mentioned are suitable to act only on the submenu images...
Hergio wrote:But I think easiest and smartest thing to do would be to change your images....
Take the image and put a couple more transparent pixels onto the left hand side of it, so its padded more. Very easy to do. Best of luck!

Yes, the solution you propose is smart but not good. For me is not a problem to add some pixels on my images, but I think that for a lot of people using milonic menu this can be a big problem... don't you think? Can this problem be fixed by menu developers?
Excuse my poor english... Bye!


Poster: Hergio
Dated: Thursday August 21 2003 - 15:29:16 BST

First off, I would bet money on the fact that Andy could add this easily to the list of menu item properties, as he very well may do in the next couple of revisions, so keep an eye out for it. Hes got alot to take care of in the mean time... 8O

So what you could do is add the pixels or, put the image in the text attribute of the menu item. Basically you could put

Code: Select all

aI("text=<img src='/imgs/foo.gif' style='padding:5px;'>This is an item!;url=/index.asp;");
This is not that hard to do, and I think if someone if savvy enough to be fooling around coding the menu, then they should know that they can just plug in the img and set its style manually. Yes, I do agree that having it as a feature would be MUCH more straight forward for the novice user, and as I said, I think it could be a feature in the future. But I am not about to start making promises for Andy to keep... ;) .


Poster: dagon
Dated: Thursday August 21 2003 - 20:55:32 BST

YESSSS!! :D This is the right solution! Better:

Code: Select all

aI("text=<img src='/imgs/foo.gif' style='padding-left:5px;'>This is an item!;url=/index.asp;");

Thank you for your time Hergio!